Class ApplyBonusCount

java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount
All Implemented Interfaces:
BiFunction<ItemStack,LootContext,ItemStack>, LootItemFunction, LootContextUser

public class ApplyBonusCount extends LootItemConditionalFunction
LootItemFunction that modifies the stack's count based on an enchantment level on the tool using various formulas.