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 dkm$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 Ldkm$b;a(Ljava/util/Random;II)I
      intermediary method_467 Lnet/minecraft/class_94$class_96;method_467(Ljava/util/Random;II)I
      named getValue Lnet/minecraft/loot/function/ApplyBonusLootFunction$Formula;getValue(Ljava/util/Random;II)I
    • toJson

      void toJson(JsonObject json, JsonSerializationContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkm$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 Ldkm$b;a()Lyb;
      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;