Package net.minecraft.util.datafix.fixes
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
Modifier and TypeClassDescription(package private) static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableMap<String,
WorldGenSettings.StructureSeparationSettingsCodec> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
private static int
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
Field Details
-
DEFAULTS
private static final com.google.common.collect.ImmutableMap<String,WorldGenSettings.StructureSeparationSettingsCodec> DEFAULTS
-
-
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 classcom.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
-
getInt
-
setSpacing
private static void setSpacing(Map<String, WorldGenSettings.StructureSeparationSettingsCodec> p_233436_0_, String p_233436_1_, String p_233436_2_, int p_233436_3_)
-