Package net.minecraft.advancements
Class AdvancementProgress.Serializer
- java.lang.Object
-
- net.minecraft.advancements.AdvancementProgress.Serializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<AdvancementProgress>
,com.google.gson.JsonSerializer<AdvancementProgress>
- Enclosing class:
- AdvancementProgress
public static class AdvancementProgress.Serializer extends java.lang.Object implements com.google.gson.JsonDeserializer<AdvancementProgress>, com.google.gson.JsonSerializer<AdvancementProgress>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvancementProgress
deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
com.google.gson.JsonElement
serialize(AdvancementProgress p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(AdvancementProgress p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<AdvancementProgress>
-
deserialize
public AdvancementProgress deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<AdvancementProgress>
- Throws:
com.google.gson.JsonParseException
-
-