Beta
Private
constructorReadonly
conditionsReadonly
levelsThe value range from which the function randomly chooses the level of enchantment to apply. Contains minimum and maximum values.
This property can't be read in early-execution mode.
Readonly
treasureValue that determines whether or not treasure enchants should be included in the random enchant selection.
This property can't be read in early-execution mode.
Loot item function that applies a random enchant to the dropped item.