Package net.minecraft
Class class_2084
java.lang.Object
net.minecraft.class_2084
- All Implemented Interfaces:
JsonDeserializer,JsonSerializer
- Mappings:
Namespace Name official nsintermediary net/minecraft/class_2084named net/minecraft/class_2084
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(ServerMetadata serverMetadata, 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.JsonSerializer
serialize
-
Constructor Details
-
class_2084
public class_2084()
-
-
Method Details
-
deserialize
public ServerMetadata deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) - Specified by:
deserializein interfaceJsonDeserializer- Mappings:
Namespace Name Mixin selector official aLns;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnp;intermediary method_8083Lnet/minecraft/class_2084;method_8083(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2081;named deserializeLnet/minecraft/class_2084;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) - Mappings:
Namespace Name Mixin selector official aLns;a(Lnp;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_8084Lnet/minecraft/class_2084;method_8084(Lnet/minecraft/class_2081;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/minecraft/class_2084;serialize(Lnet/minecraft/server/ServerMetadata;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-