Package net.minecraft.world.gen
Class CustomizedWorldProperties.Serializer
java.lang.Object
net.minecraft.world.gen.CustomizedWorldProperties.Serializer
- All Implemented Interfaces:
JsonDeserializer<CustomizedWorldProperties.Builder>,JsonSerializer<CustomizedWorldProperties.Builder>
- Enclosing class:
- CustomizedWorldProperties
public static class CustomizedWorldProperties.Serializer
extends Object
implements JsonDeserializer<CustomizedWorldProperties.Builder>, JsonSerializer<CustomizedWorldProperties.Builder>
- Mappings:
Namespace Name official ant$bintermediary net/minecraft/class_2253$class_2255named net/minecraft/world/gen/CustomizedWorldProperties$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) serialize(CustomizedWorldProperties.Builder builder, Type type, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public CustomizedWorldProperties.Builder deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<CustomizedWorldProperties.Builder>- Throws:
JsonParseException- Mappings:
Namespace Name Mixin selector official aLant$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lant$a;intermediary method_9189Lnet/minecraft/class_2253$class_2255;method_9189(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_2253$class_2254;named deserializeLnet/minecraft/world/gen/CustomizedWorldProperties$Serializer;deserialize(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/gen/CustomizedWorldProperties$Builder;
-
serialize
public JsonElement serialize(CustomizedWorldProperties.Builder builder, Type type, JsonSerializationContext jsonSerializationContext) - Specified by:
serializein interfaceJsonSerializer<CustomizedWorldProperties.Builder>- Mappings:
Namespace Name Mixin selector official aLant$b;a(Lant$a;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;intermediary method_9188Lnet/minecraft/class_2253$class_2255;method_9188(Lnet/minecraft/class_2253$class_2254;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;named serializeLnet/minecraft/world/gen/CustomizedWorldProperties$Serializer;serialize(Lnet/minecraft/world/gen/CustomizedWorldProperties$Builder;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-