Package net.minecraft

Class class_2084

java.lang.Object
net.minecraft.class_2084
All Implemented Interfaces:
JsonDeserializer, JsonSerializer

public class class_2084 extends Object implements JsonDeserializer, JsonSerializer
Mappings:
Namespace Name
official ns
intermediary net/minecraft/class_2084
named net/minecraft/class_2084
  • Constructor Details

    • class_2084

      public class_2084()
  • Method Details

    • deserialize

      public ServerMetadata deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      deserialize in interface JsonDeserializer
      Mappings:
      Namespace Name Mixin selector
      official a Lns;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnp;
      intermediary method_8083 Lnet/minecraft/class_2084;method_8083(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2081;
      named deserialize Lnet/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 a Lns;a(Lnp;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_8084 Lnet/minecraft/class_2084;method_8084(Lnet/minecraft/class_2081;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/class_2084;serialize(Lnet/minecraft/server/ServerMetadata;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;