|
Mechanic: EnchantItem
|
|
## Description
|
|
====================
|
|
|
|
|
|
|
|
Applies an enchantment to an item.
|
|
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
|
|
A list of available vanilla [enchantments](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html) can be found on spigot javadocs
|
|
|
|
|
|
Attributes
|
|
## Attributes
|
|
----------
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|----------------|-------------|---------------------------------------------------------|---------------|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| enchantment | enchant, e | The name of the enchant, can be a MythicEnchant or Vanilla enchant. | none |
|
|
|-----------|---------|---------------------------------------------------------------------------------------------------------------------|-----------------------------|
|
|
|
|
| enchantment | enchant, e | The name of the enchant, can be a MythicEnchant or Vanilla enchant. | none |
|
|
|
|
| level | l | The level of the 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.
|
|
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
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
... | | ... | |