public class MultiNoiseBiomeSource extends BiomeSource
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MultiNoiseBiomeSource.Instance |
(package private) static class |
MultiNoiseBiomeSource.NoiseParameters |
static class |
MultiNoiseBiomeSource.Preset |
biomes, structureFeatures, topMaterials
Modifier | Constructor and Description |
---|---|
private |
MultiNoiseBiomeSource(long seed,
List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints,
MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters) |
private |
MultiNoiseBiomeSource(long seed,
List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints,
MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters,
MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters,
Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance) |
private |
MultiNoiseBiomeSource(long seed,
List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints,
Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance) |
Modifier and Type | Method and Description |
---|---|
Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
protected com.mojang.serialization.Codec<? extends BiomeSource> |
getCodec() |
private Optional<MultiNoiseBiomeSource.Instance> |
getInstance() |
boolean |
matchesInstance(long seed) |
BiomeSource |
withSeed(long seed) |
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiome
private static final MultiNoiseBiomeSource.NoiseParameters DEFAULT_NOISE_PARAMETERS
public static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource> CUSTOM_CODEC
public static final com.mojang.serialization.Codec<MultiNoiseBiomeSource> CODEC
private final MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters
private final MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters
private final MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters
private final MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters
private final DoublePerlinNoiseSampler temperatureNoise
private final DoublePerlinNoiseSampler humidityNoise
private final DoublePerlinNoiseSampler altitudeNoise
private final DoublePerlinNoiseSampler weirdnessNoise
private final List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints
private final boolean threeDimensionalSampling
private final long seed
private final Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance
private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance)
private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters)
private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,MultiNoiseBiomeSource.Preset>> instance)
protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
getCodec
in class BiomeSource
@Environment(value=CLIENT) public BiomeSource withSeed(long seed)
withSeed
in class BiomeSource
private Optional<MultiNoiseBiomeSource.Instance> getInstance()
public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
public boolean matchesInstance(long seed)