И вновь я где-то накосячил.
Вот ошибка
--------
Регистрировал так:
public static Item WHITEEAGLE = new ItemSwordWhiteEagle("white_eagle");
public class ItemSwordWhiteEagle extends ItemSword {
public ItemSwordWhiteEagle(String white_eagle,ToolMaterial material)
{
super(material);
this.setRegistryName(white_eagle );
this.setUnlocalizedName(white_eagle);
this.setCreativeTab(Dracula.CTAB);
}
public static Item.ToolMaterial toolMaterial = EnumHelper.addToolMaterial("dracula:tool", 2, 1561, 50.0F, 6.0F, 18);
}
public ItemSwordWhiteEagle(String white_eagle,ToolMaterial material)
{
super(material);
this.setRegistryName(white_eagle );
this.setUnlocalizedName(white_eagle);
this.setCreativeTab(Dracula.CTAB);
}
public static Item.ToolMaterial toolMaterial = EnumHelper.addToolMaterial("dracula:tool", 2, 1561, 50.0F, 6.0F, 18);
}
Вот ошибка
java: constructor ItemSwordWhiteEagle in class com.pixi.dracula.item.ItemSwordWhiteEagle cannot be applied to given types;
required: java.lang.String,net.minecraft.item.Item.ToolMaterial
found: java.lang.String
reason: actual and formal argument lists differ in length
required: java.lang.String,net.minecraft.item.Item.ToolMaterial
found: java.lang.String
reason: actual and formal argument lists differ in length
Регистрировал так:
public static Item WHITEEAGLE = new ItemSwordWhiteEagle("white_eagle");