Interface ApplyBonus.IFormula

All Known Implementing Classes:
ApplyBonus.BinomialWithBonusCountFormula, ApplyBonus.OreDropsFormula, ApplyBonus.UniformBonusCountFormula
Enclosing class:
ApplyBonus

static interface ApplyBonus.IFormula
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    calculateNewCount(Random p_216204_1_, int p_216204_2_, int p_216204_3_)
     
     
    void
    serializeParams(com.google.gson.JsonObject p_216202_1_, com.google.gson.JsonSerializationContext p_216202_2_)
     
  • Method Details

    • calculateNewCount

      int calculateNewCount(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()