net.minecraft.world.level.levelgen

public class XoroshiroRandomSource

implements RandomSource

dlt
net.minecraft.world.level.levelgen.XoroshiroRandomSource
net.minecraft.class_6677
net.minecraft.util.math.random.Xoroshiro128PlusPlusRandom
net.minecraft.src.C_182953_
net.minecraft.world.level.levelgen.XoroshiroRandomSource

Field summary

Modifier and TypeField
private static final float
c
FLOAT_UNIT
field_35148
FLOAT_MULTIPLIER
f_190097_
private static final double
d
DOUBLE_UNIT
field_35149
DOUBLE_MULTIPLIER
f_190098_
public static final com.mojang.serialization.Codec<XoroshiroRandomSource>
b
CODEC
field_44880
CODEC
f_286948_
private Xoroshiro128PlusPlus
e
randomNumberGenerator
field_35150
implementation
f_190099_
private final MarsagliaPolarGaussian
f
gaussianSource
field_35151
gaussianGenerator
f_190100_

Constructor summary

ModifierConstructor
public (long seed)
public (RandomSupport$Seed128bit seed)
public (long seedLo, long seedHi)
private (Xoroshiro128PlusPlus implementation)

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
f()
nextInt()
method_43054()
nextInt()
m_188502_()
public int
a(int arg0)
nextInt(int arg0)
method_43048(int arg0)
nextInt(int arg0)
m_188503_(int arg0)
public long
g()
nextLong()
method_43055()
nextLong()
m_188505_()
public boolean
h()
nextBoolean()
method_43056()
nextBoolean()
m_188499_()
public float
i()
nextFloat()
method_43057()
nextFloat()
m_188501_()
public double
j()
nextDouble()
method_43058()
nextDouble()
m_188500_()
public double
k()
nextGaussian()
method_43059()
nextGaussian()
m_188583_()
public void
b(int arg0)
consumeCount(int arg0)
method_33650(int arg0)
skip(int arg0)
m_190110_(int arg0)
private long
c(int arg0)
nextBits(int arg0)
method_39008(int arg0)
next(int bits)
m_190107_(int arg0)