Class ServerMetadata.Players.Deserializer

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

public static class ServerMetadata.Players.Deserializer extends Object implements JsonDeserializer<ServerMetadata.Players>, JsonSerializer<ServerMetadata.Players>
Mappings:
Namespace Name
official zm$a$a
intermediary net/minecraft/class_2926$class_2927$class_2928
named net/minecraft/server/ServerMetadata$Players$Deserializer
  • Constructor Details

    • Deserializer

      public Deserializer()
  • Method Details

    • deserialize

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

      public JsonElement serialize(ServerMetadata.Players players, Type type, JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface JsonSerializer<ServerMetadata.Players>
      Mappings:
      Namespace Name Mixin selector
      official a Lzm$a$a;a(Lzm$a;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_12690 Lnet/minecraft/class_2926$class_2927$class_2928;method_12690(Lnet/minecraft/class_2926$class_2927;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/server/ServerMetadata$Players$Deserializer;serialize(Lnet/minecraft/server/ServerMetadata$Players;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;