public class BetaSurfaceBuilder extends NoiseSurfaceBuilder
chunkSource, defaultBlock, defaultFluid, settings| Constructor and Description |
|---|
BetaSurfaceBuilder(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 |
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, isBedrock, isCustomSurface, useBedrock, useCustomSurfaceBuilder, useSandstonepublic BetaSurfaceBuilder(ChunkSource chunkSource, ModernBetaGeneratorSettings settings)
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.