@FunctionalInterface
public interface NoiseColumnSampler
| Modifier and Type | Method and Description |
|---|---|
void |
sampleNoiseColumn(double[] buffer,
int startNoiseX,
int startNoiseZ,
int localNoiseX,
int localNoiseZ,
int noiseSizeX,
int noiseSizeY,
int noiseSizeZ)
Samples noise in a column at a particular x/z-coordinate.
|
void sampleNoiseColumn(double[] buffer,
int startNoiseX,
int startNoiseZ,
int localNoiseX,
int localNoiseZ,
int noiseSizeX,
int noiseSizeY,
int noiseSizeZ)
buffer - The array to store initial densities in for the column.startNoiseX - x-coordinate in noise coordinates, at the beginning of the chunk.startNoiseZ - z-coordinate in noise coordinates, at the beginning of the chunk.localNoiseX - x-coordinate in noise coordinates, the current position in the chunk.localNoiseZ - z-coordinate in noise coordinates, the current position in the chunk.noiseSizeX - Number of subchunks in the x-axis of a chunk.noiseSizeY - Number of subchunks in world height.noiseSizeZ - Number of subchunks in the z-axis of a chunk.