Package net.minecraft.util.datafix.fixes
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
Modifier and TypeClassDescription(package private) static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
private static int
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
Field Details
-
VILLAGE
- See Also:
-
DESERT_PYRAMID
- See Also:
-
IGLOO
- See Also:
-
JUNGLE_TEMPLE
- See Also:
-
SWAMP_HUT
- See Also:
-
PILLAGER_OUTPOST
- See Also:
-
END_CITY
- See Also:
-
WOODLAND_MANSION
- See Also:
-
OCEAN_MONUMENT
- See Also:
-
DEFAULTS
private static final com.google.common.collect.ImmutableMap<String,WorldGenSettingsFix.StructureFeatureConfiguration> DEFAULTS
-
-
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 classcom.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
-
getInt
-
setSpacing
private static void setSpacing(Map<String, WorldGenSettingsFix.StructureFeatureConfiguration> p_17236_, String p_17237_, String p_17238_, int p_17239_)
-