Class OctavePerlinNoiseSampler

java.lang.Object
net.minecraft.util.math.noise.OctavePerlinNoiseSampler
All Implemented Interfaces:
NoiseSampler

public class OctavePerlinNoiseSampler extends Object implements NoiseSampler
Mappings:
Namespace Name
official ddw
intermediary net/minecraft/class_3537
named net/minecraft/util/math/noise/OctavePerlinNoiseSampler
  • Field Details

    • field_31704

      private static final int field_31704
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a:I
      intermediary field_31704 Lnet/minecraft/class_3537;field_31704:I
      named field_31704 Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;field_31704:I
    • octaveSamplers

      private final PerlinNoiseSampler[] octaveSamplers
      Mappings:
      Namespace Name Mixin selector
      official b Lddw;b:[Lddt;
      intermediary field_15744 Lnet/minecraft/class_3537;field_15744:[Lnet/minecraft/class_3756;
      named octaveSamplers Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;octaveSamplers:[Lnet/minecraft/util/math/noise/PerlinNoiseSampler;
    • amplitudes

      private final DoubleList amplitudes
      Mappings:
      Namespace Name Mixin selector
      official c Lddw;c:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary field_26445 Lnet/minecraft/class_3537;field_26445:Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named amplitudes Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;amplitudes:Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • persistence

      private final double persistence
      Mappings:
      Namespace Name Mixin selector
      official d Lddw;d:D
      intermediary field_20659 Lnet/minecraft/class_3537;field_20659:D
      named persistence Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;persistence:D
    • lacunarity

      private final double lacunarity
      Mappings:
      Namespace Name Mixin selector
      official e Lddw;e:D
      intermediary field_20660 Lnet/minecraft/class_3537;field_20660:D
      named lacunarity Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;lacunarity:D
  • Constructor Details

    • OctavePerlinNoiseSampler

      public OctavePerlinNoiseSampler(WorldGenRandom random, IntStream octaves)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Ljava/util/stream/IntStream;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Ljava/util/stream/IntStream;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Ljava/util/stream/IntStream;)V
    • OctavePerlinNoiseSampler

      public OctavePerlinNoiseSampler(WorldGenRandom random, List<Integer> octaves)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Ljava/util/List;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Ljava/util/List;)V
    • OctavePerlinNoiseSampler

      private OctavePerlinNoiseSampler(WorldGenRandom random, IntSortedSet octaves)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Lit/unimi/dsi/fastutil/ints/IntSortedSet;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Lit/unimi/dsi/fastutil/ints/IntSortedSet;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Lit/unimi/dsi/fastutil/ints/IntSortedSet;)V
    • OctavePerlinNoiseSampler

      private OctavePerlinNoiseSampler(WorldGenRandom random, IntSortedSet octaves, LongFunction<WorldGenRandom> randomFunction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Lit/unimi/dsi/fastutil/ints/IntSortedSet;Ljava/util/function/LongFunction;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Lit/unimi/dsi/fastutil/ints/IntSortedSet;Ljava/util/function/LongFunction;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Lit/unimi/dsi/fastutil/ints/IntSortedSet;Ljava/util/function/LongFunction;)V
    • OctavePerlinNoiseSampler

      protected OctavePerlinNoiseSampler(WorldGenRandom random, com.mojang.datafixers.util.Pair<Integer,DoubleList> offsetAndAmplitudes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Lcom/mojang/datafixers/util/Pair;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Lcom/mojang/datafixers/util/Pair;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Lcom/mojang/datafixers/util/Pair;)V
    • OctavePerlinNoiseSampler

      protected OctavePerlinNoiseSampler(WorldGenRandom random, com.mojang.datafixers.util.Pair<Integer,DoubleList> octaves, LongFunction<WorldGenRandom> randomFunction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddw;<init>(Lcqf;Lcom/mojang/datafixers/util/Pair;Ljava/util/function/LongFunction;)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Lcom/mojang/datafixers/util/Pair;Ljava/util/function/LongFunction;)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;Lcom/mojang/datafixers/util/Pair;Ljava/util/function/LongFunction;)V
  • Method Details

    • create

      public static OctavePerlinNoiseSampler create(WorldGenRandom random, int offset, double[] amplitudes)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(Lcqf;I[D)Lddw;
      intermediary method_35480 Lnet/minecraft/class_3537;method_35480(Lnet/minecraft/class_5819;I[D)Lnet/minecraft/class_3537;
      named create Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/world/gen/WorldGenRandom;I[D)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • create

      public static OctavePerlinNoiseSampler create(WorldGenRandom random, int offset, DoubleList amplitudes)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(Lcqf;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lddw;
      intermediary method_30847 Lnet/minecraft/class_3537;method_30847(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/class_3537;
      named create Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/world/gen/WorldGenRandom;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • calculateAmplitudes

      private static com.mojang.datafixers.util.Pair<Integer,DoubleList> calculateAmplitudes(IntSortedSet octaves)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(Lit/unimi/dsi/fastutil/ints/IntSortedSet;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_30848 Lnet/minecraft/class_3537;method_30848(Lit/unimi/dsi/fastutil/ints/IntSortedSet;)Lcom/mojang/datafixers/util/Pair;
      named calculateAmplitudes Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;calculateAmplitudes(Lit/unimi/dsi/fastutil/ints/IntSortedSet;)Lcom/mojang/datafixers/util/Pair;
    • skipCalls

      private static void skipCalls(WorldGenRandom random)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(Lcqf;)V
      intermediary method_34401 Lnet/minecraft/class_3537;method_34401(Lnet/minecraft/class_5819;)V
      named skipCalls Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;skipCalls(Lnet/minecraft/world/gen/WorldGenRandom;)V
    • sample

      public double sample(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(DDD)D
      intermediary method_15416 Lnet/minecraft/class_3537;method_15416(DDD)D
      named sample Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;sample(DDD)D
    • sample

      @Deprecated public double sample(double x, double y, double z, double yScale, double yMax, boolean useOrigin)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(DDDDDZ)D
      intermediary method_16453 Lnet/minecraft/class_3537;method_16453(DDDDDZ)D
      named sample Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;sample(DDDDDZ)D
    • getOctave

      @Nullable public @Nullable PerlinNoiseSampler getOctave(int octave)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(I)Lddt;
      intermediary method_16668 Lnet/minecraft/class_3537;method_16668(I)Lnet/minecraft/class_3756;
      named getOctave Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getOctave(I)Lnet/minecraft/util/math/noise/PerlinNoiseSampler;
    • maintainPrecision

      public static double maintainPrecision(double value)
      Mappings:
      Namespace Name Mixin selector
      official a Lddw;a(D)D
      intermediary method_16452 Lnet/minecraft/class_3537;method_16452(D)D
      named maintainPrecision Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;maintainPrecision(D)D
    • sample

      public double sample(double x, double y, double yScale, double yMax)
      Specified by:
      sample in interface NoiseSampler
      Mappings:
      Namespace Name Mixin selector
      official a Lddz;a(DDDD)D
      intermediary method_16454 Lnet/minecraft/class_3757;method_16454(DDDD)D
      named sample Lnet/minecraft/util/math/noise/NoiseSampler;sample(DDDD)D