static final class ApplyBonus.BinomialWithBonusCountFormula extends java.lang.Object implements ApplyBonus.IFormula
Modifier and Type | Field and Description |
---|---|
private int |
extra |
static ResourceLocation |
field_216211_a |
private float |
probability |
Constructor and Description |
---|
BinomialWithBonusCountFormula(int extra,
float probability) |
Modifier and Type | Method and Description |
---|---|
void |
func_216202_a(com.google.gson.JsonObject p_216202_1_,
com.google.gson.JsonSerializationContext p_216202_2_) |
ResourceLocation |
func_216203_a() |
int |
func_216204_a(java.util.Random p_216204_1_,
int p_216204_2_,
int p_216204_3_) |
static ApplyBonus.IFormula |
func_216210_a(com.google.gson.JsonObject p_216210_0_,
com.google.gson.JsonDeserializationContext p_216210_1_) |
public static final ResourceLocation field_216211_a
private final int extra
private final float probability
public BinomialWithBonusCountFormula(int extra, float probability)
public int func_216204_a(java.util.Random p_216204_1_, int p_216204_2_, int p_216204_3_)
func_216204_a
in interface ApplyBonus.IFormula
public void func_216202_a(com.google.gson.JsonObject p_216202_1_, com.google.gson.JsonSerializationContext p_216202_2_)
func_216202_a
in interface ApplyBonus.IFormula
public static ApplyBonus.IFormula func_216210_a(com.google.gson.JsonObject p_216210_0_, com.google.gson.JsonDeserializationContext p_216210_1_)
public ResourceLocation func_216203_a()
func_216203_a
in interface ApplyBonus.IFormula