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

final class ApplyBonusCount$BinomialWithBonusCount

implements ApplyBonusCount$Formula

czu$a
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$BinomialWithBonusCount
net.minecraft.class_94$class_95
net.minecraft.loot.function.ApplyBonusLootFunction$BinomialWithBonusCount
net.minecraft.loot.functions.ApplyBonus$BinomialWithBonusCountFormula
net.minecraft.server.v1_16_R2.LootItemFunctionApplyBonus$a

Field summary

Modifier and TypeField
public static final ResourceLocation
a
TYPE
field_1013
ID
field_216211_a
private final int
b
extraRounds
field_1014
extra
field_216212_b
private final float
c
probability
field_1012
probability
field_216213_c

Constructor summary

ModifierConstructor
public (int extra, float probability)

Method summary

Modifier and TypeMethod
public int
a(Random arg0, int arg1, int arg2)
calculateNewCount(Random arg0, int arg1, int arg2)
method_467(Random arg0, int arg1, int arg2)
getValue(Random arg0, int arg1, int arg2)
func_216204_a(Random arg0, int arg1, 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)
func_216202_a(com.google.gson.JsonObject arg0, 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)
func_216210_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public ResourceLocation
a()
getType()
method_466()
getId()
func_216203_a()