net.minecraft.world.level.levelgen

public class LegacyRandomSource

implements BitRandomSource

ctx
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.class_5820
net.minecraft.world.gen.random.AtomicSimpleRandom
net.minecraft.src.C_182892_
net.minecraft.world.level.levelgen.LegacyRandomSource

Field summary

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

Constructor summary

ModifierConstructor
public (long seed)

Method summary

Modifier and TypeMethod
public RandomSource
a()
fork()
method_38420()
derive()
m_183458_()
public PositionalRandomFactory
b()
forkPositional()
method_38421()
createRandomDeriver()
m_183423_()
public void
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
public int
a(int arg0)
next(int arg0)
method_33651(int arg0)
next(int arg0)
m_183145_(int arg0)
public double
nextGaussian()
nextGaussian()
nextGaussian()