Class SingleNoiseProperty

java.lang.Object
com.hypixel.hytale.procedurallib.property.SingleNoiseProperty
All Implemented Interfaces:
NoiseProperty

public class SingleNoiseProperty extends Object implements NoiseProperty
  • Field Details

    • seedOffset

      protected final int seedOffset
    • function

      protected final NoiseFunction function
  • Constructor Details

    • SingleNoiseProperty

      public SingleNoiseProperty(NoiseFunction function)
    • SingleNoiseProperty

      public SingleNoiseProperty(int seedOffset, NoiseFunction function)
  • Method Details

    • getSeedOffset

      public int getSeedOffset()
    • getFunction

      public NoiseFunction getFunction()
    • get

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

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

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