Package net.minecraft.world.biome.source
Class BiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
- Direct Known Subclasses:
CheckerboardBiomeSource
,FixedBiomeSource
,MultiNoiseBiomeSource
,TheEndBiomeSource
,VanillaLayeredBiomeSource
public abstract class BiomeSource extends Object implements BiomeAccess.Storage
-
Field Summary
Fields Modifier and Type Field Description protected List<Biome>
biomes
static com.mojang.serialization.Codec<BiomeSource>
CODEC
protected Map<StructureFeature<?>,Boolean>
structureFeatures
protected Set<BlockState>
topMaterials
-
Constructor Summary
Constructors Modifier Constructor Description protected
BiomeSource(List<Biome> biomes)
protected
BiomeSource(Stream<Supplier<Biome>> stream)
-
Method Summary
Modifier and Type Method Description List<Biome>
getBiomes()
Set<Biome>
getBiomesInArea(int x, int y, int z, int radius)
protected abstract com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
Set<BlockState>
getTopMaterials()
boolean
hasStructureFeature(StructureFeature<?> feature)
BlockPos
locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
BlockPos
locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
abstract BiomeSource
withSeed(long seed)
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.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
Field Details
-
CODEC
-
structureFeatures
-
topMaterials
-
biomes
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
-
-
Method Details
-
getCodec
-
withSeed
-
getBiomes
-
getBiomesInArea
-
locateBiome
-
locateBiome
-
hasStructureFeature
-
getTopMaterials
-