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

record ApplyBonusCount$BinomialWithBonusCount

implements ApplyBonusCount$Formula

eso$a
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$BinomialWithBonusCount
net.minecraft.class_94$class_95
net.minecraft.loot.function.ApplyBonusLootFunction$BinomialWithBonusCount
net.minecraft.src.C_2874_$C_2876_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionApplyBonus$a

Field summary

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

Constructor summary

ModifierConstructor
(int extra, float probability)

Method summary

Modifier and TypeMethod
public int
a(ayw 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)
m_213779_(C_212974_ p_230966_, int p_230967_, int arg2)
public ApplyBonusCount$FormulaType
a()
getType()
method_466()
getType()
m_5713_()
public int
b()
extraRounds()
comp_1848()
extra()
f_79948_()
public float
c()
probability()
comp_1849()
probability()
f_79949_()