Class NetherBiomeProvider
- java.lang.Object
-
- net.minecraft.world.biome.provider.BiomeProvider
-
- net.minecraft.world.biome.provider.NetherBiomeProvider
-
- All Implemented Interfaces:
BiomeManager.IBiomeReader
public class NetherBiomeProvider extends BiomeProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
NetherBiomeProvider.DefaultBuilder
(package private) static class
NetherBiomeProvider.Noise
static class
NetherBiomeProvider.Preset
-
Field Summary
Fields Modifier and Type Field Description private MaxMinNoiseMixer
altitudeNoise
private NetherBiomeProvider.Noise
altitudeParams
static com.mojang.serialization.Codec<NetherBiomeProvider>
CODEC
private static NetherBiomeProvider.Noise
DEFAULT_NOISE_PARAMETERS
static com.mojang.serialization.MapCodec<NetherBiomeProvider>
DIRECT_CODEC
private MaxMinNoiseMixer
humidityNoise
private NetherBiomeProvider.Noise
humidityParams
private java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>>
parameters
private java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>>
preset
private long
seed
private MaxMinNoiseMixer
temperatureNoise
private NetherBiomeProvider.Noise
temperatureParams
private boolean
useY
private MaxMinNoiseMixer
weirdnessNoise
private NetherBiomeProvider.Noise
weirdnessParams
-
Fields inherited from class net.minecraft.world.biome.provider.BiomeProvider
possibleBiomes, supportedStructures, surfaceBlocks
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NetherBiomeProvider(long p_i231640_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i231640_3_, java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>> p_i231640_4_)
private
NetherBiomeProvider(long p_i241951_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i241951_3_, NetherBiomeProvider.Noise p_i241951_4_, NetherBiomeProvider.Noise p_i241951_5_, NetherBiomeProvider.Noise p_i241951_6_, NetherBiomeProvider.Noise p_i241951_7_)
private
NetherBiomeProvider(long p_i241952_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i241952_3_, NetherBiomeProvider.Noise p_i241952_4_, NetherBiomeProvider.Noise p_i241952_5_, NetherBiomeProvider.Noise p_i241952_6_, NetherBiomeProvider.Noise p_i241952_7_, java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>> p_i241952_8_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.mojang.serialization.Codec<? extends BiomeProvider>
codec()
Biome
getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
private java.util.Optional<NetherBiomeProvider.DefaultBuilder>
preset()
boolean
stable(long p_235280_1_)
BiomeProvider
withSeed(long p_230320_1_)
-
Methods inherited from class net.minecraft.world.biome.provider.BiomeProvider
canGenerateStructure, findBiomeHorizontal, findBiomeHorizontal, getBiomesWithin, getSurfaceBlocks, possibleBiomes
-
-
-
-
Field Detail
-
DEFAULT_NOISE_PARAMETERS
private static final NetherBiomeProvider.Noise DEFAULT_NOISE_PARAMETERS
-
DIRECT_CODEC
public static final com.mojang.serialization.MapCodec<NetherBiomeProvider> DIRECT_CODEC
-
CODEC
public static final com.mojang.serialization.Codec<NetherBiomeProvider> CODEC
-
temperatureParams
private final NetherBiomeProvider.Noise temperatureParams
-
humidityParams
private final NetherBiomeProvider.Noise humidityParams
-
altitudeParams
private final NetherBiomeProvider.Noise altitudeParams
-
weirdnessParams
private final NetherBiomeProvider.Noise weirdnessParams
-
temperatureNoise
private final MaxMinNoiseMixer temperatureNoise
-
humidityNoise
private final MaxMinNoiseMixer humidityNoise
-
altitudeNoise
private final MaxMinNoiseMixer altitudeNoise
-
weirdnessNoise
private final MaxMinNoiseMixer weirdnessNoise
-
parameters
private final java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> parameters
-
useY
private final boolean useY
-
seed
private final long seed
-
preset
private final java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>> preset
-
-
Constructor Detail
-
NetherBiomeProvider
private NetherBiomeProvider(long p_i231640_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i231640_3_, java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>> p_i231640_4_)
-
NetherBiomeProvider
private NetherBiomeProvider(long p_i241951_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i241951_3_, NetherBiomeProvider.Noise p_i241951_4_, NetherBiomeProvider.Noise p_i241951_5_, NetherBiomeProvider.Noise p_i241951_6_, NetherBiomeProvider.Noise p_i241951_7_)
-
NetherBiomeProvider
private NetherBiomeProvider(long p_i241952_1_, java.util.List<com.mojang.datafixers.util.Pair<Biome.Attributes,java.util.function.Supplier<Biome>>> p_i241952_3_, NetherBiomeProvider.Noise p_i241952_4_, NetherBiomeProvider.Noise p_i241952_5_, NetherBiomeProvider.Noise p_i241952_6_, NetherBiomeProvider.Noise p_i241952_7_, java.util.Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,NetherBiomeProvider.Preset>> p_i241952_8_)
-
-
Method Detail
-
codec
protected com.mojang.serialization.Codec<? extends BiomeProvider> codec()
- Specified by:
codec
in classBiomeProvider
-
withSeed
public BiomeProvider withSeed(long p_230320_1_)
- Specified by:
withSeed
in classBiomeProvider
-
preset
private java.util.Optional<NetherBiomeProvider.DefaultBuilder> preset()
-
getNoiseBiome
public Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
-
stable
public boolean stable(long p_235280_1_)
-
-