Class ItemCarrotOnAStick

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

public class ItemCarrotOnAStick extends Item
  • Constructor Details

    • ItemCarrotOnAStick

      public ItemCarrotOnAStick(int par1)
  • Method Details

    • isFull3D

      public boolean isFull3D()
      Returns True is the item is renderer in full 3D when hold.
      Overrides:
      isFull3D in class Item
    • shouldRotateAroundWhenRendering

      public boolean shouldRotateAroundWhenRendering()
      Returns true if this item should be rotated by 180 degrees around the Y axis when being held in an entities hands.
      Overrides:
      shouldRotateAroundWhenRendering in class Item
    • onItemRightClick

      public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
      Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
      Overrides:
      onItemRightClick in class Item