Class CellNoise
java.lang.Object
com.hypixel.hytale.procedurallib.logic.CellNoise
- All Implemented Interfaces:
NoiseFunction,NoiseFunction2d,NoiseFunction3d
- Direct Known Subclasses:
CellNoiseJsonLoader.LoadedCellNoise
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CellNoise.CellFunctionprotected final CellDistanceFunctionprotected final NoisePropertyprotected final PointEvaluator -
Constructor Summary
ConstructorsConstructorDescriptionCellNoise(CellDistanceFunction distanceFunction, PointEvaluator pointEvaluator, CellNoise.CellFunction cellFunction, NoiseProperty noiseLookup) -
Method Summary
Modifier and TypeMethodDescriptiondoubleget(int seed, int offsetSeed, double x, double y) doubleget(int seed, int offsetSeed, double x, double y, double z) protected ResultBuffer.ResultBuffer2dprotected ResultBuffer.ResultBuffer3dtoString()
-
Field Details
-
distanceFunction
-
pointEvaluator
-
cellFunction
-
noiseLookup
-
-
Constructor Details
-
CellNoise
public CellNoise(CellDistanceFunction distanceFunction, PointEvaluator pointEvaluator, CellNoise.CellFunction cellFunction, @Nullable NoiseProperty noiseLookup)
-
-
Method Details
-
getDistanceFunction
-
getCellFunction
-
getNoiseLookup
-
get
public double get(int seed, int offsetSeed, double x, double y) - Specified by:
getin interfaceNoiseFunction2d
-
get
public double get(int seed, int offsetSeed, double x, double y, double z) - Specified by:
getin interfaceNoiseFunction3d
-
localBuffer2d
-
localBuffer3d
-
toString
-