mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
YESS MANSTEEL
This commit is contained in:
1 parent
e54f943be4
commit
426131552f
2 files changed
+6
-4
No files matched your search
@@ -16,8 +16,9 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Item.ToolMaterial;
|
||||
import net.minecraft.item.ItemArmor.ArmorMaterial;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
import net.minecraft.item.crafting.IRecipe;
|
||||
import net.minecraftforge.common.util.EnumHelper;
|
||||
@@ -47,8 +48,9 @@ public final class BotaniaAPI {
|
||||
|
||||
public static Map<String, Integer> oreWeights = new HashMap<String, Integer>();
|
||||
|
||||
public static ArmorMaterial mansteelArmorMaterial = EnumHelper.addArmorMaterial("MANASTEEL", 16, new int[]{ 2, 6, 5, 2 }, 18);
|
||||
|
||||
public static ArmorMaterial manasteelArmorMaterial = EnumHelper.addArmorMaterial("MANASTEEL", 16, new int[]{ 2, 6, 5, 2 }, 18);
|
||||
// public static ToolMaterial a
|
||||
|
||||
static {
|
||||
registerSubTile("", DummySubTile.class);
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public class ItemManasteelArmor extends ItemArmor implements ISpecialArmor {
|
||||
private static final int MANA_PER_DAMAGE = 70;
|
||||
|
||||
public ItemManasteelArmor(int type, String name) {
|
||||
super(BotaniaAPI.mansteelArmorMaterial, 0, type);
|
||||
super(BotaniaAPI.manasteelArmorMaterial, 0, type);
|
||||
setCreativeTab(BotaniaCreativeTab.INSTANCE);
|
||||
setUnlocalizedName(name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user