net.minecraft.world.level.levelgen

public class ThreadSafeLegacyRandomSource

implements BitRandomSource

dyp
net.minecraft.world.level.levelgen.ThreadSafeLegacyRandomSource
net.minecraft.class_7384
net.minecraft.util.math.random.ThreadSafeRandom
net.minecraft.src.C_213140_
net.minecraft.world.level.levelgen.ThreadSafeLegacyRandomSource

Field summary

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

Constructor summary

ModifierConstructor
public (long seed)

Method summary

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