net.minecraft.world.level.levelgen

public class ThreadSafeLegacyRandomSource

implements BitRandomSource

eej
net.minecraft.world.level.levelgen.ThreadSafeLegacyRandomSource
net.minecraft.class_7384
net.minecraft.util.math.random.ThreadSafeRandom
net.minecraft.world.level.levelgen.ThreadSafeLegacyRandomSource

Field summary

Modifier and TypeField
private static final int
d
MODULUS_BITS
field_38760
INT_BITS
private static final long
e
MODULUS_MASK
field_38761
SEED_MASK
private static final long
f
MULTIPLIER
field_38762
MULTIPLIER
private static final long
g
INCREMENT
field_38763
INCREMENT
private final AtomicLong
h
seed
field_38764
seed
private final MarsagliaPolarGaussian
i
gaussianSource
field_38765
gaussianGenerator

Constructor summary

ModifierConstructor
public (long seed)

Method summary

Modifier and TypeMethod
public RandomSource
d()
fork()
method_38420()
split()
public PositionalRandomFactory
e()
forkPositional()
method_38421()
nextSplitter()
public void
b(long arg0)
setSeed(long arg0)
method_43052(long arg0)
setSeed(long arg0)
public int
c(int arg0)
next(int arg0)
method_43156(int arg0)
next(int arg0)
public double
k()
nextGaussian()
method_43059()
nextGaussian()