Class EnchantedBookItem

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

public class EnchantedBookItem extends Item
  • Constructor Details

  • Method Details

    • isEnchantable

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

      public static ItemStack createForEnchantment(EnchantmentInstance instance)
      Returns the ItemStack of an enchanted version of this item.