Package net.minecraft.loot.functions
Interface ApplyBonus.IFormula
-
- All Known Implementing Classes:
ApplyBonus.BinomialWithBonusCountFormula
,ApplyBonus.OreDropsFormula
,ApplyBonus.UniformBonusCountFormula
- Enclosing class:
- ApplyBonus
static interface ApplyBonus.IFormula
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
calculateNewCount(java.util.Random p_216204_1_, int p_216204_2_, int p_216204_3_)
ResourceLocation
getType()
void
serializeParams(com.google.gson.JsonObject p_216202_1_, com.google.gson.JsonSerializationContext p_216202_2_)
-
-
-
Method Detail
-
calculateNewCount
int calculateNewCount(java.util.Random p_216204_1_, int p_216204_2_, int p_216204_3_)
-
serializeParams
void serializeParams(com.google.gson.JsonObject p_216202_1_, com.google.gson.JsonSerializationContext p_216202_2_)
-
getType
ResourceLocation getType()
-
-