forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
EnchantSpell
JasperLorelai edited this page Jun 28, 2026
·
12 revisions
spell-class: ".instant.EnchantSpell"This spell allows the caster to enchant an item with the provided enchantments.
| Option | Description | Type | Default |
|---|---|---|---|
enchantments |
List of enchantment lines in the format: (enchantment) (level). |
String List | |
safe-enchants |
Whether to respect max levels and item types for an enchantment. Since 4.0 Beta 13 this option supports dynamic values through string expressions. | Boolean | true |
require-supported-item |
Since 4.0 Beta 19. When disabled, this allows items which are normally not supported by an enchantment to be enchanted on the item. This will always pass for book. |
Boolean | true |
Holy_Sword:
spell-class: ".instant.EnchantSpell"
enchantments:
- unbreaking 1
- knockback 1
- fire_aspect 1