Class WorldGenSettingsFix

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

public class WorldGenSettingsFix extends com.mojang.datafixers.DataFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final com.google.common.collect.ImmutableMap<String,WorldGenSettingsFix.StructureFeatureConfiguration>
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
    private static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WorldGenSettingsFix(com.mojang.datafixers.schemas.Schema p_17173_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static <T> com.mojang.serialization.Dynamic<T>
    defaultOverworld(com.mojang.serialization.Dynamic<T> p_17188_, long p_17189_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_17186_)
     
    private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>>
    fixFlatStructures(com.mojang.serialization.DynamicOps<T> p_17218_, com.mojang.serialization.OptionalDynamic<T> p_17219_)
     
    private static int
    getInt(String p_17229_, int p_17230_)
     
    private static int
    getInt(String p_17232_, int p_17233_, int p_17234_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static <T> com.mojang.serialization.Dynamic<T>
    noise(long p_17175_, com.mojang.serialization.DynamicLike<T> p_17176_, com.mojang.serialization.Dynamic<T> p_17177_, com.mojang.serialization.Dynamic<T> p_17178_)
     
    private static void
    setSpacing(Map<String,WorldGenSettingsFix.StructureFeatureConfiguration> p_17236_, String p_17237_, String p_17238_, int p_17239_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    vanillaBiomeSource(com.mojang.serialization.Dynamic<T> p_17196_, long p_17197_, boolean p_17198_, boolean p_17199_)
     
    protected static <T> T
    vanillaLevels(com.mojang.serialization.Dynamic<T> p_17191_, long p_17192_, com.mojang.serialization.Dynamic<T> p_17193_, boolean p_17194_)
     

    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

    • WorldGenSettingsFix

      public WorldGenSettingsFix(com.mojang.datafixers.schemas.Schema p_17173_)
  • Method Details

    • makeRule

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

      private static <T> com.mojang.serialization.Dynamic<T> noise(long p_17175_, com.mojang.serialization.DynamicLike<T> p_17176_, com.mojang.serialization.Dynamic<T> p_17177_, com.mojang.serialization.Dynamic<T> p_17178_)
    • vanillaBiomeSource

      private static <T> com.mojang.serialization.Dynamic<T> vanillaBiomeSource(com.mojang.serialization.Dynamic<T> p_17196_, long p_17197_, boolean p_17198_, boolean p_17199_)
    • fix

      private static <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_17186_)
    • defaultOverworld

      protected static <T> com.mojang.serialization.Dynamic<T> defaultOverworld(com.mojang.serialization.Dynamic<T> p_17188_, long p_17189_)
    • vanillaLevels

      protected static <T> T vanillaLevels(com.mojang.serialization.Dynamic<T> p_17191_, long p_17192_, com.mojang.serialization.Dynamic<T> p_17193_, boolean p_17194_)
    • fixFlatStructures

      private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>> fixFlatStructures(com.mojang.serialization.DynamicOps<T> p_17218_, com.mojang.serialization.OptionalDynamic<T> p_17219_)
    • getInt

      private static int getInt(String p_17229_, int p_17230_)
    • getInt

      private static int getInt(String p_17232_, int p_17233_, int p_17234_)
    • setSpacing

      private static void setSpacing(Map<String,WorldGenSettingsFix.StructureFeatureConfiguration> p_17236_, String p_17237_, String p_17238_, int p_17239_)