Interface ApplyBonusLootFunction.Formula

All Known Implementing Classes:
ApplyBonusLootFunction.BinomialWithBonusCount, ApplyBonusLootFunction.OreDrops, ApplyBonusLootFunction.UniformBonusCount
Enclosing class:
ApplyBonusLootFunction

private static interface ApplyBonusLootFunction.Formula
Mappings:
Namespace Name
official dsf$b
intermediary net/minecraft/class_94$class_96
named net/minecraft/loot/function/ApplyBonusLootFunction$Formula
  • Method Details

    • getValue

      int getValue(Random random, int initialCount, int enchantmentLevel)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsf$b;a(Lalu;II)I
      intermediary method_467 Lnet/minecraft/class_94$class_96;method_467(Lnet/minecraft/class_5819;II)I
      named getValue Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getValue(Lnet/minecraft/util/math/random/Random;II)I
    • toJson

      void toJson(JsonObject json, JsonSerializationContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Ldsf$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_465 Lnet/minecraft/class_94$class_96;method_465(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;toJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V
    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldsf$b;a()Laaj;
      intermediary method_466 Lnet/minecraft/class_94$class_96;method_466()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getId()Lnet/minecraft/util/Identifier;