Interface IHeightThresholdInterpreter

All Known Implementing Classes:
BasicHeightThresholdInterpreter, NoiseHeightThresholdInterpreter

public interface IHeightThresholdInterpreter
Since:
29.06.2017
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getContext(int seed, double x, double z)
     
    int
     
    int
     
    int
     
    float
    getThreshold(int seed, double x, double z, int height)
     
    float
    getThreshold(int seed, double x, double z, int height, double context)
     
    default boolean
    isSpawnable(int height)
     
    static float
    lerp(float from, float to, float t)
     
  • Method Details

    • getLowestNonOne

      int getLowestNonOne()
    • getHighestNonZero

      int getHighestNonZero()
    • getThreshold

      float getThreshold(int seed, double x, double z, int height)
    • getThreshold

      float getThreshold(int seed, double x, double z, int height, double context)
    • getContext

      double getContext(int seed, double x, double z)
    • getLength

      int getLength()
    • isSpawnable

      default boolean isSpawnable(int height)
    • lerp

      static float lerp(float from, float to, float t)