Package net.minecraft.util.math.random
Interface BaseRandom
- All Superinterfaces:
Random
- All Known Implementing Classes:
CheckedRandom,ChunkRandom,LocalRandom,ThreadSafeRandom
- Mappings:
Namespace Name named net/minecraft/util/math/random/BaseRandomintermediary net/minecraft/class_6566official dyn
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final floatFields 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 named FLOAT_MULTIPLIERLnet/minecraft/util/math/random/BaseRandom;FLOAT_MULTIPLIER:Fintermediary field_34582Lnet/minecraft/class_6566;field_34582:Fofficial bLdyn;b:F
-
DOUBLE_MULTIPLIER
static final double DOUBLE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named DOUBLE_MULTIPLIERLnet/minecraft/util/math/random/BaseRandom;DOUBLE_MULTIPLIER:Dintermediary field_34583Lnet/minecraft/class_6566;field_34583:Dofficial cLdyn;c:D
-
-
Method Details
-
next
int next(int bits) - Mappings:
Namespace Name Mixin selector named nextLnet/minecraft/util/math/random/BaseRandom;next(I)Iintermediary method_43156Lnet/minecraft/class_6566;method_43156(I)Iofficial cLdyn;c(I)I
-
nextInt
default int nextInt() -
nextInt
default int nextInt(int bound) -
nextLong
default long nextLong() -
nextBoolean
default boolean nextBoolean()- Specified by:
nextBooleanin interfaceRandom- Mappings:
Namespace Name Mixin selector named nextBooleanLnet/minecraft/util/math/random/Random;nextBoolean()Zintermediary method_43056Lnet/minecraft/class_5819;method_43056()Zofficial hLayw;h()Z
-
nextFloat
default float nextFloat() -
nextDouble
default double nextDouble()- Specified by:
nextDoublein interfaceRandom- Mappings:
Namespace Name Mixin selector named nextDoubleLnet/minecraft/util/math/random/Random;nextDouble()Dintermediary method_43058Lnet/minecraft/class_5819;method_43058()Dofficial jLayw;j()D
-