Loot item function that applies a random enchant to the dropped item using the same algorithm used while enchanting equipment vanilla mobs spawn with.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

chance: number

Value that determines the likelihood of equipment being enchanted.

conditions: LootItemCondition[]