Class ItemLeash

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

public class ItemLeash extends Item
  • Constructor Details

    • ItemLeash

      public ItemLeash(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
    • func_135066_a

      public static boolean func_135066_a(EntityPlayer par0EntityPlayer, World par1World, int par2, int par3, int par4)