Package net.minecraft.util.math.noise
Class SimplexNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.SimplexNoiseSampler
public class SimplexNoiseSampler extends Object
- Mappings:
Namespace Name official czr
intermediary net/minecraft/class_3541
named net/minecraft/util/math/noise/SimplexNoiseSampler
-
Field Summary
Fields Modifier and Type Field Description protected static int[][]
GRADIENTS
double
originX
double
originY
double
originZ
private int[]
permutations
private static double
SKEW_FACTOR_2D
private static double
SQRT_3
private static double
UNSKEW_FACTOR_2D
-
Constructor Summary
Constructors Constructor Description SimplexNoiseSampler(WorldGenRandom random)
-
Method Summary
Modifier and Type Method Description protected static double
dot(int[] gArr, double x, double y, double z)
private int
getGradient(int hash)
private double
grad(int hash, double x, double y, double z, double distance)
double
sample(double x, double y)
double
sample(double x, double y, double z)
-
Field Details
-
GRADIENTS
protected static final int[][] GRADIENTS- Mappings:
Namespace Name Mixin selector official a
Lczr;a:[[I
intermediary field_15766
Lnet/minecraft/class_3541;field_15766:[[I
named GRADIENTS
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;GRADIENTS:[[I
-
SQRT_3
private static final double SQRT_3- Mappings:
Namespace Name Mixin selector official e
Lczr;e:D
intermediary field_15764
Lnet/minecraft/class_3541;field_15764:D
named SQRT_3
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;SQRT_3:D
-
SKEW_FACTOR_2D
private static final double SKEW_FACTOR_2D- Mappings:
Namespace Name Mixin selector official f
Lczr;f:D
intermediary field_15768
Lnet/minecraft/class_3541;field_15768:D
named SKEW_FACTOR_2D
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;SKEW_FACTOR_2D:D
-
UNSKEW_FACTOR_2D
private static final double UNSKEW_FACTOR_2D- Mappings:
Namespace Name Mixin selector official g
Lczr;g:D
intermediary field_15767
Lnet/minecraft/class_3541;field_15767:D
named UNSKEW_FACTOR_2D
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;UNSKEW_FACTOR_2D:D
-
permutations
private final int[] permutations- Mappings:
Namespace Name Mixin selector official h
Lczr;h:[I
intermediary field_15765
Lnet/minecraft/class_3541;field_15765:[I
named permutations
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;permutations:[I
-
originX
public final double originX- Mappings:
Namespace Name Mixin selector official b
Lczr;b:D
intermediary field_15763
Lnet/minecraft/class_3541;field_15763:D
named originX
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originX:D
-
originY
public final double originY- Mappings:
Namespace Name Mixin selector official c
Lczr;c:D
intermediary field_15762
Lnet/minecraft/class_3541;field_15762:D
named originY
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originY:D
-
originZ
public final double originZ- Mappings:
Namespace Name Mixin selector official d
Lczr;d:D
intermediary field_15761
Lnet/minecraft/class_3541;field_15761:D
named originZ
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;originZ:D
-
-
Constructor Details
-
SimplexNoiseSampler
- Mappings:
Namespace Name Mixin selector official <init>
Lczr;<init>(Lcmv;)V
intermediary <init>
Lnet/minecraft/class_3541;<init>(Lnet/minecraft/class_5819;)V
named <init>
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;<init>(Lnet/minecraft/world/gen/WorldGenRandom;)V
-
-
Method Details
-
getGradient
private int getGradient(int hash)- Mappings:
Namespace Name Mixin selector official a
Lczr;a(I)I
intermediary method_16456
Lnet/minecraft/class_3541;method_16456(I)I
named getGradient
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;getGradient(I)I
-
dot
protected static double dot(int[] gArr, double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Lczr;a([IDDD)D
intermediary method_15431
Lnet/minecraft/class_3541;method_15431([IDDD)D
named dot
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;dot([IDDD)D
-
grad
private double grad(int hash, double x, double y, double z, double distance)- Mappings:
Namespace Name Mixin selector official a
Lczr;a(IDDDD)D
intermediary method_16455
Lnet/minecraft/class_3541;method_16455(IDDDD)D
named grad
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;grad(IDDDD)D
-
sample
public double sample(double x, double y)- Mappings:
Namespace Name Mixin selector official a
Lczr;a(DD)D
intermediary method_15433
Lnet/minecraft/class_3541;method_15433(DD)D
named sample
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;sample(DD)D
-
sample
public double sample(double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Lczr;a(DDD)D
intermediary method_22416
Lnet/minecraft/class_3541;method_22416(DDD)D
named sample
Lnet/minecraft/util/math/noise/SimplexNoiseSampler;sample(DDD)D
-