Package net.minecraft

Class class_2136

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

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

  • Method Details

    • serialize

      public JsonElement serialize(ServerConfigEntry serverConfigEntry, Type type, JsonSerializationContext jsonSerializationContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lsu;a(Lsr;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_8260 Lnet/minecraft/class_2136;method_8260(Lnet/minecraft/class_2133;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      named serialize Lnet/minecraft/class_2136;serialize(Lnet/minecraft/server/ServerConfigEntry;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
    • deserialize

      public ServerConfigEntry deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      deserialize in interface JsonDeserializer
      Mappings:
      Namespace Name Mixin selector
      official a Lsu;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lsr;
      intermediary method_8259 Lnet/minecraft/class_2136;method_8259(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2133;
      named deserialize Lnet/minecraft/class_2136;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/server/ServerConfigEntry;