Package net.minecraft.world.biome.source
Class VanillaLayeredBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.VanillaLayeredBiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
public class VanillaLayeredBiomeSource extends BiomeSource
-
Field Summary
Fields Modifier and Type Field Description private Registry<Biome>
biomeRegistry
private static List<RegistryKey<Biome>>
BIOMES
private BiomeLayerSampler
biomeSampler
static com.mojang.serialization.Codec<VanillaLayeredBiomeSource>
CODEC
private boolean
largeBiomes
private boolean
legacyBiomeInitLayer
private long
seed
Fields inherited from class net.minecraft.world.biome.source.BiomeSource
biomes, structureFeatures, topMaterials
-
Constructor Summary
Constructors Constructor Description VanillaLayeredBiomeSource(long seed, boolean legacyBiomeInitLayer, boolean largeBiomes, Registry<Biome> biomeRegistry)
-
Method Summary
Modifier and Type Method Description Biome
getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
protected com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
BiomeSource
withSeed(long seed)
Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiome
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
method_31609
-
Field Details
-
CODEC
-
BIOMES
-
biomeSampler
-
seed
private final long seed -
legacyBiomeInitLayer
private final boolean legacyBiomeInitLayer -
largeBiomes
private final boolean largeBiomes -
biomeRegistry
-
-
Constructor Details
-
VanillaLayeredBiomeSource
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classBiomeSource
-
withSeed
- Specified by:
withSeed
in classBiomeSource
-
getBiomeForNoiseGen
-