Package net.minecraft.world.level.biome
Class OverworldBiomeBuilder
java.lang.Object
net.minecraft.world.level.biome.OverworldBiomeBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Climate.Parameter
private final Climate.Parameter
static final float
static final float
private final Climate.Parameter[]
static final float
private final Climate.Parameter
private final Climate.Parameter
private final Climate.Parameter
private static final float
static final float
private final Climate.Parameter[]
private final Climate.Parameter
private static final float
static final float
private final ResourceKey<Biome>[][]
private final ResourceKey<Biome>[][]
private final Climate.Parameter
private final Climate.Parameter
static final float
private final Climate.Parameter
private final Climate.Parameter
private final ResourceKey<Biome>[][]
private static final float
private static final float
static final float
private final ResourceKey<Biome>[][]
private final ResourceKey<Biome>[][]
private final ResourceKey<Biome>[][]
private final Climate.Parameter[]
private final Climate.Parameter
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187176_) private void
addHighSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187198_, Climate.Parameter p_187199_) private void
addInlandBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187216_) private void
addLowSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187229_, Climate.Parameter p_187230_) private void
addMidSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187218_, Climate.Parameter p_187219_) private void
addOffCoastBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187196_) private void
addPeaks
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187178_, Climate.Parameter p_187179_) private void
addSurfaceBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private void
addUndergroundBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private void
addUndergroundBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187227_) private void
addValleys
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187238_, Climate.Parameter p_187239_) getDebugStringForContinentalness
(double p_187190_) getDebugStringForErosion
(double p_187210_) getDebugStringForHumidity
(double p_187232_) private static String
getDebugStringForNoiseValue
(double p_187158_, Climate.Parameter[] p_187159_) static String
getDebugStringForPeaksAndValleys
(double p_187156_) getDebugStringForTemperature
(double p_187221_) private ResourceKey<Biome>
maybePickWindsweptSavannaBiome
(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) private ResourceKey<Biome>
pickBadlandsBiome
(int p_187173_, Climate.Parameter p_187174_) private ResourceKey<Biome>
pickBeachBiome
(int p_187161_, int p_187162_) private ResourceKey<Biome>
pickMiddleBiome
(int p_187164_, int p_187165_, Climate.Parameter p_187166_) private ResourceKey<Biome>
pickMiddleBiomeOrBadlandsIfHot
(int p_187192_, int p_187193_, Climate.Parameter p_187194_) private ResourceKey<Biome>
pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold
(int p_187212_, int p_187213_, Climate.Parameter p_187214_) private ResourceKey<Biome>
pickPeakBiome
(int p_187241_, int p_187242_, Climate.Parameter p_187243_) private ResourceKey<Biome>
pickPlateauBiome
(int p_187234_, int p_187235_, Climate.Parameter p_187236_) private ResourceKey<Biome>
pickShatteredBiome
(int p_202002_, int p_202003_, Climate.Parameter p_202004_) private ResourceKey<Biome>
pickShatteredCoastBiome
(int p_187223_, int p_187224_, Climate.Parameter p_187225_) private ResourceKey<Biome>
pickSlopeBiome
(int p_187245_, int p_187246_, Climate.Parameter p_187247_)
-
Field Details
-
VALLEY_SIZE
private static final float VALLEY_SIZE- See Also:
-
LOW_START
private static final float LOW_START- See Also:
-
HIGH_START
public static final float HIGH_START- See Also:
-
HIGH_END
private static final float HIGH_END- See Also:
-
PEAK_SIZE
private static final float PEAK_SIZE- See Also:
-
PEAK_START
public static final float PEAK_START- See Also:
-
PEAK_END
private static final float PEAK_END- See Also:
-
NEAR_INLAND_START
public static final float NEAR_INLAND_START- See Also:
-
MID_INLAND_START
public static final float MID_INLAND_START- See Also:
-
FAR_INLAND_START
public static final float FAR_INLAND_START- See Also:
-
EROSION_INDEX_1_START
public static final float EROSION_INDEX_1_START- See Also:
-
EROSION_INDEX_2_START
public static final float EROSION_INDEX_2_START- See Also:
-
FULL_RANGE
-
temperatures
-
humidities
-
erosions
-
FROZEN_RANGE
-
UNFROZEN_RANGE
-
mushroomFieldsContinentalness
-
deepOceanContinentalness
-
oceanContinentalness
-
coastContinentalness
-
inlandContinentalness
-
nearInlandContinentalness
-
midInlandContinentalness
-
farInlandContinentalness
-
OCEANS
-
MIDDLE_BIOMES
-
MIDDLE_BIOMES_VARIANT
-
PLATEAU_BIOMES
-
PLATEAU_BIOMES_VARIANT
-
SHATTERED_BIOMES
-
-
Constructor Details
-
OverworldBiomeBuilder
public OverworldBiomeBuilder()
-
-
Method Details
-
spawnTarget
-
addBiomes
protected void addBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187176_) -
addOffCoastBiomes
private void addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187196_) -
addInlandBiomes
private void addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187216_) -
addPeaks
private void addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187178_, Climate.Parameter p_187179_) -
addHighSlice
private void addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187198_, Climate.Parameter p_187199_) -
addMidSlice
private void addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187218_, Climate.Parameter p_187219_) -
addLowSlice
private void addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187229_, Climate.Parameter p_187230_) -
addValleys
private void addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187238_, Climate.Parameter p_187239_) -
addUndergroundBiomes
private void addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187227_) -
pickMiddleBiome
private ResourceKey<Biome> pickMiddleBiome(int p_187164_, int p_187165_, Climate.Parameter p_187166_) -
pickMiddleBiomeOrBadlandsIfHot
private ResourceKey<Biome> pickMiddleBiomeOrBadlandsIfHot(int p_187192_, int p_187193_, Climate.Parameter p_187194_) -
pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold
private ResourceKey<Biome> pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int p_187212_, int p_187213_, Climate.Parameter p_187214_) -
maybePickWindsweptSavannaBiome
private ResourceKey<Biome> maybePickWindsweptSavannaBiome(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) -
pickShatteredCoastBiome
private ResourceKey<Biome> pickShatteredCoastBiome(int p_187223_, int p_187224_, Climate.Parameter p_187225_) -
pickBeachBiome
-
pickBadlandsBiome
-
pickPlateauBiome
private ResourceKey<Biome> pickPlateauBiome(int p_187234_, int p_187235_, Climate.Parameter p_187236_) -
pickPeakBiome
-
pickSlopeBiome
private ResourceKey<Biome> pickSlopeBiome(int p_187245_, int p_187246_, Climate.Parameter p_187247_) -
pickShatteredBiome
private ResourceKey<Biome> pickShatteredBiome(int p_202002_, int p_202003_, Climate.Parameter p_202004_) -
addSurfaceBiome
private void addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) -
addUndergroundBiome
private void addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) -
getDebugStringForPeaksAndValleys
-
getDebugStringForContinentalness
-
getDebugStringForErosion
-
getDebugStringForTemperature
-
getDebugStringForHumidity
-
getDebugStringForNoiseValue
-
getTemperatureThresholds
-
getHumidityThresholds
-
getErosionThresholds
-
getContinentalnessThresholds
-
getPeaksAndValleysThresholds
-
getWeirdnessThresholds
-