Beta Protected constructorReturns a collection of the enchantments applied to this item stack.
This property can't be edited in read-only mode.
Readonly typeIdentifier of the component.
Static Readonly componentIdentifier of this component.
When present on an item, this item has applied enchantment effects. Note that this component only applies to data-driven items.