Package net.minecraft.util.math.random
Class Xoroshiro128PlusPlusRandomImpl
java.lang.Object
net.minecraft.util.math.random.Xoroshiro128PlusPlusRandomImpl
Implementation of Xoroshiro128++ pseudo-random number generator.
- See Also:
- API Note:
- For regular usage,
Xoroshiro128PlusPlusRandom
should be used instead. - Mappings:
Namespace Name official dls
intermediary net/minecraft/class_6676
named net/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Xoroshiro128PlusPlusRandomImpl>
private long
private long
-
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldls;a:Lcom/mojang/serialization/Codec;
intermediary field_44879
Lnet/minecraft/class_6676;field_44879:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;CODEC:Lcom/mojang/serialization/Codec;
-
seedLo
private long seedLo- Mappings:
Namespace Name Mixin selector official b
Ldls;b:J
intermediary field_35146
Lnet/minecraft/class_6676;field_35146:J
named seedLo
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;seedLo:J
-
seedHi
private long seedHi- Mappings:
Namespace Name Mixin selector official c
Ldls;c:J
intermediary field_35147
Lnet/minecraft/class_6676;field_35147:J
named seedHi
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;seedHi:J
-
-
Constructor Details
-
Xoroshiro128PlusPlusRandomImpl
- Mappings:
Namespace Name Mixin selector official <init>
Ldls;<init>(Ldlh$a;)V
intermediary <init>
Lnet/minecraft/class_6676;<init>(Lnet/minecraft/class_6673$class_6674;)V
named <init>
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;<init>(Lnet/minecraft/util/math/random/RandomSeed$XoroshiroSeed;)V
-
Xoroshiro128PlusPlusRandomImpl
public Xoroshiro128PlusPlusRandomImpl(long seedLo, long seedHi) - Mappings:
Namespace Name Mixin selector official <init>
Ldls;<init>(JJ)V
intermediary <init>
Lnet/minecraft/class_6676;<init>(JJ)V
named <init>
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;<init>(JJ)V
-
-
Method Details
-
next
public long next()- Mappings:
Namespace Name Mixin selector official a
Ldls;a()J
intermediary method_39007
Lnet/minecraft/class_6676;method_39007()J
named next
Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandomImpl;next()J
-