Loot item function that drops extra items if the provided tool has the looting enchant.
export class LootingEnchantFunction extends LootItemFunction { private constructor(); readonly count: minecraftcommon.NumberRange;} Copy
export class LootingEnchantFunction extends LootItemFunction { private constructor(); readonly count: minecraftcommon.NumberRange;}
Private
Readonly
The value range from which the function randomly chooses the number of extra items to drop. Contains minimum and maximum values.
This property can't be read in early-execution mode.
Loot item function that drops extra items if the provided tool has the looting enchant.
Source