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

record ApplyBonusCount$BinomialWithBonusCount

implements ApplyBonusCount$Formula

exm$a
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$BinomialWithBonusCount
net.minecraft.class_94$class_95
net.minecraft.loot.function.ApplyBonusLootFunction$BinomialWithBonusCount
net.minecraft.world.level.storage.loot.functions.LootItemFunctionApplyBonus$a

Field summary

Modifier and TypeField
private final int
b
extraRounds
comp_1848
extra
private final float
c
probability
comp_1849
probability
private static final com.mojang.serialization.Codec<ApplyBonusCount$BinomialWithBonusCount>
d
CODEC
field_45811
CODEC
public static final ApplyBonusCount$FormulaType
a
TYPE
field_1013
TYPE

Constructor summary

ModifierConstructor
(int extra, float probability)

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()
extraRounds()
comp_1848()
extra()
public float
c()
probability()
comp_1849()
probability()