net.minecraft.util.math.random

public interface Random

net.minecraft.util.RandomSource
net.minecraft.class_5819
net.minecraft.util.math.random.Random

Field summary

Modifier and TypeField
double
GAUSSIAN_SPREAD_FACTOR
field_38930
field_38930

Method summary

Modifier and TypeMethod
static Random
create()
method_43047()
create()
static Random
createThreadSafe()
method_43050()
createThreadSafe()
static Random
create(long seed)
method_43049(long arg0)
create(long seed)
static Random
createThreadLocalInstance()
method_43053()
createLocal()
static Random
createThreadLocalInstance(long seed)
method_1_2569(long arg0)
createLocal(long seed)
Random
fork()
method_38420()
split()
RandomSplitter
forkPositional()
method_38421()
nextSplitter()
void
setSeed(long seed)
method_43052(long arg0)
setSeed(long seed)
int
nextInt()
method_43054()
nextInt()
int
nextInt(int bound)
method_43048(int arg0)
nextInt(int bound)
default int
nextIntBetweenInclusive(int min, int maxInclusive)
method_39332(int arg0, int arg1)
nextBetween(int min, int max)
long
nextLong()
method_43055()
nextLong()
boolean
nextBoolean()
method_43056()
nextBoolean()
float
nextFloat()
method_43057()
nextFloat()
double
nextDouble()
method_43058()
nextDouble()
double
nextGaussian()
method_43059()
nextGaussian()
default double
triangle(double mean, double spread)
method_43385(double arg0, double arg1)
nextTriangular(double mode, double deviation)
default float
triangle(float mean, float spread)
method_62816(float arg0, float arg1)
nextTriangular(float mode, float deviation)
default void
consumeCount(int rounds)
method_33650(int arg0)
skip(int count)
default int
nextInt(int origin, int bound)
method_43051(int arg0, int arg1)
nextBetweenExclusive(int min, int max)