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