When present on an item, this item can have enchantments applied to it.

Hierarchy (View Summary)

Constructors

Properties

This property can throw when used.

typeId: string

Identifier of the component.

componentId: "minecraft:enchantable" = 'minecraft:enchantable'

Methods