|
|
|
Mechanic: EnchantItem
|
|
|
|
====================
|
|
|
|
|
|
|
|
Creates a custom boss bar on the casting mob(cannot be player).
|
|
|
|
|
|
|
|
A list of available vanilla [enchantments](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html) can be found on spigot javadocs
|
|
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|
|-----------|---------|---------------------------------------------------------------------------------------------------------------------|-----------------------------|
|
|
|
|
| enchantment | enchant, e | The name of the enchant, can be a MythicEnchant or Vanilla enchant. | none |
|
|
|
|
| level | l | The level of the enchant. | none |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
``` |
|
|
|
\ No newline at end of file |