public class AlphaSurfaceBuilder extends NoiseSurfaceBuilder
chunkSource, defaultBlock, defaultFluid, settings| Constructor and Description |
|---|
AlphaSurfaceBuilder(ChunkSource chunkSource,
ModernBetaGeneratorSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBasin(int surfaceDepth)
Determines whether stone basins should generate given the surface depth.
|
boolean |
isBeach(int x,
int z,
java.util.Random random)
Determines whether beaches should generate at the given coordinates.
|
boolean |
isBedrock(int y,
java.util.Random random)
Determines whether bedrock should generate at the given y-level.
|
boolean |
isGravelBeach(int x,
int z,
java.util.Random random)
Determines whether gravel beaches should generate at the given coordinates.
|
int |
sampleSurfaceDepth(int x,
int z,
java.util.Random random)
Samples the surface depth at the given coordinates.
|
atBeachDepth, getBeachOctaveNoise, getSurfaceOctaveNoise, getSurfaceVariation, provideSurfacecreateSurfaceRandom, getSeaLevel, getWorldHeight, isCustomSurface, useBedrock, useCustomSurfaceBuilder, useSandstonepublic AlphaSurfaceBuilder(ChunkSource chunkSource, ModernBetaGeneratorSettings settings)
public boolean isBedrock(int y,
java.util.Random random)
SurfaceBuilderisBedrock in class SurfaceBuildery - y-coordinate in block coordinatesrandom - The random used to vary bedrock.public boolean isBeach(int x,
int z,
java.util.Random random)
NoiseSurfaceBuilderisBeach in class NoiseSurfaceBuilderx - x-coordinate in block coordinates.z - z-coordinate in block coordinates.random - The random used to vary surface transition. Can be null if transitions aren't implemented.public boolean isGravelBeach(int x,
int z,
java.util.Random random)
NoiseSurfaceBuilderisGravelBeach in class NoiseSurfaceBuilderx - x-coordinate in block coordinates.z - z-coordinate in block coordinates.random - The random used to vary surface transition. Can be null if transitions aren't implemented.public int sampleSurfaceDepth(int x,
int z,
java.util.Random random)
NoiseSurfaceBuildersampleSurfaceDepth in class NoiseSurfaceBuilderx - x-coordinate in block coordinates.z - z-coordinate in block coordinates.random - The random used to vary surface transition. Can be null if transitions aren't implemented.public boolean isBasin(int surfaceDepth)
NoiseSurfaceBuilderisBasin in class NoiseSurfaceBuildersurfaceDepth - The surface depth noise value.