Beta
When present on an item, this item has applied enchantment effects. Note that this component only applies to data-driven items.
Protected
Returns a collection of the enchantments applied to this item stack.
This property can't be edited in read-only mode.
Readonly
Static
Identifier of this component.
Removes all enchantments applied to this item stack.
This function can't be called in read-only mode.
This function can throw errors.
When present on an item, this item has applied enchantment effects. Note that this component only applies to data-driven items.