Skip to content

A dead simple library to handle all the Minecraft noise generation algorithms in pure Java

License

Notifications You must be signed in to change notification settings

SeedFinding/mc_noise_java

Repository files navigation

Build Status

Minecraft Noise

An efficient library to simulate Perlin and Simplex Noise as used in Minecraft.

Usage

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);

Legal mentions

Licensed under MIT

Maintained by Neil and KaptainWutax.

NOT OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.

About

A dead simple library to handle all the Minecraft noise generation algorithms in pure Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages