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 static double
gradDot(int hash, double x, double y, double z)
method_1_9318(int arg0, double arg1, double arg2, double arg3)
getLatticePointContribution(int index, double dx, double dy, double dz)
protected static double
wrap(double x)
method_1_9320(double arg0)
wrapCoord(double coordinate)