Package net.minecraft.world.level.biome
Class FixedBiomeSource
java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.FixedBiomeSource
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
,BiomeResolver
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
findBiomeHorizontal
(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) getBiomesWithin
(int p_187038_, int p_187039_, int p_187040_, int p_187041_, Climate.Sampler p_187042_) getNoiseBiome
(int p_204261_, int p_204262_, int p_204263_) getNoiseBiome
(int p_204265_, int p_204266_, int p_204267_, Climate.Sampler p_204268_) Methods inherited from class net.minecraft.world.level.biome.BiomeSource
addDebugInfo, findBiomeHorizontal, possibleBiomes
-
Field Details
-
CODEC
-
biome
-
-
Constructor Details
-
FixedBiomeSource
-
-
Method Details
-
collectPossibleBiomes
- Specified by:
collectPossibleBiomes
in classBiomeSource
-
codec
- Specified by:
codec
in classBiomeSource
-
getNoiseBiome
public Holder<Biome> getNoiseBiome(int p_204265_, int p_204266_, int p_204267_, Climate.Sampler p_204268_) - Specified by:
getNoiseBiome
in interfaceBiomeResolver
- Specified by:
getNoiseBiome
in classBiomeSource
-
getNoiseBiome
- Specified by:
getNoiseBiome
in interfaceBiomeManager.NoiseBiomeSource
-
findBiomeHorizontal
@Nullable public com.mojang.datafixers.util.Pair<BlockPos,Holder<Biome>> findBiomeHorizontal(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) - Overrides:
findBiomeHorizontal
in classBiomeSource
-
findClosestBiome3d
@Nullable public com.mojang.datafixers.util.Pair<BlockPos,Holder<Biome>> findClosestBiome3d(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) - Overrides:
findClosestBiome3d
in classBiomeSource
-
getBiomesWithin
public Set<Holder<Biome>> getBiomesWithin(int p_187038_, int p_187039_, int p_187040_, int p_187041_, Climate.Sampler p_187042_) - Overrides:
getBiomesWithin
in classBiomeSource
-