Class BinomialLootNumberProvider.Serializer

java.lang.Object
net.minecraft.loot.provider.number.BinomialLootNumberProvider.Serializer
All Implemented Interfaces:
JsonSerializer<BinomialLootNumberProvider>
Enclosing class:
BinomialLootNumberProvider

public static class BinomialLootNumberProvider.Serializer extends Object implements JsonSerializer<BinomialLootNumberProvider>
Mappings:
Namespace Name
official ecd$a
intermediary net/minecraft/class_40$class_41
named net/minecraft/loot/provider/number/BinomialLootNumberProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • fromJson

      public BinomialLootNumberProvider fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<BinomialLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Lecd$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecd;
      intermediary method_275 Lnet/minecraft/class_40$class_41;method_275(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_40;
      named fromJson Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;
    • toJson

      public void toJson(JsonObject jsonObject, BinomialLootNumberProvider binomialLootNumberProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<BinomialLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Lecd$a;a(Lcom/google/gson/JsonObject;Lecd;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_276 Lnet/minecraft/class_40$class_41;method_276(Lcom/google/gson/JsonObject;Lnet/minecraft/class_40;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;Lcom/google/gson/JsonSerializationContext;)V