Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt

Use this file to discover all available pages before exploring further.

Give Enchantment Book

Type: give_enchantment_book Give a book with a custom enchantment to the player.

Configuration

FieldTypeDefaultDescription
idString""Unique identifier for this entry.
nameString""Name for this entry.
criteriaList<Criteria>[]List of criteria that must be met for this action to execute.
modifiersList<Modifier>[]List of modifiers to apply to the action execution.
triggersList<Ref<TriggerableEntry>>[]List of triggers to execute upon completion of this action.
enchantmentRef<EnchantmentDefinition>EmptyEnchantment to apply on the book.
levelInt1Level of the enchantment.
amountInt1Amount of books to give.
bookNameString Display 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.