@minecraft/server / EnchantRandomEquipmentFunction
Class: EnchantRandomEquipmentFunction ​
Defined in: @minecraft/server/index.d.ts:8382
Loot item function that applies a random enchant to the dropped item using the same algorithm used while enchanting equipment vanilla mobs spawn with.
Extends ​
Properties ​
chance ​
readonlychance:number
Defined in: @minecraft/server/index.d.ts:8390
Remarks ​
Value that determines the likelihood of equipment being enchanted.
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793