Contents
Interface IHeightThresholdInterpreter
- All Known Implementing Classes:
BasicHeightThresholdInterpreter, NoiseHeightThresholdInterpreter
public interface IHeightThresholdInterpreter
- Since:
- 29.06.2017
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetContext(int seed, double x, double z) intintintfloatgetThreshold(int seed, double x, double z, int height) floatgetThreshold(int seed, double x, double z, int height, double context) default booleanisSpawnable(int height) static floatlerp(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)
-