Class TuningForkItem

java.lang.Object
net.minecraft.src.Item
btw.item.items.TuningForkItem

public class TuningForkItem extends Item
  • Field Details

    • pitchNames

      public static final String[] pitchNames
  • Constructor Details

    • TuningForkItem

      public TuningForkItem(int iItemID)
  • Method Details

    • onItemUse

      public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int i, int j, int k, int iFacing, float fClickX, float fClickY, float fClickZ)
      Description copied from class: Item
      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
    • addInformation

      @Environment(CLIENT) public void addInformation(ItemStack itemStack, EntityPlayer player, List infoList, boolean bAdvamcedToolTips)
      Description copied from class: Item
      allows items to add custom lines of information to the mouseover description
      Overrides:
      addInformation in class Item