public class Infdev420ChunkSource extends NoiseChunkSource
horizontalNoiseResolution, INITIAL_NOISE_HEIGHT_SAMPLER, noiseSizeX, noiseSizeY, noiseSizeZ, noiseTopY, verticalNoiseResolutionbiomeSource, blockSources, DEEP_OCEAN_MIN_DEPTH, defaultBlock, defaultFluid, OCEAN_MIN_DEPTH, random, seaLevel, seed, settings, worldHeight| Constructor and Description |
|---|
Infdev420ChunkSource(long seed,
ModernBetaGeneratorSettings settings,
BiomeSource biomeSource) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPopulationSeed(int chunkX,
int chunkZ)
Gets the population seed based on chunk coordinates.
|
protected NoiseHeight |
sampleNoiseHeight(int startNoiseX,
int startNoiseZ,
int localNoiseX,
int localNoiseZ)
Samples the scale and depth values at startNoiseX + localNoiseX, startNoiseZ + localNoiseZ.
|
protected double |
sampleNoiseOffset(int noiseY,
double scale,
double depth)
Samples the noise offset at the given noise y-coordinate.
|
debugNoiseCoordinates, debugNoiseModifiers, debugNoiseSettings, getDensity, getHeight, getNoiseHeight, getNoiseHeightSampler, getNoiseSampler, getNoiseSettings, getNoiseSizeX, getNoiseSizeY, getNoiseSizeZ, provideInitialChunk, provideProcessedChunk, provideSurface, sampleNoiseColumncreateBiomeInjectionRules, createRandom, getBeachOctaveNoise, getDefaultBlock, getDefaultFluid, getForestOctaveNoise, getGeneratorSettings, getSeaLevel, getSeed, getSurfaceOctaveNoise, getWorldSpawner, pruneChunk, setBeachOctaveNoise, setCloudHeight, setForestOctaveNoise, setSurfaceOctaveNoise, skipChunkpublic Infdev420ChunkSource(long seed,
ModernBetaGeneratorSettings settings,
BiomeSource biomeSource)
public long getPopulationSeed(int chunkX,
int chunkZ)
ChunkSourcegetPopulationSeed in class ChunkSourcechunkX - x-coordinate in chunk coordinateschunkZ - z-coordinate in chunk coordinatesprotected NoiseHeight sampleNoiseHeight(int startNoiseX, int startNoiseZ, int localNoiseX, int localNoiseZ)
NoiseChunkSourcesampleNoiseHeight in class NoiseChunkSourcestartNoiseX - x-coordinate start of chunk in noise coordinates.startNoiseZ - z-coordinate start of chunk in noise coordinates.localNoiseX - Current subchunk index along x-axis.localNoiseZ - Current subchunk index along z-axis.protected double sampleNoiseOffset(int noiseY,
double scale,
double depth)
NoiseChunkSourcesampleNoiseOffset in class NoiseChunkSourcenoiseY - y-coordinate in noise coordinates.scale - The terrain scale modifier.depth - The terrain depth modifier.