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
-
Field Summary
Fields inherited from class net.minecraft.world.level.biome.BiomeSource
possibleBiomes, supportedStructures, surfaceBlocks
-
Constructor Summary
ConstructorDescriptionFixedBiomeSource(Supplier<Biome> p_48257_)
FixedBiomeSource(Biome p_48255_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.serialization.Codec<? extends BiomeSource>
codec()
findBiomeHorizontal(int p_48265_, int p_48266_, int p_48267_, int p_48268_, int p_48269_, Predicate<Biome> p_48270_, Random p_48271_, boolean p_48272_)
getBiomesWithin(int p_48260_, int p_48261_, int p_48262_, int p_48263_)
getNoiseBiome(int p_48280_, int p_48281_, int p_48282_)
withSeed(long p_48274_)
Methods inherited from class net.minecraft.world.level.biome.BiomeSource
canGenerateStructure, findBiomeHorizontal, getSurfaceBlocks, possibleBiomes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource
getPrimaryBiome
-
Field Details
-
CODEC
-
biome
-
-
Constructor Details
-
FixedBiomeSource
-
FixedBiomeSource
-
-
Method Details
-
codec
- Specified by:
codec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
in classBiomeSource
-
getNoiseBiome
-
findBiomeHorizontal
@Nullable public BlockPos findBiomeHorizontal(int p_48265_, int p_48266_, int p_48267_, int p_48268_, int p_48269_, Predicate<Biome> p_48270_, Random p_48271_, boolean p_48272_)- Overrides:
findBiomeHorizontal
in classBiomeSource
-
getBiomesWithin
- Overrides:
getBiomesWithin
in classBiomeSource
-