Class OffsetNoiseProperty

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

public class OffsetNoiseProperty extends Object implements NoiseProperty
  • Field Details

    • noiseProperty

      protected final NoiseProperty noiseProperty
    • offsetX

      protected final double offsetX
    • offsetY

      protected final double offsetY
    • offsetZ

      protected final double offsetZ
  • Constructor Details

    • OffsetNoiseProperty

      public OffsetNoiseProperty(NoiseProperty noiseProperty, double offset)
    • OffsetNoiseProperty

      public OffsetNoiseProperty(NoiseProperty noiseProperty, double offsetX, double offsetY, double offsetZ)
  • Method Details

    • getNoiseProperty

      public NoiseProperty getNoiseProperty()
    • getOffsetX

      public double getOffsetX()
    • getOffsetY

      public double getOffsetY()
    • getOffsetZ

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