Package net.minecraft.advancement
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 ah$a
intermediary net/minecraft/class_167$class_168
named net/minecraft/advancement/AdvancementProgress$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize
(AdvancementProgress advancementProgress, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public JsonElement serialize(AdvancementProgress advancementProgress, Type type, JsonSerializationContext jsonSerializationContext) - Specified by:
serialize
in interfaceJsonSerializer<AdvancementProgress>
- Mappings:
Namespace Name Mixin selector official a
Lah$a;a(Lah;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 interfaceJsonDeserializer<AdvancementProgress>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Lah$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lah;
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;
-