|
|
Mechanic: EnchantItem
|
|
|
====================
|
|
|
|
|
|
## Description
|
|
|
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
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|---------------------------------------------------------------------------------------------------------------------|-----------------------------|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|----------------|-------------|---------------------------------------------------------|---------------|
|
|
|
| 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
|
|
|
--------
|
|
|
## 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:
|
... | ... | |