Class LevelDataGeneratorOptionsFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.LevelDataGeneratorOptionsFix

public class LevelDataGeneratorOptionsFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ban
intermediary net/minecraft/class_1196
named net/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix
  • Field Details

    • NUMERICAL_IDS_TO_BIOME_IDS

      static final Map<String,String> NUMERICAL_IDS_TO_BIOME_IDS
      Mappings:
      Namespace Name Mixin selector
      official a Lban;a:Ljava/util/Map;
      intermediary field_5702 Lnet/minecraft/class_1196;field_5702:Ljava/util/Map;
      named NUMERICAL_IDS_TO_BIOME_IDS Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;NUMERICAL_IDS_TO_BIOME_IDS:Ljava/util/Map;
    • GENERATOR_OPTIONS_KEY

      public static final String GENERATOR_OPTIONS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lban;b:Ljava/lang/String;
      intermediary field_29903 Lnet/minecraft/class_1196;field_29903:Ljava/lang/String;
      named GENERATOR_OPTIONS_KEY Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;GENERATOR_OPTIONS_KEY:Ljava/lang/String;
  • Constructor Details

    • LevelDataGeneratorOptionsFix

      public LevelDataGeneratorOptionsFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lban;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1196;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixGeneratorOptions

      private static <T> com.mojang.serialization.Dynamic<T> fixGeneratorOptions(String generatorOptions, com.mojang.serialization.DynamicOps<T> dynamicOps)
      Mappings:
      Namespace Name Mixin selector
      official a Lban;a(Ljava/lang/String;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      intermediary method_5100 Lnet/minecraft/class_1196;method_5100(Ljava/lang/String;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
      named fixGeneratorOptions Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;fixGeneratorOptions(Ljava/lang/String;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic;
    • parseFlatLayer

      @Nullable private static @Nullable com.mojang.datafixers.util.Pair<Integer,String> parseFlatLayer(String layer)
      Mappings:
      Namespace Name Mixin selector
      official a Lban;a(Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_5099 Lnet/minecraft/class_1196;method_5099(Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;
      named parseFlatLayer Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;parseFlatLayer(Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair;
    • parseFlatLayers

      private static List<com.mojang.datafixers.util.Pair<Integer,String>> parseFlatLayers(String layers)
      Mappings:
      Namespace Name Mixin selector
      official b Lban;b(Ljava/lang/String;)Ljava/util/List;
      intermediary method_5103 Lnet/minecraft/class_1196;method_5103(Ljava/lang/String;)Ljava/util/List;
      named parseFlatLayers Lnet/minecraft/datafixer/fix/LevelDataGeneratorOptionsFix;parseFlatLayers(Ljava/lang/String;)Ljava/util/List;