net.minecraft.world.level.levelgen

public class SimpleRandomSource

implements RandomSource

cqh
net.minecraft.world.level.levelgen.SimpleRandomSource
net.minecraft.class_5820
net.minecraft.world.gen.SimpleRandom
net.minecraft.src.C_141345_
net.minecraft.world.level.levelgen.SimpleRandomSource

Field summary

Modifier and TypeField
private static final int
a
MODULUS_BITS
field_31471
field_31471
f_158880_
private static final long
b
MODULUS_MASK
field_31472
field_31472
f_158881_
private static final long
c
MULTIPLIER
field_31473
field_31473
f_158882_
private static final long
d
INCREMENT
field_31474
field_31474
f_158883_
private static final float
e
FLOAT_MULTIPLIER
field_31475
field_31475
f_158884_
private static final double
f
DOUBLE_MULTIPLIER
field_31476
field_31476
f_158885_
private final AtomicLong
g
seed
field_28766
seed
f_158886_
private double
h
nextNextGaussian
field_31477
field_31477
f_158887_
private boolean
i
haveNextNextGaussian
field_31478
field_31478
f_158888_

Constructor summary

ModifierConstructor
public (long seed)

Method summary

Modifier and TypeMethod
public void
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
setSeed(long arg0)
private int
b(int arg0)
next(int arg0)
method_33651(int arg0)
next(int bits)
m_158891_(int arg0)
public int
nextInt()
nextInt()
nextInt()
public int
nextInt(int arg0)
nextInt(int arg0)
nextInt(int arg0)
nextInt(int arg0)
nextInt(int arg0)
public long
nextLong()
nextLong()
nextLong()
public boolean
nextBoolean()
nextBoolean()
nextBoolean()
public float
nextFloat()
nextFloat()
nextFloat()
public double
nextDouble()
nextDouble()
nextDouble()
public double
nextGaussian()
nextGaussian()
nextGaussian()