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
| Field | Type | Default | Description |
|---|---|---|---|
id | String | "" | Unique identifier for this entry. |
name | String | "" | Name for this entry. |
criteria | List<Criteria> | [] | List of criteria that must be met for this action to execute. |
modifiers | List<Modifier> | [] | List of modifiers to apply to the action execution. |
triggers | List<Ref<TriggerableEntry>> | [] | List of triggers to execute upon completion of this action. |
enchantment | Ref<EnchantmentDefinition> | Empty | Enchantment to apply on the book. |
level | Int | 1 | Level of the enchantment. |
amount | Int | 1 | Amount of books to give. |
bookName | String | ” “ | Display name of the book. {enchantment} and {level} placeholders are supported. |
enchantmentLore | List<String> | [” “] | Lore line showing the enchantment. Supports color codes and {enchantment_lore}/{level} placeholders. |
bookLore | List<String> | [] | Additional lore for the book. Supports color codes and {enchantment}/{level} placeholders. |