Package net.minecraft.util.math.noise
Class SimplexNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.SimplexNoiseSampler
- Mappings:
Namespace Name official dhd
intermediary net/minecraft/class_3541
named net/minecraft/util/math/noise/SimplexNoiseSampler
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int[][]
final double
final double
final double
private final int[]
private static final double
private static final double
private static final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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>
Ldhd;<init>(Lctq;)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/random/AbstractRandom;)V
-
-
Method Details
-
getGradient
private int getGradient(int hash) - Mappings:
Namespace Name Mixin selector official a
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
Ldhd;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
-