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