Package net.minecraft.world.gen.random
Class RandomSeed
java.lang.Object
net.minecraft.world.gen.random.RandomSeed
- Mappings:
Namespace Name official cuointermediary net/minecraft/class_6673named net/minecraft/world/gen/random/RandomSeed
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AtomicLongstatic final longstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomSeed.XoroshiroSeedcreateXoroshiroSeed(long seed) static longgetSeed()Returns the seed calculated usingSEED_UNIQUIFIERand the system time.static longnextSplitMix64Int(long seed)
-
Field Details
-
XOROSHIRO64_SEED_LO_FALLBACK
public static final long XOROSHIRO64_SEED_LO_FALLBACK- See Also:
- Mappings:
Namespace Name Mixin selector official aLcuo;a:Jintermediary field_35133Lnet/minecraft/class_6673;field_35133:Jnamed XOROSHIRO64_SEED_LO_FALLBACKLnet/minecraft/world/gen/random/RandomSeed;XOROSHIRO64_SEED_LO_FALLBACK:J
-
XOROSHIRO64_SEED_HI_FALLBACK
public static final long XOROSHIRO64_SEED_HI_FALLBACK- See Also:
- Mappings:
Namespace Name Mixin selector official bLcuo;b:Jintermediary field_35134Lnet/minecraft/class_6673;field_35134:Jnamed XOROSHIRO64_SEED_HI_FALLBACKLnet/minecraft/world/gen/random/RandomSeed;XOROSHIRO64_SEED_HI_FALLBACK:J
-
SEED_UNIQUIFIER
- Mappings:
Namespace Name Mixin selector official cLcuo;c:Ljava/util/concurrent/atomic/AtomicLong;intermediary field_35135Lnet/minecraft/class_6673;field_35135:Ljava/util/concurrent/atomic/AtomicLong;named SEED_UNIQUIFIERLnet/minecraft/world/gen/random/RandomSeed;SEED_UNIQUIFIER:Ljava/util/concurrent/atomic/AtomicLong;
-
-
Constructor Details
-
RandomSeed
public RandomSeed()
-
-
Method Details
-
nextSplitMix64Int
public static long nextSplitMix64Int(long seed) - Mappings:
Namespace Name Mixin selector official aLcuo;a(J)Jintermediary method_39002Lnet/minecraft/class_6673;method_39002(J)Jnamed nextSplitMix64IntLnet/minecraft/world/gen/random/RandomSeed;nextSplitMix64Int(J)J
-
createXoroshiroSeed
- Mappings:
Namespace Name Mixin selector official bLcuo;b(J)Lcuo$a;intermediary method_39003Lnet/minecraft/class_6673;method_39003(J)Lnet/minecraft/class_6673$class_6674;named createXoroshiroSeedLnet/minecraft/world/gen/random/RandomSeed;createXoroshiroSeed(J)Lnet/minecraft/world/gen/random/RandomSeed$XoroshiroSeed;
-
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 official aLcuo;a()Jintermediary method_39001Lnet/minecraft/class_6673;method_39001()Jnamed getSeedLnet/minecraft/world/gen/random/RandomSeed;getSeed()J
-