Class BookItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BookItem
All Implemented Interfaces:
FeatureElement, ItemLike, IItemExtension

public class BookItem extends Item
  • Constructor Details

  • Method Details

    • isEnchantable

      public boolean isEnchantable(ItemStack pStack)
      Checks isDamagable and if it cannot be stacked
      Overrides:
      isEnchantable in class Item
    • getEnchantmentValue

      public int getEnchantmentValue()
      Overrides:
      getEnchantmentValue in class Item