Package net.minecraft.util.math.noise
Class DoublePerlinNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.DoublePerlinNoiseSampler
public class DoublePerlinNoiseSampler extends Object
- Mappings:
Namespace Name official czo
intermediary net/minecraft/class_5216
named net/minecraft/util/math/noise/DoublePerlinNoiseSampler
-
Field Summary
Fields Modifier and Type Field Description private double
amplitude
private OctavePerlinNoiseSampler
firstSampler
private OctavePerlinNoiseSampler
secondSampler
-
Constructor Summary
Constructors Modifier Constructor Description private
DoublePerlinNoiseSampler(WorldGenRandom random, int offset, DoubleList octaves)
-
Method Summary
Modifier and Type Method Description static DoublePerlinNoiseSampler
create(WorldGenRandom random, int offset, double[] octaves)
static DoublePerlinNoiseSampler
create(WorldGenRandom random, int offset, DoubleList octaves)
private static double
createAmplitude(int octaves)
double
sample(double x, double y, double z)
-
Field Details
-
amplitude
private final double amplitude- Mappings:
Namespace Name Mixin selector official a
Lczo;a:D
intermediary field_24175
Lnet/minecraft/class_5216;field_24175:D
named amplitude
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;amplitude:D
-
firstSampler
- Mappings:
Namespace Name Mixin selector official b
Lczo;b:Lczp;
intermediary field_24176
Lnet/minecraft/class_5216;field_24176:Lnet/minecraft/class_3537;
named firstSampler
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;firstSampler:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
secondSampler
- Mappings:
Namespace Name Mixin selector official c
Lczo;c:Lczp;
intermediary field_24177
Lnet/minecraft/class_5216;field_24177:Lnet/minecraft/class_3537;
named secondSampler
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;secondSampler:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
-
Constructor Details
-
DoublePerlinNoiseSampler
- Mappings:
Namespace Name Mixin selector official <init>
Lczo;<init>(Lcmv;ILit/unimi/dsi/fastutil/doubles/DoubleList;)V
intermediary <init>
Lnet/minecraft/class_5216;<init>(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)V
named <init>
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;ILit/unimi/dsi/fastutil/doubles/DoubleList;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lczo;a(Lcmv;I[D)Lczo;
intermediary method_31927
Lnet/minecraft/class_5216;method_31927(Lnet/minecraft/class_5819;I[D)Lnet/minecraft/class_5216;
named create
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;create(Lnet/minecraft/world/gen/WorldGenRandom;I[D)Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
create
public static DoublePerlinNoiseSampler create(WorldGenRandom random, int offset, DoubleList octaves)- Mappings:
Namespace Name Mixin selector official a
Lczo;a(Lcmv;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lczo;
intermediary method_30846
Lnet/minecraft/class_5216;method_30846(Lnet/minecraft/class_5819;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/class_5216;
named create
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;create(Lnet/minecraft/world/gen/WorldGenRandom;ILit/unimi/dsi/fastutil/doubles/DoubleList;)Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
createAmplitude
private static double createAmplitude(int octaves)- Mappings:
Namespace Name Mixin selector official a
Lczo;a(I)D
intermediary method_27407
Lnet/minecraft/class_5216;method_27407(I)D
named createAmplitude
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;createAmplitude(I)D
-
sample
public double sample(double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Lczo;a(DDD)D
intermediary method_27406
Lnet/minecraft/class_5216;method_27406(DDD)D
named sample
Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;sample(DDD)D
-