Class AdvancementProgress.Serializer

java.lang.Object
net.minecraft.advancement.AdvancementProgress.Serializer
All Implemented Interfaces:
JsonDeserializer<AdvancementProgress>, JsonSerializer<AdvancementProgress>
Enclosing class:
AdvancementProgress

public static class AdvancementProgress.Serializer
extends Object
implements JsonDeserializer<AdvancementProgress>, JsonSerializer<AdvancementProgress>
Mappings:
Namespace Name
official aa$a
intermediary net/minecraft/class_167$class_168
named net/minecraft/advancement/AdvancementProgress$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public JsonElement serialize​(AdvancementProgress advancementProgress, Type type, JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface JsonSerializer<AdvancementProgress>
      Mappings:
      Namespace Name Mixin selector
      official a Laa$a;a(Laa;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_744 Lnet/minecraft/class_167$class_168;method_744(Lnet/minecraft/class_167;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/advancement/AdvancementProgress$Serializer;serialize(Lnet/minecraft/advancement/AdvancementProgress;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
    • deserialize

      public AdvancementProgress deserialize​(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<AdvancementProgress>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Laa$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Laa;
      intermediary method_745 Lnet/minecraft/class_167$class_168;method_745(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_167;
      named deserialize Lnet/minecraft/advancement/AdvancementProgress$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/advancement/AdvancementProgress;