EnchantSpell - TheComputerGeek2/MagicSpells GitHub Wiki
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 |
This spell has no debugging on whether the enchantment is correct or not, so test it before using it in "production".
Holy_Sword:
spell-class: ".instant.EnchantSpell"
enchantments:
- unbreaking 1
- knockback 1
- fire_aspect 1