An efficient library to simulate Perlin and Simplex Noise as used in Minecraft.
We don't recommend using that lib directly if you don't know how Noise generation works, please prefer using TerrainUtils
JRand rand = new JRand(1L);
OctaveSimplexNoiseSampler simplexSampler = new OctaveSimplexNoiseSampler(rand, 2);
double value=simplexSampler.sample(0, 0);
JRand rand = new JRand(1L);
OctavePerlinNoiseSampler perlinSampler = new OctavePerlinNoiseSampler(rand, Arrays.stream(new int[] {1, 2}));
double value=perlinSampler.sample(0, 0, 0);
Licensed under MIT
Maintained by Neil and KaptainWutax.
NOT OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.