public class VanillaLayeredBiomeSource extends BiomeSource
Modifier and Type | Field and 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 |
biomes, structureFeatures, topMaterials
Constructor and Description |
---|
VanillaLayeredBiomeSource(long seed,
boolean legacyBiomeInitLayer,
boolean largeBiomes,
Registry<Biome> biomeRegistry) |
Modifier and Type | Method and Description |
---|---|
Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
protected com.mojang.serialization.Codec<? extends BiomeSource> |
getCodec() |
BiomeSource |
withSeed(long seed) |
getBiomes, getBiomesInArea, getTopMaterials, hasStructureFeature, locateBiome, locateBiome
public static final com.mojang.serialization.Codec<VanillaLayeredBiomeSource> CODEC
private static final List<RegistryKey<Biome>> BIOMES
private final BiomeLayerSampler biomeSampler
private final long seed
private final boolean legacyBiomeInitLayer
private final boolean largeBiomes
protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
getCodec
in class BiomeSource
@Environment(value=CLIENT) public BiomeSource withSeed(long seed)
withSeed
in class BiomeSource
public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)