Package net.minecraft.util.math.noise
Class OctavePerlinNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.OctavePerlinNoiseSampler
- Mappings:
Namespace Name named net/minecraft/util/math/noise/OctavePerlinNoiseSampler
intermediary net/minecraft/class_3537
official eoi
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DoubleList
private static final int
private final int
private final double
private final double
private final PerlinNoiseSampler[]
private final double
-
Constructor Summary
ModifierConstructorDescriptionprotected
OctavePerlinNoiseSampler
(Random random, com.mojang.datafixers.util.Pair<Integer, DoubleList> firstOctaveAndAmplitudes, boolean xoroshiro) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(StringBuilder info) private static com.mojang.datafixers.util.Pair
<Integer, DoubleList> calculateAmplitudes
(IntSortedSet octaves) static OctavePerlinNoiseSampler
static OctavePerlinNoiseSampler
create
(Random random, int offset, DoubleList amplitudes) static OctavePerlinNoiseSampler
static OctavePerlinNoiseSampler
static OctavePerlinNoiseSampler
createLegacy
(Random random, int offset, DoubleList amplitudes) Deprecated.static OctavePerlinNoiseSampler
createLegacy
(Random random, IntStream octaves) Deprecated.protected DoubleList
protected int
protected double
getOctave
(int octave) private double
getTotalAmplitude
(double scale) static double
maintainPrecision
(double value) double
method_40556
(double double2) double
sample
(double x, double y, double z) double
sample
(double x, double y, double z, double yScale, double yMax, boolean useOrigin) Deprecated.private static void
-
Field Details
-
field_31704
private static final int field_31704- See Also:
- Mappings:
Namespace Name Mixin selector named field_31704
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;field_31704:I
intermediary field_31704
Lnet/minecraft/class_3537;field_31704:I
official a
Leoi;a:I
-
octaveSamplers
- Mappings:
Namespace Name Mixin selector named octaveSamplers
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;octaveSamplers:[Lnet/minecraft/util/math/noise/PerlinNoiseSampler;
intermediary field_15744
Lnet/minecraft/class_3537;field_15744:[Lnet/minecraft/class_3756;
official b
Leoi;b:[Leof;
-
firstOctave
private final int firstOctave- Mappings:
Namespace Name Mixin selector named firstOctave
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;firstOctave:I
intermediary field_34758
Lnet/minecraft/class_3537;field_34758:I
official c
Leoi;c:I
-
amplitudes
- Mappings:
Namespace Name Mixin selector named amplitudes
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;amplitudes:Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary field_26445
Lnet/minecraft/class_3537;field_26445:Lit/unimi/dsi/fastutil/doubles/DoubleList;
official d
Leoi;d:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
persistence
private final double persistence- Mappings:
Namespace Name Mixin selector named persistence
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;persistence:D
intermediary field_20659
Lnet/minecraft/class_3537;field_20659:D
official e
Leoi;e:D
-
lacunarity
private final double lacunarity- Mappings:
Namespace Name Mixin selector named lacunarity
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;lacunarity:D
intermediary field_20660
Lnet/minecraft/class_3537;field_20660:D
official f
Leoi;f:D
-
maxValue
private final double maxValue- Mappings:
Namespace Name Mixin selector named maxValue
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;maxValue:D
intermediary field_36632
Lnet/minecraft/class_3537;field_36632:D
official g
Leoi;g:D
-
-
Constructor Details
-
OctavePerlinNoiseSampler
protected OctavePerlinNoiseSampler(Random random, com.mojang.datafixers.util.Pair<Integer, DoubleList> firstOctaveAndAmplitudes, boolean xoroshiro) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;<init>(Lnet/minecraft/util/math/random/Random;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
official <init>
Leoi;<init>(Layw;Lcom/mojang/datafixers/util/Pair;Z)V
-
-
Method Details
-
createLegacy
Deprecated.- Mappings:
Namespace Name Mixin selector named createLegacy
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;createLegacy(Lnet/minecraft/util/math/random/Random;Ljava/util/stream/IntStream;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_39187
Lnet/minecraft/class_3537;method_39187(Lnet/minecraft/class_5819;Ljava/util/stream/IntStream;)Lnet/minecraft/class_3537;
official a
Leoi;a(Layw;Ljava/util/stream/IntStream;)Leoi;
-
createLegacy
@Deprecated public static OctavePerlinNoiseSampler createLegacy(Random random, int offset, DoubleList amplitudes) Deprecated.- Mappings:
Namespace Name Mixin selector named createLegacy
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;createLegacy(Lnet/minecraft/util/math/random/Random;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_39126
Lnet/minecraft/class_3537;method_39126(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/class_3537;
official a
Leoi;a(Layw;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Leoi;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/util/math/random/Random;Ljava/util/stream/IntStream;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_39128
Lnet/minecraft/class_3537;method_39128(Lnet/minecraft/class_5819;Ljava/util/stream/IntStream;)Lnet/minecraft/class_3537;
official b
Leoi;b(Layw;Ljava/util/stream/IntStream;)Leoi;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/util/math/random/Random;Ljava/util/List;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_39127
Lnet/minecraft/class_3537;method_39127(Lnet/minecraft/class_5819;Ljava/util/List;)Lnet/minecraft/class_3537;
official a
Leoi;a(Layw;Ljava/util/List;)Leoi;
-
create
public static OctavePerlinNoiseSampler create(Random random, int offset, double firstAmplitude, double[] amplitudes) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/util/math/random/Random;ID[D)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_35480
Lnet/minecraft/class_3537;method_35480(Lnet/minecraft/class_5819;ID[D)Lnet/minecraft/class_3537;
official a
Leoi;a(Layw;ID[D)Leoi;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;create(Lnet/minecraft/util/math/random/Random;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary method_30847
Lnet/minecraft/class_3537;method_30847(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/class_3537;
official b
Leoi;b(Layw;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Leoi;
-
calculateAmplitudes
private static com.mojang.datafixers.util.Pair<Integer,DoubleList> calculateAmplitudes(IntSortedSet octaves) - Mappings:
Namespace Name Mixin selector named calculateAmplitudes
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;calculateAmplitudes(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;
official a
Leoi;a(Lit/unimi/dsi/fastutil/ints/IntSortedSet;)Lcom/mojang/datafixers/util/Pair;
-
getMaxValue
protected double getMaxValue()- Mappings:
Namespace Name Mixin selector named getMaxValue
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getMaxValue()D
intermediary method_40555
Lnet/minecraft/class_3537;method_40555()D
official a
Leoi;a()D
-
skipCalls
- Mappings:
Namespace Name Mixin selector named skipCalls
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;skipCalls(Lnet/minecraft/util/math/random/Random;)V
intermediary method_34401
Lnet/minecraft/class_3537;method_34401(Lnet/minecraft/class_5819;)V
official a
Leoi;a(Layw;)V
-
sample
public double sample(double x, double y, double z) - Mappings:
Namespace Name Mixin selector named sample
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;sample(DDD)D
intermediary method_15416
Lnet/minecraft/class_3537;method_15416(DDD)D
official a
Leoi;a(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 named sample
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;sample(DDDDDZ)D
intermediary method_16453
Lnet/minecraft/class_3537;method_16453(DDDDDZ)D
official a
Leoi;a(DDDDDZ)D
-
method_40556
public double method_40556(double double2) - Mappings:
Namespace Name Mixin selector named method_40556
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;method_40556(D)D
intermediary method_40556
Lnet/minecraft/class_3537;method_40556(D)D
official a
Leoi;a(D)D
-
getTotalAmplitude
private double getTotalAmplitude(double scale) - Mappings:
Namespace Name Mixin selector named getTotalAmplitude
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getTotalAmplitude(D)D
intermediary method_40557
Lnet/minecraft/class_3537;method_40557(D)D
official c
Leoi;c(D)D
-
getOctave
- Mappings:
Namespace Name Mixin selector named getOctave
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getOctave(I)Lnet/minecraft/util/math/noise/PerlinNoiseSampler;
intermediary method_16668
Lnet/minecraft/class_3537;method_16668(I)Lnet/minecraft/class_3756;
official a
Leoi;a(I)Leof;
-
maintainPrecision
public static double maintainPrecision(double value) - Mappings:
Namespace Name Mixin selector named maintainPrecision
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;maintainPrecision(D)D
intermediary method_16452
Lnet/minecraft/class_3537;method_16452(D)D
official b
Leoi;b(D)D
-
getFirstOctave
protected int getFirstOctave()- Mappings:
Namespace Name Mixin selector named getFirstOctave
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getFirstOctave()I
intermediary method_38477
Lnet/minecraft/class_3537;method_38477()I
official b
Leoi;b()I
-
getAmplitudes
- Mappings:
Namespace Name Mixin selector named getAmplitudes
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;getAmplitudes()Lit/unimi/dsi/fastutil/doubles/DoubleList;
intermediary method_38478
Lnet/minecraft/class_3537;method_38478()Lit/unimi/dsi/fastutil/doubles/DoubleList;
official c
Leoi;c()Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
addDebugInfo
- Mappings:
Namespace Name Mixin selector named addDebugInfo
Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V
intermediary method_39130
Lnet/minecraft/class_3537;method_39130(Ljava/lang/StringBuilder;)V
official a
Leoi;a(Ljava/lang/StringBuilder;)V
-