メインコンテンツまでスキップ

give_enchantment_book

Give a book with a custom enchantment — misc entry.

Entry Information

PropertyValue
Entry IDgive_enchantment_book
TypeMisc
ColorPurple
Iconmdi:book

Fields

FieldTypeDescription
enchantmentRef<EnchantmentDefinition>Standard enchantment to apply on the book
customEnchantmentRef<CustomEnchantmentDefinition>Custom enchantment to apply on the book (takes priority if both are set)
levelIntLevel of the enchantment
amountIntAmount of books to give
bookNameStringDisplay name of the book. {enchantment} and {level} placeholders are supported
enchantmentLoreList<String>Lore line showing the enchantment. Supports color codes and {enchantment_lore}/{level} placeholders
bookLoreList<String>Additional lore for the book. Supports color codes and {enchantment}/{level} placeholders

Usage Example

- entry: give_enchantment_book
name: "Give a book with a custom enchantment"
enchantment: ""
customEnchantment: ""
level: 0
amount: 0
bookName: ""
enchantmentLore: []
bookLore: []