Class ItemFirework

java.lang.Object
net.minecraft.src.Item
net.minecraft.src.ItemFirework

public class ItemFirework extends Item
  • Constructor Details

    • ItemFirework

      public ItemFirework(int par1)
  • Method Details

    • onItemUse

      public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
      Callback for item usage. If the item does something special on right clicking, he will have one of those. Return True if something happen and false if it don't. This is for ITEMS, not BLOCKS
      Overrides:
      onItemUse in class Item
    • addInformation

      public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
      allows items to add custom lines of information to the mouseover description
      Overrides:
      addInformation in class Item