Class ConstantLootNumberProvider.Serializer

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

public static class ConstantLootNumberProvider.Serializer extends Object implements JsonSerializer<ConstantLootNumberProvider>
Mappings:
Namespace Name
official dut$b
intermediary net/minecraft/class_44$class_5656
named net/minecraft/loot/provider/number/ConstantLootNumberProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, ConstantLootNumberProvider constantLootNumberProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ConstantLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Ldut$b;a(Lcom/google/gson/JsonObject;Ldut;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_32452 Lnet/minecraft/class_44$class_5656;method_32452(Lcom/google/gson/JsonObject;Lnet/minecraft/class_44;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public ConstantLootNumberProvider fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<ConstantLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Ldut$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldut;
      intermediary method_32453 Lnet/minecraft/class_44$class_5656;method_32453(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_44;
      named fromJson Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;