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 ayx$b
intermediary net/minecraft/class_2253$class_2255
named net/minecraft/world/gen/CustomizedWorldProperties$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • deserialize

      public CustomizedWorldProperties.Builder deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
      Specified by:
      deserialize in interface JsonDeserializer<CustomizedWorldProperties.Builder>
      Throws:
      JsonParseException
      Mappings:
      Namespace Name Mixin selector
      official a Layx$b;a(Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Layx$a;
      intermediary method_9189 Lnet/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 deserialize Lnet/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:
      serialize in interface JsonSerializer<CustomizedWorldProperties.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Layx$b;a(Layx$a;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
      intermediary method_9188 Lnet/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 serialize Lnet/minecraft/world/gen/CustomizedWorldProperties$Serializer;serialize(Lnet/minecraft/world/gen/CustomizedWorldProperties$Builder;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;