Class PerlinOctaveGenerator

java.lang.Object
org.bukkit.util.noise.OctaveGenerator
org.bukkit.util.noise.PerlinOctaveGenerator

public class PerlinOctaveGenerator extends OctaveGenerator
Creates perlin noise through unbiased octaves
  • Constructor Details

    • PerlinOctaveGenerator

      public PerlinOctaveGenerator(@NotNull World world, int octaves)
      Creates a perlin octave generator for the given world
      Parameters:
      world - World to construct this generator for
      octaves - 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 for
      octaves - Amount of octaves to create
    • PerlinOctaveGenerator

      public PerlinOctaveGenerator(@NotNull Random rand, int octaves)
      Creates a perlin octave generator for the given Random
      Parameters:
      rand - Random object to construct this generator for
      octaves - Amount of octaves to create