Package com.hypixel.hytale.procedurallib
Class NoiseFunctionPair
java.lang.Object
com.hypixel.hytale.procedurallib.NoiseFunctionPair
- All Implemented Interfaces:
NoiseFunction,NoiseFunction2d,NoiseFunction3d
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNoiseFunctionPair(NoiseFunction2d noiseFunction2d, NoiseFunction3d noiseFunction3d) -
Method Summary
Modifier and TypeMethodDescriptiondoubleget(int seed, int offsetSeed, double x, double y) doubleget(int seed, int offsetSeed, double x, double y, double z) voidsetNoiseFunction2d(NoiseFunction2d noiseFunction2d) voidsetNoiseFunction3d(NoiseFunction3d noiseFunction3d) toString()
-
Field Details
-
noiseFunction2d
-
noiseFunction3d
-
-
Constructor Details
-
NoiseFunctionPair
public NoiseFunctionPair() -
NoiseFunctionPair
-
-
Method Details
-
getNoiseFunction2d
-
setNoiseFunction2d
-
getNoiseFunction3d
-
setNoiseFunction3d
-
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
-
toString
-