Class ItemHangingEntity

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

public class ItemHangingEntity extends Item
  • Constructor Details

    • ItemHangingEntity

      public ItemHangingEntity(int par1, Class par2Class)
  • Method Details

    • onItemUse

      public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int facing, float clickX, float clickY, float clickZ)
      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