public class OctavePerlinNoiseSampler extends Object implements NoiseSampler
Modifier and Type | Field and Description |
---|---|
private double |
field_20659 |
private double |
field_20660 |
private it.unimi.dsi.fastutil.doubles.DoubleList |
field_26445 |
private PerlinNoiseSampler[] |
octaveSamplers |
Modifier | Constructor and Description |
---|---|
private |
OctavePerlinNoiseSampler(ChunkRandom random,
it.unimi.dsi.fastutil.ints.IntSortedSet octaves) |
|
OctavePerlinNoiseSampler(ChunkRandom random,
IntStream octaves) |
|
OctavePerlinNoiseSampler(ChunkRandom random,
List<Integer> octaves) |
private |
OctavePerlinNoiseSampler(ChunkRandom chunkRandom,
com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> pair) |
Modifier and Type | Method and Description |
---|---|
PerlinNoiseSampler |
getOctave(int octave) |
static double |
maintainPrecision(double double2) |
static OctavePerlinNoiseSampler |
method_30847(ChunkRandom chunkRandom,
int int2,
it.unimi.dsi.fastutil.doubles.DoubleList doubleList) |
private static com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> |
method_30848(it.unimi.dsi.fastutil.ints.IntSortedSet intSortedSet) |
double |
sample(double x,
double y,
double z) |
double |
sample(double x,
double y,
double double2,
double double3) |
double |
sample(double x,
double y,
double z,
double double2,
double double3,
boolean bool) |
private final PerlinNoiseSampler[] octaveSamplers
private final it.unimi.dsi.fastutil.doubles.DoubleList field_26445
private final double field_20659
private final double field_20660
public OctavePerlinNoiseSampler(ChunkRandom random, IntStream octaves)
public OctavePerlinNoiseSampler(ChunkRandom random, List<Integer> octaves)
private OctavePerlinNoiseSampler(ChunkRandom random, it.unimi.dsi.fastutil.ints.IntSortedSet octaves)
private OctavePerlinNoiseSampler(ChunkRandom chunkRandom, com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> pair)
public static OctavePerlinNoiseSampler method_30847(ChunkRandom chunkRandom, int int2, it.unimi.dsi.fastutil.doubles.DoubleList doubleList)
private static com.mojang.datafixers.util.Pair<Integer,it.unimi.dsi.fastutil.doubles.DoubleList> method_30848(it.unimi.dsi.fastutil.ints.IntSortedSet intSortedSet)
public double sample(double x, double y, double z)
public double sample(double x, double y, double z, double double2, double double3, boolean bool)
@Nullable public PerlinNoiseSampler getOctave(int octave)
public static double maintainPrecision(double double2)
public double sample(double x, double y, double double2, double double3)
sample
in interface NoiseSampler