Class ItemHoe

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

public class ItemHoe extends Item
  • Field Details

  • Constructor Details

  • 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
    • isFull3D

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

      public String getMaterialName()
      Returns the name of the material this tool is made from as it is declared in EnumToolMaterial (meaning diamond would return "EMERALD")