Package net.minecraft.util.math.random
Class RandomSeed
java.lang.Object
net.minecraft.util.math.random.RandomSeed
- Mappings:
 Namespace Name named net/minecraft/util/math/random/RandomSeedintermediary net/minecraft/class_6673official dzn
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longprivate static final HashFunctionprivate static final AtomicLongstatic final long - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic RandomSeed.XoroshiroSeedcreateUnmixedXoroshiroSeed(long seed) static RandomSeed.XoroshiroSeedcreateXoroshiroSeed(long seed) static RandomSeed.XoroshiroSeedcreateXoroshiroSeed(String seed) static longgetSeed()Returns the seed calculated usingSEED_UNIQUIFIERand the system time.static longmixStafford13(long seed)  
- 
Field Details
- 
GOLDEN_RATIO_64
public static final long GOLDEN_RATIO_64- See Also:
 - Mappings:
 Namespace Name Mixin selector named GOLDEN_RATIO_64Lnet/minecraft/util/math/random/RandomSeed;GOLDEN_RATIO_64:Jintermediary field_35133Lnet/minecraft/class_6673;field_35133:Jofficial aLdzn;a:J
 - 
SILVER_RATIO_64
public static final long SILVER_RATIO_64- See Also:
 - Mappings:
 Namespace Name Mixin selector named SILVER_RATIO_64Lnet/minecraft/util/math/random/RandomSeed;SILVER_RATIO_64:Jintermediary field_35134Lnet/minecraft/class_6673;field_35134:Jofficial bLdzn;b:J
 - 
MD5_HASH
- Mappings:
 Namespace Name Mixin selector named MD5_HASHLnet/minecraft/util/math/random/RandomSeed;MD5_HASH:Lcom/google/common/hash/HashFunction;intermediary field_44918Lnet/minecraft/class_6673;field_44918:Lcom/google/common/hash/HashFunction;official cLdzn;c:Lcom/google/common/hash/HashFunction;
 - 
SEED_UNIQUIFIER
- Mappings:
 Namespace Name Mixin selector named SEED_UNIQUIFIERLnet/minecraft/util/math/random/RandomSeed;SEED_UNIQUIFIER:Ljava/util/concurrent/atomic/AtomicLong;intermediary field_35135Lnet/minecraft/class_6673;field_35135:Ljava/util/concurrent/atomic/AtomicLong;official dLdzn;d:Ljava/util/concurrent/atomic/AtomicLong;
 
 - 
 - 
Constructor Details
- 
RandomSeed
public RandomSeed() 
 - 
 - 
Method Details
- 
mixStafford13
public static long mixStafford13(long seed) - Mappings:
 Namespace Name Mixin selector named mixStafford13Lnet/minecraft/util/math/random/RandomSeed;mixStafford13(J)Jintermediary method_39002Lnet/minecraft/class_6673;method_39002(J)Jofficial aLdzn;a(J)J
 - 
createUnmixedXoroshiroSeed
- Mappings:
 Namespace Name Mixin selector named createUnmixedXoroshiroSeedLnet/minecraft/util/math/random/RandomSeed;createUnmixedXoroshiroSeed(J)Lnet/minecraft/util/math/random/RandomSeed$XoroshiroSeed;intermediary method_52211Lnet/minecraft/class_6673;method_52211(J)Lnet/minecraft/class_6673$class_6674;official bLdzn;b(J)Ldzn$a;
 - 
createXoroshiroSeed
- Mappings:
 Namespace Name Mixin selector named createXoroshiroSeedLnet/minecraft/util/math/random/RandomSeed;createXoroshiroSeed(J)Lnet/minecraft/util/math/random/RandomSeed$XoroshiroSeed;intermediary method_39003Lnet/minecraft/class_6673;method_39003(J)Lnet/minecraft/class_6673$class_6674;official cLdzn;c(J)Ldzn$a;
 - 
createXoroshiroSeed
- Mappings:
 Namespace Name Mixin selector named createXoroshiroSeedLnet/minecraft/util/math/random/RandomSeed;createXoroshiroSeed(Ljava/lang/String;)Lnet/minecraft/util/math/random/RandomSeed$XoroshiroSeed;intermediary method_52180Lnet/minecraft/class_6673;method_52180(Ljava/lang/String;)Lnet/minecraft/class_6673$class_6674;official aLdzn;a(Ljava/lang/String;)Ldzn$a;
 - 
getSeed
public static long getSeed()Returns the seed calculated usingSEED_UNIQUIFIERand the system time.- Returns:
 - the seed calculated using 
SEED_UNIQUIFIERand the system time - Mappings:
 Namespace Name Mixin selector named getSeedLnet/minecraft/util/math/random/RandomSeed;getSeed()Jintermediary method_39001Lnet/minecraft/class_6673;method_39001()Jofficial aLdzn;a()J
 
 -