net.minecraft.world.level.levelgen

public class LegacyRandomSource

implements BitRandomSource

czv
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.class_5820
net.minecraft.util.math.random.CheckedRandom
net.minecraft.src.C_182892_
net.minecraft.world.level.levelgen.LegacyRandomSource

Field summary

Modifier and TypeField
private static final int
d
MODULUS_BITS
field_31471
INT_BITS
f_188571_
private static final long
e
MODULUS_MASK
field_31472
SEED_MASK
f_188572_
private static final long
f
MULTIPLIER
field_31473
MULTIPLIER
f_188573_
private static final long
g
INCREMENT
field_31474
INCREMENT
f_188574_
private final AtomicLong
h
seed
field_28766
seed
f_188575_
private final MarsagliaPolarGaussian
i
gaussianSource
field_35124
gaussianGenerator
f_188576_

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_()