net.minecraft.world.level.levelgen

public class LegacyRandomSource

implements BitRandomSource

edr
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.class_5820
net.minecraft.util.math.random.CheckedRandom
net.minecraft.world.level.levelgen.LegacyRandomSource

Field summary

Modifier and TypeField
private static final int
d
MODULUS_BITS
field_31471
INT_BITS
private static final long
e
MODULUS_MASK
field_31472
SEED_MASK
private static final long
f
MULTIPLIER
field_31473
MULTIPLIER
private static final long
g
INCREMENT
field_31474
INCREMENT
private final AtomicLong
h
seed
field_28766
seed
private final MarsagliaPolarGaussian
i
gaussianSource
field_35124
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()