Package net.minecraft.server
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 xe$a$a
intermediary net/minecraft/class_2926$class_2927$class_2928
named net/minecraft/server/ServerMetadata$Players$Deserializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize
(ServerMetadata.Players players, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public ServerMetadata.Players deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserialize
in interfaceJsonDeserializer<ServerMetadata.Players>
- Throws:
JsonParseException
- Mappings:
Namespace Name Mixin selector official a
Lxe$a$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lxe$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 interfaceJsonSerializer<ServerMetadata.Players>
- Mappings:
Namespace Name Mixin selector official a
Lxe$a$a;a(Lxe$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;
-