Class ServerMetadata.Version.Serializer

java.lang.Object
net.minecraft.server.ServerMetadata.Version.Serializer
All Implemented Interfaces:
JsonDeserializer<ServerMetadata.Version>, JsonSerializer<ServerMetadata.Version>
Enclosing class:
ServerMetadata.Version

public static class ServerMetadata.Version.Serializer extends Object implements JsonDeserializer<ServerMetadata.Version>, JsonSerializer<ServerMetadata.Version>
Mappings:
Namespace Name
official wa$c$a
intermediary net/minecraft/class_2926$class_2930$class_2931
named net/minecraft/server/ServerMetadata$Version$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • deserialize

      public ServerMetadata.Version deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ServerMetadata.Version>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lwa$c$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lwa$c;
      intermediary method_12695 Lnet/minecraft/class_2926$class_2930$class_2931;method_12695(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2926$class_2930;
      named deserialize Lnet/minecraft/server/ServerMetadata$Version$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/server/ServerMetadata$Version;
    • serialize

      public JsonElement serialize(ServerMetadata.Version version, Type type, JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface JsonSerializer<ServerMetadata.Version>
      Mappings:
      Namespace Name Mixin selector
      official a Lwa$c$a;a(Lwa$c;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_12696 Lnet/minecraft/class_2926$class_2930$class_2931;method_12696(Lnet/minecraft/class_2926$class_2930;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/server/ServerMetadata$Version$Serializer;serialize(Lnet/minecraft/server/ServerMetadata$Version;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;