Class OctavePerlinNoiseSampler

java.lang.Object
net.minecraft.util.math.noise.OctavePerlinNoiseSampler

public class OctavePerlinNoiseSampler extends Object
Mappings:
Namespace Name
official dgo
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 Ldgo;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 Ldgo;b:[Ldgl;
      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;
    • firstOctave

      private final int firstOctave
      Mappings:
      Namespace Name Mixin selector
      official c Ldgo;c:I
      intermediary field_34758 Lnet/minecraft/class_3537;field_34758:I
      named firstOctave Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;firstOctave:I
    • amplitudes

      private final DoubleList amplitudes
      Mappings:
      Namespace Name Mixin selector
      official d Ldgo;d: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 e Ldgo;e: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 f Ldgo;f:D
      intermediary field_20660 Lnet/minecraft/class_3537;field_20660:D
      named lacunarity Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;lacunarity:D
  • Constructor Details

    • OctavePerlinNoiseSampler

      protected OctavePerlinNoiseSampler(AbstractRandom random, com.mojang.datafixers.util.Pair<Integer,DoubleList> pair, boolean xoroshiro)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgo;<init>(Lcti;Lcom/mojang/datafixers/util/Pair;Z)V
      intermediary <init> Lnet/minecraft/class_3537;<init>(Lnet/minecraft/class_5819;Lcom/mojang/datafixers/util/Pair;Z)V
      named <init> Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/random/AbstractRandom;Lcom/mojang/datafixers/util/Pair;Z)V
  • Method Details

    • createLegacy

      @Deprecated public static OctavePerlinNoiseSampler createLegacy(AbstractRandom random, IntStream intStream)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a(Lcti;Ljava/util/stream/IntStream;)Ldgo;
      intermediary method_39187 Lnet/minecraft/class_3537;method_39187(Lnet/minecraft/class_5819;Ljava/util/stream/IntStream;)Lnet/minecraft/class_3537;
      named createLegacy Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;createLegacy(Lnet/minecraft/world/gen/random/AbstractRandom;Ljava/util/stream/IntStream;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • createLegacy

      @Deprecated public static OctavePerlinNoiseSampler createLegacy(AbstractRandom random, int offset, DoubleList amplitudes)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a(Lcti;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Ldgo;
      intermediary method_39126 Lnet/minecraft/class_3537;method_39126(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/class_3537;
      named createLegacy Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;createLegacy(Lnet/minecraft/world/gen/random/AbstractRandom;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • create

      public static OctavePerlinNoiseSampler create(AbstractRandom random, IntStream intStream)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgo;b(Lcti;Ljava/util/stream/IntStream;)Ldgo;
      intermediary method_39128 Lnet/minecraft/class_3537;method_39128(Lnet/minecraft/class_5819;Ljava/util/stream/IntStream;)Lnet/minecraft/class_3537;
      named create Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/world/gen/random/AbstractRandom;Ljava/util/stream/IntStream;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • create

      public static OctavePerlinNoiseSampler create(AbstractRandom random, List<Integer> list)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a(Lcti;Ljava/util/List;)Ldgo;
      intermediary method_39127 Lnet/minecraft/class_3537;method_39127(Lnet/minecraft/class_5819;Ljava/util/List;)Lnet/minecraft/class_3537;
      named create Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/world/gen/random/AbstractRandom;Ljava/util/List;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
    • create

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

      public static OctavePerlinNoiseSampler create(AbstractRandom random, int offset, DoubleList amplitudes)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgo;b(Lcti;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Ldgo;
      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/random/AbstractRandom;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 Ldgo;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(AbstractRandom random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a(Lcti;)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/random/AbstractRandom;)V
    • sample

      public double sample(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;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 Ldgo;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 Ldgo;a(I)Ldgl;
      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 Ldgo;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
    • getFirstOctave

      protected int getFirstOctave()
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a()I
      intermediary method_38477 Lnet/minecraft/class_3537;method_38477()I
      named getFirstOctave Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getFirstOctave()I
    • getAmplitudes

      protected DoubleList getAmplitudes()
      Mappings:
      Namespace Name Mixin selector
      official b Ldgo;b()Lit/unimi/dsi/fastutil/doubles/DoubleList;
      intermediary method_38478 Lnet/minecraft/class_3537;method_38478()Lit/unimi/dsi/fastutil/doubles/DoubleList;
      named getAmplitudes Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getAmplitudes()Lit/unimi/dsi/fastutil/doubles/DoubleList;
    • addDebugInfo

      public void addDebugInfo(StringBuilder info)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgo;a(Ljava/lang/StringBuilder;)V
      intermediary method_39130 Lnet/minecraft/class_3537;method_39130(Ljava/lang/StringBuilder;)V
      named addDebugInfo Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V