Class WorldGenSettings

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

public class WorldGenSettings 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,WorldGenSettings.StructureSeparationSettingsCodec>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WorldGenSettings(com.mojang.datafixers.schemas.Schema p_i231469_1_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static <T> com.mojang.serialization.Dynamic<T>
    defaultOverworld(com.mojang.serialization.Dynamic<T> p_241322_0_, long p_241322_1_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_233426_0_)
     
    private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>>
    fixFlatStructures(com.mojang.serialization.DynamicOps<T> p_233430_0_, com.mojang.serialization.OptionalDynamic<T> p_233430_1_)
     
    private static int
    getInt(String p_233434_0_, int p_233434_1_)
     
    private static int
    getInt(String p_233435_0_, int p_233435_1_, int p_233435_2_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static <T> com.mojang.serialization.Dynamic<T>
    noise(long p_233423_0_, com.mojang.serialization.DynamicLike<T> p_233423_2_, com.mojang.serialization.Dynamic<T> p_233423_3_, com.mojang.serialization.Dynamic<T> p_233423_4_)
     
    private static void
    setSpacing(Map<String,WorldGenSettings.StructureSeparationSettingsCodec> p_233436_0_, String p_233436_1_, String p_233436_2_, int p_233436_3_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    vanillaBiomeSource(com.mojang.serialization.Dynamic<T> p_233427_0_, long p_233427_1_, boolean p_233427_3_, boolean p_233427_4_)
     
    protected static <T> T
    vanillaLevels(com.mojang.serialization.Dynamic<T> p_241323_0_, long p_241323_1_, com.mojang.serialization.Dynamic<T> p_241323_3_, boolean p_241323_4_)
     

    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

    • WorldGenSettings

      public WorldGenSettings(com.mojang.datafixers.schemas.Schema p_i231469_1_)
  • 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_233423_0_, com.mojang.serialization.DynamicLike<T> p_233423_2_, com.mojang.serialization.Dynamic<T> p_233423_3_, com.mojang.serialization.Dynamic<T> p_233423_4_)
    • vanillaBiomeSource

      private static <T> com.mojang.serialization.Dynamic<T> vanillaBiomeSource(com.mojang.serialization.Dynamic<T> p_233427_0_, long p_233427_1_, boolean p_233427_3_, boolean p_233427_4_)
    • fix

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

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

      protected static <T> T vanillaLevels(com.mojang.serialization.Dynamic<T> p_241323_0_, long p_241323_1_, com.mojang.serialization.Dynamic<T> p_241323_3_, boolean p_241323_4_)
    • fixFlatStructures

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

      private static int getInt(String p_233434_0_, int p_233434_1_)
    • getInt

      private static int getInt(String p_233435_0_, int p_233435_1_, int p_233435_2_)
    • setSpacing

      private static void setSpacing(Map<String,WorldGenSettings.StructureSeparationSettingsCodec> p_233436_0_, String p_233436_1_, String p_233436_2_, int p_233436_3_)