A GREAT event Method is This (FOR ADVANCE MODDERS or INTERMEDIATE) Using This you can check if a player is using your tools or items to break blocks and set Said blocks to return different items All together but THIS DOES NOT affect other tools XD XD (USED In your eventHandler)
@SubscribeEvent
public void BreakEvent(BreakEvent event){}
This can add special armor effects to YOUR armor Sets! JUST BE CAREFUL with them(Maybe Do Some Resaerch)
(Used In Armor Class)
@Override
@SideOnly(Side.CLIENT)
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {}
A Common question. How to add custom Materials For Custom Tools/Armor. Well Here... Not realy a method but useful!
(Just a declaration , Keep It somewhere safe)
public static final <Tool/Armor>Material NAME= new EnumHelper().add<Tool/Armor>Material( STRING"NAME" , INTMINING LV , INTDURABILITY , FLOATSPEED, FLOATDAMAGE, INTENCHANTIBILTY);
HERE is How you Add Extra Info to Item/Armor/Tool/etc
(In item/tool/armor/etc class)
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List strings, boolean bool) {
string.add("BLAH BLAH") //EACH ONE strings.add() is ONE LINE \n wont go to next LINE
strings.add("BLAH BLOO") // A NEW LINE TO THE INFO
@SubscribeEvent
public void BreakEvent(BreakEvent event){}
----------------------------------------------------------------------------------------------------------------------------------
This can add special armor effects to YOUR armor Sets! JUST BE CAREFUL with them(Maybe Do Some Resaerch)
(Used In Armor Class)
@Override
@SideOnly(Side.CLIENT)
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {}
----------------------------------------------------------------------------------------------------------------------------------
A Common question. How to add custom Materials For Custom Tools/Armor. Well Here... Not realy a method but useful!
(Just a declaration , Keep It somewhere safe)
public static final <Tool/Armor>Material NAME= new EnumHelper().add<Tool/Armor>Material( STRING "NAME" , INT MINING LV , INT DURABILITY , FLOAT SPEED, FLOAT DAMAGE, INT ENCHANTIBILTY);
-------------------------------------------------------------------------------------------------------------------------------------------------------
HERE is How you Add Extra Info to Item/Armor/Tool/etc
(In item/tool/armor/etc class)
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List strings, boolean bool) {
string.add("BLAH BLAH") //EACH ONE strings.add() is ONE LINE \n wont go to next LINE
strings.add("BLAH BLOO") // A NEW LINE TO THE INFO
============================================================================================
HOPE It Was Useful!!! IT was To ME!!!! #LoveMinecraftForge
P.S. Got More Useful Stuff? Tell Me!!! Questions TELL ME! Lol
}
-Ironically