public class CavesChunkGenerator extends SurfaceChunkGenerator<CavesChunkGeneratorConfig>
| Modifier and Type | Field and Description |
|---|---|
private CavesChunkGeneratorConfig |
field_24511 |
private double[] |
noiseFalloff |
defaultBlock, defaultFluid, randombiomeSource| Constructor and Description |
|---|
CavesChunkGenerator(BiomeSource biomeSource,
long long2,
CavesChunkGeneratorConfig cavesChunkGeneratorConfig) |
| Modifier and Type | Method and Description |
|---|---|
private double[] |
buildNoiseFalloff() |
protected double |
computeNoiseFalloff(double depth,
double scale,
int y) |
protected double[] |
computeNoiseRange(int x,
int z) |
List<Biome.SpawnEntry> |
getEntitySpawnList(Biome biome,
StructureAccessor structureAccessor,
SpawnGroup spawnGroup,
BlockPos blockPos) |
int |
getHeight(int x,
int z,
Heightmap.Type heightmapType) |
int |
getMaxY() |
int |
getSeaLevel() |
ChunkGenerator |
method_27997(long long2) |
protected void |
sampleNoiseColumn(double[] buffer,
int x,
int z) |
buildBedrock, buildSurface, getBlockState, getColumnSample, getNoiseSizeY, method_16409, method_16410, populateNoise, sampleNoiseColumn, sampleNoiseColumnaddStructureReferences, carve, generateFeatures, getBiomeSource, getConfig, getDecorationBiome, getHeightInGround, getHeightOnGround, getSpawnHeight, getStructureConfig, hasStructure, hasStructure, locateStructure, populateBiomes, populateEntities, setStructureStarts, spawnEntitiesprivate final double[] noiseFalloff
private final CavesChunkGeneratorConfig field_24511
public CavesChunkGenerator(BiomeSource biomeSource, long long2, CavesChunkGeneratorConfig cavesChunkGeneratorConfig)
@Environment(value=CLIENT) public ChunkGenerator method_27997(long long2)
method_27997 in class ChunkGeneratorprotected void sampleNoiseColumn(double[] buffer,
int x,
int z)
sampleNoiseColumn in class SurfaceChunkGenerator<CavesChunkGeneratorConfig>protected double[] computeNoiseRange(int x,
int z)
computeNoiseRange in class SurfaceChunkGenerator<CavesChunkGeneratorConfig>protected double computeNoiseFalloff(double depth,
double scale,
int y)
computeNoiseFalloff in class SurfaceChunkGenerator<CavesChunkGeneratorConfig>private double[] buildNoiseFalloff()
public List<Biome.SpawnEntry> getEntitySpawnList(Biome biome, StructureAccessor structureAccessor, SpawnGroup spawnGroup, BlockPos blockPos)
getEntitySpawnList in class ChunkGeneratorpublic int getMaxY()
getMaxY in class ChunkGeneratorpublic int getSeaLevel()
getSeaLevel in class ChunkGeneratorpublic int getHeight(int x,
int z,
Heightmap.Type heightmapType)
getHeight in class SurfaceChunkGenerator<CavesChunkGeneratorConfig>