Class OctavesNoiseGenerator

    • Field Detail

      • amplitudes

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

        private final double lowestFreqValueFactor
      • lowestFreqInputFactor

        private final double lowestFreqInputFactor
    • Constructor Detail

      • OctavesNoiseGenerator

        public OctavesNoiseGenerator​(SharedSeedRandom p_i232142_1_,
                                     java.util.stream.IntStream p_i232142_2_)
      • OctavesNoiseGenerator

        public OctavesNoiseGenerator​(SharedSeedRandom p_i232141_1_,
                                     java.util.List<java.lang.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<java.lang.Integer,​it.unimi.dsi.fastutil.doubles.DoubleList> p_i242040_2_)
    • Method Detail

      • makeAmplitudes

        private static com.mojang.datafixers.util.Pair<java.lang.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_)
      • 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