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

final class ApplyBonusCount$BinomialWithBonusCount

implements ApplyBonusCount$Formula

dzq$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
public static final ResourceLocation
a
TYPE
field_1013
ID
f_79947_
private final int
b
extraRounds
field_1014
extra
f_79948_
private final float
c
probability
field_1012
probability
f_79949_

Constructor summary

ModifierConstructor
public (int extra, float probability)

Method summary

Modifier and TypeMethod
public int
a(apo 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 void
a(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
serializeParams(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
method_465(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
toJson(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
m_6417_(com.google.gson.JsonObject p_79960_, com.google.gson.JsonSerializationContext arg1)
public static ApplyBonusCount$Formula
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_464(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
m_79955_(com.google.gson.JsonObject p_79956_, com.google.gson.JsonDeserializationContext p_79957_)
public ResourceLocation
a()
getType()
method_466()
getId()
m_5713_()