@minecraft/server / RandomChanceWithLootingCondition
Class: RandomChanceWithLootingCondition ​
Defined in: @minecraft/server/index.d.ts:18898
Loot item condition that applies a given value to the chances that loot will drop, modified by the level of looting enchantment on the tool used.
Extends ​
Properties ​
chance ​
readonlychance:number
Defined in: @minecraft/server/index.d.ts:18906
Remarks ​
The base chance, from 0.0-1.0, that loot will drop. Will be modified by the 'lootingMultiplier' value.
lootingMultiplier ​
readonlylootingMultiplier:number
Defined in: @minecraft/server/index.d.ts:18912
Remarks ​
The increase in drop chance per looting enchant level.