net.minecraft.world.level.storage.loot.functions

record ApplyBonusCount$UniformBonusCount

implements ApplyBonusCount$Formula

exm$e
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$UniformBonusCount
net.minecraft.class_94$class_100
net.minecraft.loot.function.ApplyBonusLootFunction$UniformBonusCount
net.minecraft.world.level.storage.loot.functions.LootItemFunctionApplyBonus$e

Field summary

Modifier and TypeField
private final int
c
bonusMultiplier
comp_1852
bonusMultiplier
public static final com.mojang.serialization.Codec<ApplyBonusCount$UniformBonusCount>
a
CODEC
field_45813
CODEC
public static final ApplyBonusCount$FormulaType
b
TYPE
field_45814
TYPE

Constructor summary

ModifierConstructor
(int bonusMultiplier)

Method summary

Modifier and TypeMethod
public int
a(bam arg0, int arg1, int arg2)
calculateNewCount(RandomSource arg0, int arg1, int arg2)
method_467(class_5819 arg0, int arg1, int arg2)
getValue(Random arg0, int arg1, int arg2)
public ApplyBonusCount$FormulaType
a()
getType()
method_466()
getType()
public int
b()
bonusMultiplier()
comp_1852()
bonusMultiplier()