public class MathUtil extends Object
Constructor and Description |
---|
MathUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
getCarverChunkSeed(int chunkX,
int chunkZ,
long seed)
Gets the carver seed for a chunk.
|
static long |
hashToLong(String s) |
static double |
standardDeviation(double[] numArray)
Gets the standard deviation of an array of doubles.
|
public static double standardDeviation(double[] numArray)
numArray
- The array of numbers to calculate the standard deviation of.public static long getCarverChunkSeed(int chunkX, int chunkZ, long seed)
chunkX
- Chunk's X coordinatechunkZ
- Chunk's Z coordinateseed
- World seedpublic static long hashToLong(String s)
Copyright © 2020. All rights reserved.