net.minecraft.util.math.noise

public abstract class LatticedNoiseSampler

implements NoiseSampler

net.minecraft.world.level.levelgen.synth.GradientNoise
net.minecraft.class_1_1412
net.minecraft.util.math.noise.LatticedNoiseSampler

Field summary

Modifier and TypeField
protected static final LatticedNoiseSampler$LatticePointDirection[]
GRADIENT
field_1_9664
LATTICE_DIRS
private static final int
ROUND_OFF
field_1_9665
COORDINATE_PERIOD
protected final byte[]
perms
field_1_9669
permutation
protected final double
offsetX
field_1_9666
originX
protected final double
offsetY
field_1_9667
originY
protected final double
offsetZ
field_1_9668
originZ

Constructor summary

ModifierConstructor
protected (Random random)
protected (Random random, double offsetScale)

Method summary

Modifier and TypeMethod
protected int
permute(int x)
method_1_9319(int arg0)
permuteIndex(int cellCoord)
protected LatticedNoiseSampler$LatticePointDirection
permuteToGrad(int x)
method_1_9523(int arg0)
getLatticePointDirection(int cellCoord)
protected static float
gradDot(int hash, float x, float y, float z)
method_1_9318(int arg0, float arg1, float arg2, float arg3)
getLatticePointContribution(int index, float x, float y, float z)
protected static double
wrap(double x)
method_1_9320(double arg0)
wrapCoord(double coordinate)