Class OctavesNoiseGenerator

java.lang.Object
net.minecraft.world.gen.OctavesNoiseGenerator
All Implemented Interfaces:
INoiseGenerator

public class OctavesNoiseGenerator extends Object implements INoiseGenerator
  • Field Details

    • noiseLevels

      private final ImprovedNoiseGenerator[] noiseLevels
    • amplitudes

      private final it.unimi.dsi.fastutil.doubles.DoubleList amplitudes
    • lowestFreqValueFactor

      private final double lowestFreqValueFactor
    • lowestFreqInputFactor

      private final double lowestFreqInputFactor
  • Constructor Details

    • OctavesNoiseGenerator

      public OctavesNoiseGenerator(SharedSeedRandom p_i232142_1_, IntStream p_i232142_2_)
    • OctavesNoiseGenerator

      public OctavesNoiseGenerator(SharedSeedRandom p_i232141_1_, List<Integer> p_i232141_2_)
    • OctavesNoiseGenerator

      private OctavesNoiseGenerator(SharedSeedRandom p_i225879_1_, it.unimi.dsi.fastutil.ints.IntSortedSet p_i225879_2_)
    • OctavesNoiseGenerator

      private OctavesNoiseGenerator(SharedSeedRandom p_i242040_1_, com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> p_i242040_2_)
  • Method Details

    • create

      public static OctavesNoiseGenerator create(SharedSeedRandom p_242932_0_, int p_242932_1_, it.unimi.dsi.fastutil.doubles.DoubleList p_242932_2_)
    • 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

      @Nullable public ImprovedNoiseGenerator getOctaveNoise(int p_215463_1_)
    • 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 interface INoiseGenerator