Package net.minecraft.world.gen
Class PerlinNoiseGenerator
- java.lang.Object
-
- net.minecraft.world.gen.PerlinNoiseGenerator
-
- All Implemented Interfaces:
INoiseGenerator
public class PerlinNoiseGenerator extends java.lang.Object implements INoiseGenerator
-
-
Field Summary
Fields Modifier and Type Field Description private double
highestFreqInputFactor
private double
highestFreqValueFactor
private SimplexNoiseGenerator[]
noiseLevels
-
Constructor Summary
Constructors Modifier Constructor Description private
PerlinNoiseGenerator(SharedSeedRandom p_i225881_1_, it.unimi.dsi.fastutil.ints.IntSortedSet p_i225881_2_)
PerlinNoiseGenerator(SharedSeedRandom p_i232143_1_, java.util.List<java.lang.Integer> p_i232143_2_)
PerlinNoiseGenerator(SharedSeedRandom p_i232144_1_, java.util.stream.IntStream p_i232144_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getSurfaceNoiseValue(double p_215460_1_, double p_215460_3_, double p_215460_5_, double p_215460_7_)
double
getValue(double p_215464_1_, double p_215464_3_, boolean p_215464_5_)
-
-
-
Field Detail
-
noiseLevels
private final SimplexNoiseGenerator[] noiseLevels
-
highestFreqValueFactor
private final double highestFreqValueFactor
-
highestFreqInputFactor
private final double highestFreqInputFactor
-
-
Constructor Detail
-
PerlinNoiseGenerator
public PerlinNoiseGenerator(SharedSeedRandom p_i232144_1_, java.util.stream.IntStream p_i232144_2_)
-
PerlinNoiseGenerator
public PerlinNoiseGenerator(SharedSeedRandom p_i232143_1_, java.util.List<java.lang.Integer> p_i232143_2_)
-
PerlinNoiseGenerator
private PerlinNoiseGenerator(SharedSeedRandom p_i225881_1_, it.unimi.dsi.fastutil.ints.IntSortedSet p_i225881_2_)
-
-
Method Detail
-
getValue
public double getValue(double p_215464_1_, double p_215464_3_, boolean p_215464_5_)
-
getSurfaceNoiseValue
public double getSurfaceNoiseValue(double p_215460_1_, double p_215460_3_, double p_215460_5_, double p_215460_7_)
- Specified by:
getSurfaceNoiseValue
in interfaceINoiseGenerator
-
-