public class SkylandsChunkSource extends NoiseChunkSource
NoiseChunkSource.NoiseScaleDepthhorizontalNoiseResolution, noiseSizeX, noiseSizeY, noiseSizeZ, noiseTopY, verticalNoiseResolutionblockSources, DEEP_OCEAN_MIN_DEPTH, defaultBlock, defaultFluid, OCEAN_MIN_DEPTH, random, seaLevel, seed, settings, worldHeight| Constructor and Description |
|---|
SkylandsChunkSource(long seed,
ModernBetaGeneratorSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
BiomeInjectionRules.Builder |
createBiomeInjectionRules(BiomeSource biomeSource)
Creates the rule set builder used for biome injection.
|
int |
getSeaLevel()
Gets the chunk source sea level set in the chunk generator settings.
|
void |
provideSurface(net.minecraft.world.World world,
net.minecraft.world.biome.Biome[] biomes,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int chunkX,
int chunkZ)
Inherited from
provideSurface. |
protected double |
sampleNoiseOffset(int noiseY,
double scale,
double depth)
Samples the noise offset at the given noise y-coordinate.
|
protected NoiseChunkSource.NoiseScaleDepth |
sampleNoiseScaleDepth(int startNoiseX,
int startNoiseZ,
int localNoiseX,
int localNoiseZ)
Samples the scale and depth values at startNoiseX + localNoiseX, startNoiseZ + localNoiseZ.
|
debugNoiseCoordinates, debugNoiseModifiers, debugNoiseSettings, getDensity, getHeight, getNoiseSampler, getNoiseSettings, provideInitialChunk, provideProcessedChunk, sampleNoiseColumnbuildBiomeInjectorRules, createRandom, getBeachOctaveNoise, getDefaultBlock, getDefaultFluid, getForestOctaveNoise, getGeneratorSettings, getSeed, getSurfaceOctaveNoise, getWorldSpawner, pruneChunk, setBeachOctaveNoise, setCloudHeight, setForestOctaveNoise, setSurfaceOctaveNoise, skipChunkpublic SkylandsChunkSource(long seed,
ModernBetaGeneratorSettings settings)
public int getSeaLevel()
ChunkSourcegetSeaLevel in class ChunkSourcepublic void provideSurface(net.minecraft.world.World world,
net.minecraft.world.biome.Biome[] biomes,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int chunkX,
int chunkZ)
NoiseChunkSourceprovideSurface.provideSurface in class NoiseChunkSourceworld - The world objectbiomes - Biome array for chunkchunkPrimer - Chunk primerchunkX - x-coordinate in chunk coordinateschunkZ - z-coordinate in chunk coordinatespublic BiomeInjectionRules.Builder createBiomeInjectionRules(BiomeSource biomeSource)
ChunkSourcecreateBiomeInjectionRules in class ChunkSourcebiomeSource - The biome source.protected NoiseChunkSource.NoiseScaleDepth sampleNoiseScaleDepth(int startNoiseX, int startNoiseZ, int localNoiseX, int localNoiseZ)
NoiseChunkSourcesampleNoiseScaleDepth 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.