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 aay$c$aintermediary net/minecraft/class_2926$class_2930$class_2931named net/minecraft/server/ServerMetadata$Version$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_12695(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) method_12696(ServerMetadata.Version version, Type type, JsonSerializationContext jsonSerializationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.gson.JsonDeserializer
deserializeMethods inherited from interface com.google.gson.JsonSerializer
serialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
method_12695
public ServerMetadata.Version method_12695(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLaay$c$a;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Laay$c;intermediary method_12695Lnet/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 method_12695Lnet/minecraft/server/ServerMetadata$Version$Serializer;method_12695(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/server/ServerMetadata$Version;
-
method_12696
public JsonElement method_12696(ServerMetadata.Version version, Type type, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official aLaay$c$a;a(Laay$c;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_12696Lnet/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 method_12696Lnet/minecraft/server/ServerMetadata$Version$Serializer;method_12696(Lnet/minecraft/server/ServerMetadata$Version;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-