@minecraft/server / LootingEnchantFunction
Class: LootingEnchantFunction ​
Defined in: @minecraft/server/index.d.ts:15749
Loot item function that drops extra items if the provided tool has the looting enchant.
Extends ​
Properties ​
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
count ​
readonlycount:NumberRange
Defined in: @minecraft/server/index.d.ts:15758
Remarks ​
The value range from which the function randomly chooses the number of extra items to drop. Contains minimum and maximum values.