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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.biome.BiomeSource
BiomeSource.StepFeatureData
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
findBiomeHorizontal
(int p_207885_, int p_207886_, int p_207887_, int p_207888_, int p_207889_, Predicate<Holder<Biome>> p_207890_, Random p_207891_, boolean p_207892_, Climate.Sampler p_207893_) 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_) withSeed
(long p_48274_) Methods inherited from class net.minecraft.world.level.biome.BiomeSource
addDebugInfo, featuresPerStep, findBiomeHorizontal, possibleBiomes
-
Field Details
-
CODEC
-
biome
-
-
Constructor Details
-
FixedBiomeSource
-
-
Method Details
-
codec
- Specified by:
codec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
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_207885_, int p_207886_, int p_207887_, int p_207888_, int p_207889_, Predicate<Holder<Biome>> p_207890_, Random p_207891_, boolean p_207892_, Climate.Sampler p_207893_) - Overrides:
findBiomeHorizontal
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
-