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
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BiomeSource
(Supplier<List<Holder<Biome>>> biomes) protected
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_) protected abstract com.mojang.serialization.Codec<? extends BiomeSource>
codec()
findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) 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_)
-
Field Details
-
CODEC
-
lazyPossibleBiomes
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
-
BiomeSource
-
-
Method Details
-
codec
-
possibleBiomes
-
getBiomesWithin
public Set<Holder<Biome>> getBiomesWithin(int p_186705_, int p_186706_, int p_186707_, int p_186708_, Climate.Sampler p_186709_) -
findBiomeHorizontal
@Nullable public com.mojang.datafixers.util.Pair<BlockPos,Holder<Biome>> findBiomeHorizontal(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) -
findClosestBiome3d
@Nullable public com.mojang.datafixers.util.Pair<BlockPos,Holder<Biome>> findClosestBiome3d(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) -
findBiomeHorizontal
@Nullable public com.mojang.datafixers.util.Pair<BlockPos,Holder<Biome>> findBiomeHorizontal(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) -
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
-