HyCodeYourTale
classpublicPriority 3

BasicHeightThresholdInterpreter

com.hypixel.hytale.procedurallib.condition.BasicHeightThresholdInterpreter

implements IHeightThresholdInterpreter

7

Methods

7

Public Methods

3

Fields

1

Constructors

Constructors

public
BasicHeightThresholdInterpreter(int[] positions, float[] thresholds, int length)

Methods

Public Methods (7)

public
double getContext(int seed, double x, double y)
@Override
public
int getHighestNonZero()
@Override
public
int getLength()
@Override
public
int getLowestNonOne()
@Override
public
float getThreshold(int seed, double x, double y, int height)
@Override
public
float getThreshold(int seed, double x, double y, int height, double context)
@Override
public
String toString()
@Nonnull@Override

Fields

Protected Fields (3)

protectedint highestNonZero
protectedfloat[] interpolatedThresholds
protectedint lowestNonOne