Class SimplexOctaveGenerator

java.lang.Object
org.bukkit.util.noise.OctaveGenerator
net.glowstone.util.noise.PerlinOctaveGenerator
net.glowstone.util.noise.SimplexOctaveGenerator

public class SimplexOctaveGenerator extends PerlinOctaveGenerator
  • Constructor Details

    • SimplexOctaveGenerator

      public SimplexOctaveGenerator(Random rand, int octaves, int sizeX, int sizeZ)
    • SimplexOctaveGenerator

      public SimplexOctaveGenerator(Random rand, int octaves, int sizeX, int sizeY, int sizeZ)
    • SimplexOctaveGenerator

      public SimplexOctaveGenerator(Random rand, int octaves)
  • Method Details

    • createOctaves

      protected static org.bukkit.util.noise.NoiseGenerator[] createOctaves(Random rand, int octaves)
    • getFractalBrownianMotion

      public double[] getFractalBrownianMotion(double x, double y, double z, double lacunarity, double persistence)
      Description copied from class: PerlinOctaveGenerator
      Generates multiple layers of noise.
      Overrides:
      getFractalBrownianMotion in class PerlinOctaveGenerator
      Parameters:
      x - the starting X coordinate
      y - the starting Y coordinate
      z - the starting Z coordinate
      lacunarity - layer n's frequency as a fraction of layer n - 1's frequency
      persistence - layer n's amplitude as a multiple of layer n - 1's amplitude
      Returns:
      The noise array