net.minecraft.world.level.levelgen

public class XoroshiroRandomSource

implements RandomSource

eer
net.minecraft.world.level.levelgen.XoroshiroRandomSource
net.minecraft.class_6677
net.minecraft.util.math.random.Xoroshiro128PlusPlusRandom
net.minecraft.world.level.levelgen.XoroshiroRandomSource

Field summary

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

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()
public PositionalRandomFactory
e()
forkPositional()
method_38421()
nextSplitter()
public void
b(long arg0)
setSeed(long arg0)
method_43052(long arg0)
setSeed(long arg0)
public int
f()
nextInt()
method_43054()
nextInt()
public int
a(int arg0)
nextInt(int arg0)
method_43048(int arg0)
nextInt(int arg0)
public long
g()
nextLong()
method_43055()
nextLong()
public boolean
h()
nextBoolean()
method_43056()
nextBoolean()
public float
i()
nextFloat()
method_43057()
nextFloat()
public double
j()
nextDouble()
method_43058()
nextDouble()
public double
k()
nextGaussian()
method_43059()
nextGaussian()
public void
b(int arg0)
consumeCount(int arg0)
method_33650(int arg0)
skip(int arg0)
private long
c(int arg0)
nextBits(int arg0)
method_39008(int arg0)
next(int bits)