Class LevelDataGeneratorOptionsFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.LevelDataGeneratorOptionsFix

public class LevelDataGeneratorOptionsFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final Map<String,String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LevelDataGeneratorOptionsFix(com.mojang.datafixers.schemas.Schema p_i49628_1_, boolean p_i49628_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <T> com.mojang.serialization.Dynamic<T>
    convert(String p_210549_0_, com.mojang.serialization.DynamicOps<T> p_210549_1_)
     
    private static com.mojang.datafixers.util.Pair<Integer,String>
     
    private static List<com.mojang.datafixers.util.Pair<Integer,String>>
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • LevelDataGeneratorOptionsFix

      public LevelDataGeneratorOptionsFix(com.mojang.datafixers.schemas.Schema p_i49628_1_, boolean p_i49628_2_)
  • Method Details

    • makeRule

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

      private static <T> com.mojang.serialization.Dynamic<T> convert(String p_210549_0_, com.mojang.serialization.DynamicOps<T> p_210549_1_)
    • getLayerInfoFromString

      @Nullable private static com.mojang.datafixers.util.Pair<Integer,String> getLayerInfoFromString(String p_210548_0_)
    • getLayersInfoFromString

      private static List<com.mojang.datafixers.util.Pair<Integer,String>> getLayersInfoFromString(String p_210552_0_)