Package net.minecraft.util.math.random
Interface BaseRandom
- All Superinterfaces:
Random
- All Known Implementing Classes:
CheckedRandom
,ChunkRandom
,LocalRandom
,ThreadSafeRandom
- Mappings:
Namespace Name official dkh
intermediary net/minecraft/class_6566
named net/minecraft/util/math/random/BaseRandom
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final float
Fields inherited from interface net.minecraft.util.math.random.Random
field_38930
-
Method Summary
Methods inherited from interface net.minecraft.util.math.random.Random
nextBetween, nextBetweenExclusive, nextGaussian, nextSplitter, nextTriangular, setSeed, skip, split
-
Field Details
-
FLOAT_MULTIPLIER
static final float FLOAT_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldkh;b:F
intermediary field_34582
Lnet/minecraft/class_6566;field_34582:F
named FLOAT_MULTIPLIER
Lnet/minecraft/util/math/random/BaseRandom;FLOAT_MULTIPLIER:F
-
DOUBLE_MULTIPLIER
static final double DOUBLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldkh;c:D
intermediary field_34583
Lnet/minecraft/class_6566;field_34583:D
named DOUBLE_MULTIPLIER
Lnet/minecraft/util/math/random/BaseRandom;DOUBLE_MULTIPLIER:D
-
-
Method Details
-
next
int next(int bits) - Mappings:
Namespace Name Mixin selector official c
Ldkh;c(I)I
intermediary method_43156
Lnet/minecraft/class_6566;method_43156(I)I
named next
Lnet/minecraft/util/math/random/BaseRandom;next(I)I
-
nextInt
default int nextInt() -
nextInt
default int nextInt(int bound) -
nextLong
default long nextLong() -
nextBoolean
default boolean nextBoolean()- Specified by:
nextBoolean
in interfaceRandom
- Mappings:
Namespace Name Mixin selector official h
Lasc;h()Z
intermediary method_43056
Lnet/minecraft/class_5819;method_43056()Z
named nextBoolean
Lnet/minecraft/util/math/random/Random;nextBoolean()Z
-
nextFloat
default float nextFloat() -
nextDouble
default double nextDouble()- Specified by:
nextDouble
in interfaceRandom
- Mappings:
Namespace Name Mixin selector official j
Lasc;j()D
intermediary method_43058
Lnet/minecraft/class_5819;method_43058()D
named nextDouble
Lnet/minecraft/util/math/random/Random;nextDouble()D
-