Class ScoreLootNumberProvider.Serializer

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

public static class ScoreLootNumberProvider.Serializer
extends Object
implements JsonSerializer<ScoreLootNumberProvider>
Mappings:
Namespace Name
official dhx$a
intermediary net/minecraft/class_5660$class_5661
named net/minecraft/loot/provider/number/ScoreLootNumberProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • fromJson

      public ScoreLootNumberProvider fromJson​(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<ScoreLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Ldhx$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldhx;
      intermediary method_32461 Lnet/minecraft/class_5660$class_5661;method_32461(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5660;
      named fromJson Lnet/minecraft/loot/provider/number/ScoreLootNumberProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/number/ScoreLootNumberProvider;
    • toJson

      public void toJson​(JsonObject jsonObject, ScoreLootNumberProvider scoreLootNumberProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ScoreLootNumberProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Ldhx$a;a(Lcom/google/gson/JsonObject;Ldhx;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_32460 Lnet/minecraft/class_5660$class_5661;method_32460(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5660;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/provider/number/ScoreLootNumberProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/number/ScoreLootNumberProvider;Lcom/google/gson/JsonSerializationContext;)V