public class SimplexOctaveGenerator extends PerlinOctaveGenerator
noise, sizeX, sizeY, sizeZ
Constructor and Description |
---|
SimplexOctaveGenerator(Random rand,
int octaves) |
SimplexOctaveGenerator(Random rand,
int octaves,
int sizeX,
int sizeZ) |
SimplexOctaveGenerator(Random rand,
int octaves,
int sizeX,
int sizeY,
int sizeZ) |
Modifier and Type | Method and Description |
---|---|
protected static org.bukkit.util.noise.NoiseGenerator[] |
createOctaves(Random rand,
int octaves) |
double[] |
getFractalBrownianMotion(double x,
double y,
double z,
double lacunarity,
double persistence)
Generates multiple layers of noise.
|
floor, getFractalBrownianMotion, getSizeX, getSizeY, getSizeZ
public SimplexOctaveGenerator(Random rand, int octaves, int sizeX, int sizeZ)
public SimplexOctaveGenerator(Random rand, int octaves, int sizeX, int sizeY, int sizeZ)
public SimplexOctaveGenerator(Random rand, int octaves)
protected static org.bukkit.util.noise.NoiseGenerator[] createOctaves(Random rand, int octaves)
public double[] getFractalBrownianMotion(double x, double y, double z, double lacunarity, double persistence)
PerlinOctaveGenerator
getFractalBrownianMotion
in class PerlinOctaveGenerator
x
- the starting X coordinatey
- the starting Y coordinatez
- the starting Z coordinatelacunarity
- layer n's frequency as a fraction of layer n - 1
's frequencypersistence
- layer n's amplitude as a multiple of layer n - 1
's amplitudeCopyright © 2021. All rights reserved.