public class CavesChunkGenerator extends SurfaceChunkGenerator<CavesChunkGeneratorConfig>
| Modifier and Type | Field and Description |
|---|---|
private double[] |
noiseFalloff |
defaultBlock, defaultFluid, randombiomeSource, config, seed, world| Constructor and Description |
|---|
CavesChunkGenerator(IWorld iWorld,
BiomeSource biomeSource,
CavesChunkGeneratorConfig config) |
| 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(StructureAccessor structureAccessor,
EntityCategory entityCategory,
BlockPos blockPos) |
int |
getHeight(int x,
int z,
Heightmap.Type heightmapType) |
int |
getMaxY() |
int |
getSeaLevel() |
int |
getSpawnHeight() |
protected void |
sampleNoiseColumn(double[] buffer,
int x,
int z) |
buildBedrock, buildSurface, getColumnSample, getNoiseSizeY, method_16409, method_16410, method_26262, populateNoise, sampleNoiseColumn, sampleNoiseColumnaddStructureReferences, carve, generateFeatures, getBiomeSource, getConfig, getDecorationBiome, getHeightInGround, getHeightOnGround, getSeed, getStructureConfig, hasStructure, locateStructure, method_27192, populateBiomes, populateEntities, setStructureStarts, spawnEntitiespublic CavesChunkGenerator(IWorld iWorld, BiomeSource biomeSource, CavesChunkGeneratorConfig config)
protected 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(StructureAccessor structureAccessor, EntityCategory entityCategory, BlockPos blockPos)
getEntitySpawnList in class ChunkGenerator<CavesChunkGeneratorConfig>public int getSpawnHeight()
getSpawnHeight in class ChunkGenerator<CavesChunkGeneratorConfig>public int getMaxY()
getMaxY in class ChunkGenerator<CavesChunkGeneratorConfig>public int getSeaLevel()
getSeaLevel in class ChunkGenerator<CavesChunkGeneratorConfig>public int getHeight(int x,
int z,
Heightmap.Type heightmapType)
getHeight in class SurfaceChunkGenerator<CavesChunkGeneratorConfig>