Class MeshNoise

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

public class MeshNoise extends Object implements NoiseFunction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.joml.Vector2i[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MeshNoise(IIntCondition density, double thickness, double jitterX, double jitterY)
     
  • 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)
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ADJACENT_CELLS

      public static final org.joml.Vector2i[] ADJACENT_CELLS
  • Constructor Details

    • MeshNoise

      public MeshNoise(IIntCondition density, double thickness, double jitterX, double jitterY)
  • 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