Package net.minecraft
Class class_2136
java.lang.Object
net.minecraft.class_2136
- All Implemented Interfaces:
JsonDeserializer,JsonSerializer
- Mappings:
Namespace Name official suintermediary net/minecraft/class_2136named net/minecraft/class_2136
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(ServerConfigEntry serverConfigEntry, 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_2136
-
-
Method Details
-
serialize
public JsonElement serialize(ServerConfigEntry serverConfigEntry, Type type, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official aLsu;a(Lsr;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_8260Lnet/minecraft/class_2136;method_8260(Lnet/minecraft/class_2133;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/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:
deserializein interfaceJsonDeserializer- Mappings:
Namespace Name Mixin selector official aLsu;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lsr;intermediary method_8259Lnet/minecraft/class_2136;method_8259(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2133;named deserializeLnet/minecraft/class_2136;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/server/ServerConfigEntry;
-