Enchantable
Makes an item enchantable.
Parameters
The enchantment value of the item. A higher enchantment value brings more secondary and higher-level enchantments in the enchanting table. Vanilla enchantment values: wood: 15, stone: 5, iron: 14, diamond: 10, gold: 22, netherite: 15
The enchantments that appear in the enchanting table.
The enchantments that can be applied to the item, i.e. via an anvil or commands.
Properties
The base data components that every item with this ItemBehavior has.
The NamespacedCompound that every new ItemStack of an item with this ItemBehavior has by default.
The data component patch that every new ItemStack of an item with this ItemBehavior has by default.
The enchantment value of the item. A higher enchantment value brings more secondary and higher-level enchantments in the enchanting table. Vanilla enchantment values: wood: 15, stone: 5, iron: 14, diamond: 10, gold: 22, netherite: 15
The enchantments that appear in the enchanting table.
The enchantments that can be applied to the item, i.e. via an anvil or commands.
The vanilla material properties that an item with this ItemBehavior requires.
Functions
Creates a string representation of this ItemBehavior and its data in itemStack.