Class ConstantNoise

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

public class ConstantNoise extends Object implements NoiseFunction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConstantNoise(double value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get(int seed, int offsetSeed, double x, double y)
     
    double
    get(int seed, int offsetSeed, double x, double y, double z)
     
    double
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • value

      protected final double value
  • Constructor Details

    • ConstantNoise

      public ConstantNoise(double value)
  • Method Details

    • getValue

      public double getValue()
    • 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