Class ItemBook

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

public class ItemBook extends Item
  • Constructor Details

    • ItemBook

      public ItemBook(int par1)
  • Method Details

    • isItemTool

      public boolean isItemTool(ItemStack par1ItemStack)
      Checks isDamagable and if it cannot be stacked
      Overrides:
      isItemTool in class Item
    • getItemEnchantability

      public int getItemEnchantability()
      Return the enchantability factor of the item, most of the time is based on material.
      Overrides:
      getItemEnchantability in class Item