Package net.minecraft.world.gen
Class OctavesNoiseGenerator
java.lang.Object
net.minecraft.world.gen.OctavesNoiseGenerator
- All Implemented Interfaces:
INoiseGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.doubles.DoubleList
private final double
private final double
private final ImprovedNoiseGenerator[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
OctavesNoiseGenerator
(SharedSeedRandom p_i242040_1_, com.mojang.datafixers.util.Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> p_i242040_2_) private
OctavesNoiseGenerator
(SharedSeedRandom p_i225879_1_, it.unimi.dsi.fastutil.ints.IntSortedSet p_i225879_2_) OctavesNoiseGenerator
(SharedSeedRandom p_i232141_1_, List<Integer> p_i232141_2_) OctavesNoiseGenerator
(SharedSeedRandom p_i232142_1_, IntStream p_i232142_2_) -
Method Summary
Modifier and TypeMethodDescriptionstatic OctavesNoiseGenerator
create
(SharedSeedRandom p_242932_0_, int p_242932_1_, it.unimi.dsi.fastutil.doubles.DoubleList p_242932_2_) getOctaveNoise
(int p_215463_1_) double
getSurfaceNoiseValue
(double p_215460_1_, double p_215460_3_, double p_215460_5_, double p_215460_7_) double
getValue
(double p_205563_1_, double p_205563_3_, double p_205563_5_) double
getValue
(double p_215462_1_, double p_215462_3_, double p_215462_5_, double p_215462_7_, double p_215462_9_, boolean p_215462_11_) private static com.mojang.datafixers.util.Pair<Integer,
it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes
(it.unimi.dsi.fastutil.ints.IntSortedSet p_242933_0_) static double
wrap
(double p_215461_0_)
-
Field Details
-
noiseLevels
-
amplitudes
private final it.unimi.dsi.fastutil.doubles.DoubleList amplitudes -
lowestFreqValueFactor
private final double lowestFreqValueFactor -
lowestFreqInputFactor
private final double lowestFreqInputFactor
-
-
Constructor Details
-
Method Details
-
makeAmplitudes
private static com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> makeAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet p_242933_0_) -
getValue
public double getValue(double p_205563_1_, double p_205563_3_, double p_205563_5_) -
getValue
public double getValue(double p_215462_1_, double p_215462_3_, double p_215462_5_, double p_215462_7_, double p_215462_9_, boolean p_215462_11_) -
getOctaveNoise
-
wrap
public static double wrap(double p_215461_0_) -
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