Package net.minecraft.world.level.biome
Class BiomeSource
java.lang.Object
net.minecraft.world.level.biome.BiomeSource
- All Implemented Interfaces:
BiomeResolver
- Direct Known Subclasses:
CheckerboardColumnBiomeSource
,FixedBiomeSource
,MultiNoiseBiomeSource
,TheEndBiomeSource
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BiomeSource>
private final Supplier<List<BiomeSource.StepFeatureData>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
BiomeSource
(List<Holder<Biome>> p_47894_) protected
BiomeSource
(Stream<Holder<Biome>> p_47896_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> p_207837_, BlockPos p_207838_, Climate.Sampler p_207839_) private List<BiomeSource.StepFeatureData>
buildFeaturesPerStep
(List<Holder<Biome>> p_186728_, boolean p_186729_) protected abstract com.mojang.serialization.Codec<? extends BiomeSource>
codec()
findBiomeHorizontal
(int p_207820_, int p_207821_, int p_207822_, int p_207823_, int p_207824_, Predicate<Holder<Biome>> p_207825_, Random p_207826_, boolean p_207827_, Climate.Sampler p_207828_) findBiomeHorizontal
(int p_207830_, int p_207831_, int p_207832_, int p_207833_, Predicate<Holder<Biome>> p_207834_, Random p_207835_, Climate.Sampler p_207836_) getBiomesWithin
(int p_186705_, int p_186706_, int p_186707_, int p_186708_, Climate.Sampler p_186709_) getNoiseBiome
(int p_204238_, int p_204239_, int p_204240_, Climate.Sampler p_204241_) abstract BiomeSource
withSeed
(long p_47916_)
-
Field Details
-
CODEC
-
possibleBiomes
-
featuresPerStep
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
-
-
Method Details
-
buildFeaturesPerStep
private List<BiomeSource.StepFeatureData> buildFeaturesPerStep(List<Holder<Biome>> p_186728_, boolean p_186729_) -
codec
-
withSeed
-
possibleBiomes
-
getBiomesWithin
public Set<Holder<Biome>> getBiomesWithin(int p_186705_, int p_186706_, int p_186707_, int p_186708_, Climate.Sampler p_186709_) -
findBiomeHorizontal
-
findBiomeHorizontal
-
getNoiseBiome
public abstract Holder<Biome> getNoiseBiome(int p_204238_, int p_204239_, int p_204240_, Climate.Sampler p_204241_) - Specified by:
getNoiseBiome
in interfaceBiomeResolver
-
addDebugInfo
-
featuresPerStep
-