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 Object implements com.google.gson.JsonDeserializer<AdvancementProgress>, com.google.gson.JsonSerializer<AdvancementProgress>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(AdvancementProgress p_8226_, Type p_8227_, com.google.gson.JsonSerializationContext p_8228_)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<AdvancementProgress>
    • deserialize

      public AdvancementProgress deserialize(com.google.gson.JsonElement p_8230_, Type p_8231_, com.google.gson.JsonDeserializationContext p_8232_) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<AdvancementProgress>
      Throws:
      com.google.gson.JsonParseException