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>biomesstatic com.mojang.serialization.Codec<BiomeSource>CODECprotected Map<StructureFeature<?>,Boolean>structureFeaturesprotected Set<BlockState>topMaterials -
Constructor Summary
Constructors Modifier Constructor Description protectedBiomeSource(List<Biome> biomes)protectedBiomeSource(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()booleanhasStructureFeature(StructureFeature<?> feature)BlockPoslocateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)BlockPoslocateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)abstract BiomeSourcewithSeed(long seed)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen, method_31609
-
Field Details
-
CODEC
-
structureFeatures
-
topMaterials
-
biomes
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
-
-
Method Details
-
getCodec
-
withSeed
-
getBiomes
-
getBiomesInArea
-
locateBiome
-
locateBiome
-
hasStructureFeature
-
getTopMaterials
-