Name | <ItemTag.enchantment_map> |
Returns | MapTag |
Mechanism | ItemTag.enchantments |
Description | Returns a map of enchantments on the item.
Map keys are enchantment names (like "sharpness"), and values are the level (as a number). |
Generated Example |
|
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L142 |