Class ServerMetadata.Deserializer

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

public static class ServerMetadata.Deserializer extends Object implements JsonDeserializer<ServerMetadata>, JsonSerializer<ServerMetadata>
Mappings:
Namespace Name
official xe$b
intermediary net/minecraft/class_2926$class_2929
named net/minecraft/server/ServerMetadata$Deserializer
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

      public ServerMetadata deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<ServerMetadata>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Lxe$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lxe;
      intermediary method_12691 Lnet/minecraft/class_2926$class_2929;method_12691(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2926;
      named deserialize Lnet/minecraft/server/ServerMetadata$Deserializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/server/ServerMetadata;
    • serialize

      public JsonElement serialize(ServerMetadata serverMetadata, Type type, JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface JsonSerializer<ServerMetadata>
      Mappings:
      Namespace Name Mixin selector
      official a Lxe$b;a(Lxe;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_12692 Lnet/minecraft/class_2926$class_2929;method_12692(Lnet/minecraft/class_2926;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/server/ServerMetadata$Deserializer;serialize(Lnet/minecraft/server/ServerMetadata;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;