forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
EnchantSpell
MomoPewpew edited this page Jul 28, 2023
·
8 revisions
spell-class: ".instant.EnchantSpell"
This spell allows the caster to enchant an item with the provided enchantments. You can find a list of enchantment names here.
Option | Description | Default Value |
---|---|---|
enchantments |
Which enchantments to use for the spell, and what level they are. | null |
safe-enchants |
Whether to use safe enchants | true |
Holy_Sword:
spell-class: ".instant.EnchantSpell"
enchantments:
- unbreaking 1
- knockback 1
- fire_aspect 1
The formatting for the enchantment list is unlike most other spells, which may have you do something like:
enchantments:
- "DAMAGE_ALL 5"
It even differs from how enchantments are done on predefined items. Because of this, it may end up confusing even skilled users of the plugin, based on their assumptions of how it should work.
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2