|
|
Mechanic: EnchantItem
|
|
|
====================
|
|
|
|
|
|
Creates a custom boss bar on the casting mob(cannot be player).
|
|
|
Applies an enchantment to an item.
|
|
|
|
|
|
A list of available vanilla [enchantments](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html) can be found on spigot javadocs
|
|
|
|
... | ... | @@ -19,7 +19,7 @@ Examples |
|
|
--------
|
|
|
This example if put on an item (Requires Crucible) would enchant the item with Sharpness 5 when you right click the item and Venomous 3 when you left click the item.
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- enchantitem{enchant=DAMAGE_ALL;level=5} @self ~onUse
|
|
|
- enchantitem{enchant=VENOUMOUS;level=3} @self ~onSwing
|
|
|
Skills:
|
|
|
- enchantitem{enchant=DAMAGE_ALL;level=5} @self ~onUse
|
|
|
- enchantitem{enchant=VENOUMOUS;level=3} @self ~onSwing
|
|
|
``` |
|
|
\ No newline at end of file |