use of net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise in project Tropicraft by Tropicraft.
the class MangroveSurfaceBuilder method initNoise.
@Override
public void initNoise(long seed) {
if (this.seed != seed || this.mudNoise == null) {
WorldgenRandom random = new WorldgenRandom(seed);
this.mudNoise = new PerlinSimplexNoise(random, IntStream.rangeClosed(0, 2));
this.streamNoise = new PerlinSimplexNoise(random, IntStream.rangeClosed(0, 2));
}
this.seed = seed;
}
Aggregations