Class ItemWritableBook

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

public class ItemWritableBook extends Item
  • Constructor Details

    • ItemWritableBook

      public ItemWritableBook(int par1)
  • Method Details

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

      public boolean getShareTag()
      If this function returns true (or the item is damageable), the ItemStack's NBT tag will be sent to the client.
      Overrides:
      getShareTag in class Item
    • validBookTagPages

      public static boolean validBookTagPages(NBTTagCompound par0NBTTagCompound)