Class GridNoise

java.lang.Object
com.hypixel.hytale.procedurallib.logic.GridNoise
All Implemented Interfaces:
NoiseFunction, NoiseFunction2d, NoiseFunction3d

public class GridNoise extends Object implements NoiseFunction
  • Field Details

    • thicknessX

      protected final double thicknessX
    • thicknessY

      protected final double thicknessY
    • thicknessZ

      protected final double thicknessZ
    • thicknessX_m1

      protected final double thicknessX_m1
    • thicknessY_m1

      protected final double thicknessY_m1
    • thicknessZ_m1

      protected final double thicknessZ_m1
  • Constructor Details

    • GridNoise

      public GridNoise(double thicknessX, double thicknessY, double thicknessZ)
  • Method Details

    • get

      public double get(int seed, int offsetSeed, double x, double y)
      Specified by:
      get in interface NoiseFunction2d
    • get

      public double get(int seed, int offsetSeed, double x, double y, double z)
      Specified by:
      get in interface NoiseFunction3d
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object