Class ItemFishingRod

java.lang.Object
net.minecraft.src.Item
net.minecraft.src.ItemFishingRod
Direct Known Subclasses:
FishingRodItemBaited

public class ItemFishingRod extends Item
  • Constructor Details

    • ItemFishingRod

      public ItemFishingRod(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 stack, World world, EntityPlayer player)
      Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
      Overrides:
      onItemRightClick in class Item
    • getCastIcon

      public Icon getCastIcon()
    • getAnimationIcon

      public Icon getAnimationIcon(EntityPlayer player)
      Description copied from class: Item
      Used to change the item icon the player is holding. Used in bow pulling and casting fishing rod
      Overrides:
      getAnimationIcon in class Item
    • registerIcons

      public void registerIcons(IconRegister par1IconRegister)
      Overrides:
      registerIcons in class Item
    • func_94597_g

      public Icon func_94597_g()