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:
BiomeResolver
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static final record
Nested classes/interfaces inherited from class net.minecraft.world.level.biome.BiomeSource
BiomeSource.StepFeatureData
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MultiNoiseBiomeSource>
static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource>
private final Climate.ParameterList<Holder<Biome>>
private final Optional<MultiNoiseBiomeSource.PresetInstance>
-
Constructor Summary
ModifierConstructorDescriptionprivate
MultiNoiseBiomeSource
(Climate.ParameterList<Holder<Biome>> p_187057_) (package private)
MultiNoiseBiomeSource
(Climate.ParameterList<Holder<Biome>> p_187059_, Optional<MultiNoiseBiomeSource.PresetInstance> p_187060_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> p_207895_, BlockPos p_207896_, Climate.Sampler p_207897_) protected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
getNoiseBiome
(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) getNoiseBiome
(Climate.TargetPoint p_204270_) preset()
boolean
stable
(MultiNoiseBiomeSource.Preset p_187064_) withSeed
(long p_48466_) Methods inherited from class net.minecraft.world.level.biome.BiomeSource
featuresPerStep, findBiomeHorizontal, findBiomeHorizontal, getBiomesWithin, possibleBiomes
-
Field Details
-
DIRECT_CODEC
-
CODEC
-
parameters
-
preset
-
-
Constructor Details
-
MultiNoiseBiomeSource
-
MultiNoiseBiomeSource
MultiNoiseBiomeSource(Climate.ParameterList<Holder<Biome>> p_187059_, Optional<MultiNoiseBiomeSource.PresetInstance> p_187060_)
-
-
Method Details
-
codec
- Specified by:
codec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
in classBiomeSource
-
preset
-
stable
-
getNoiseBiome
public Holder<Biome> getNoiseBiome(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) - Specified by:
getNoiseBiome
in interfaceBiomeResolver
- Specified by:
getNoiseBiome
in classBiomeSource
-
getNoiseBiome
-
addDebugInfo
- Overrides:
addDebugInfo
in classBiomeSource
-