Package net.minecraft.world.level.biome
Class MultiNoiseBiomeSource
java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.MultiNoiseBiomeSource
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate NormalNoise
static com.mojang.serialization.Codec<MultiNoiseBiomeSource>
private static MultiNoiseBiomeSource.NoiseParameters
static com.mojang.serialization.MapCodec<MultiNoiseBiomeSource>
private NormalNoise
private List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>>
private Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>>
private long
private NormalNoise
private boolean
private NormalNoise
Fields inherited from class net.minecraft.world.level.biome.BiomeSource
possibleBiomes, supportedStructures, surfaceBlocks
-
Constructor Summary
ModifierConstructorDescriptionMultiNoiseBiomeSource(long p_151828_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_151829_)
(package private)
MultiNoiseBiomeSource(long p_48456_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48457_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48458_)
private
MultiNoiseBiomeSource(long p_48441_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48442_, MultiNoiseBiomeSource.NoiseParameters p_48443_, MultiNoiseBiomeSource.NoiseParameters p_48444_, MultiNoiseBiomeSource.NoiseParameters p_48445_, MultiNoiseBiomeSource.NoiseParameters p_48446_)
private
MultiNoiseBiomeSource(long p_48448_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48449_, MultiNoiseBiomeSource.NoiseParameters p_48450_, MultiNoiseBiomeSource.NoiseParameters p_48451_, MultiNoiseBiomeSource.NoiseParameters p_48452_, MultiNoiseBiomeSource.NoiseParameters p_48453_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48454_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
getNoiseBiome(int p_48479_, int p_48480_, int p_48481_)
static MultiNoiseBiomeSource
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>>
parameters(Registry<Biome> p_151831_)
preset()
boolean
stable(long p_48483_)
withSeed(long p_48466_)
Methods inherited from class net.minecraft.world.level.biome.BiomeSource
canGenerateStructure, findBiomeHorizontal, findBiomeHorizontal, getBiomesWithin, getSurfaceBlocks, possibleBiomes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource
getPrimaryBiome
-
Field Details
-
DEFAULT_NOISE_PARAMETERS
-
DIRECT_CODEC
-
CODEC
-
temperatureParams
-
humidityParams
-
altitudeParams
-
weirdnessParams
-
temperatureNoise
-
humidityNoise
-
altitudeNoise
-
weirdnessNoise
-
parameters
private final List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> parameters -
useY
private final boolean useY -
seed
private final long seed -
preset
private final Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> preset
-
-
Constructor Details
-
MultiNoiseBiomeSource
public MultiNoiseBiomeSource(long p_151828_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_151829_) -
MultiNoiseBiomeSource
MultiNoiseBiomeSource(long p_48456_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48457_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48458_) -
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(long p_48441_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48442_, MultiNoiseBiomeSource.NoiseParameters p_48443_, MultiNoiseBiomeSource.NoiseParameters p_48444_, MultiNoiseBiomeSource.NoiseParameters p_48445_, MultiNoiseBiomeSource.NoiseParameters p_48446_) -
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(long p_48448_, List<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> p_48449_, MultiNoiseBiomeSource.NoiseParameters p_48450_, MultiNoiseBiomeSource.NoiseParameters p_48451_, MultiNoiseBiomeSource.NoiseParameters p_48452_, MultiNoiseBiomeSource.NoiseParameters p_48453_, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> p_48454_)
-
-
Method Details
-
overworld
-
codec
- Specified by:
codec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
in classBiomeSource
-
preset
-
getNoiseBiome
-
parameters
public static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Biome.ClimateParameters,Supplier<Biome>>> parameters(Registry<Biome> p_151831_) -
stable
public boolean stable(long p_48483_)
-