Package org.bukkit.util.noise
Class PerlinOctaveGenerator
java.lang.Object
org.bukkit.util.noise.OctaveGenerator
org.bukkit.util.noise.PerlinOctaveGenerator
Creates perlin noise through unbiased octaves
-
Field Summary
Fields inherited from class org.bukkit.util.noise.OctaveGenerator
octaves, xScale, yScale, zScale
-
Constructor Summary
ConstructorDescriptionPerlinOctaveGenerator(long seed, int octaves)
Creates a perlin octave generator for the given worldPerlinOctaveGenerator(@NotNull Random rand, int octaves)
Creates a perlin octave generator for the givenRandom
PerlinOctaveGenerator(@NotNull World world, int octaves)
Creates a perlin octave generator for the given world -
Method Summary
-
Constructor Details
-
PerlinOctaveGenerator
Creates a perlin octave generator for the given world- Parameters:
world
- World to construct this generator foroctaves
- Amount of octaves to create
-
PerlinOctaveGenerator
public PerlinOctaveGenerator(long seed, int octaves)Creates a perlin octave generator for the given world- Parameters:
seed
- Seed to construct this generator foroctaves
- Amount of octaves to create
-
PerlinOctaveGenerator
Creates a perlin octave generator for the givenRandom
- Parameters:
rand
- Random object to construct this generator foroctaves
- Amount of octaves to create
-