Class RandomSeed

java.lang.Object
net.minecraft.world.gen.random.RandomSeed

public final class RandomSeed extends Object
Mappings:
Namespace Name
official cuo
intermediary net/minecraft/class_6673
named net/minecraft/world/gen/random/RandomSeed
  • Field Details

    • XOROSHIRO64_SEED_LO_FALLBACK

      public static final long XOROSHIRO64_SEED_LO_FALLBACK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcuo;a:J
      intermediary field_35133 Lnet/minecraft/class_6673;field_35133:J
      named XOROSHIRO64_SEED_LO_FALLBACK Lnet/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 b Lcuo;b:J
      intermediary field_35134 Lnet/minecraft/class_6673;field_35134:J
      named XOROSHIRO64_SEED_HI_FALLBACK Lnet/minecraft/world/gen/random/RandomSeed;XOROSHIRO64_SEED_HI_FALLBACK:J
    • SEED_UNIQUIFIER

      private static final AtomicLong SEED_UNIQUIFIER
      Mappings:
      Namespace Name Mixin selector
      official c Lcuo;c:Ljava/util/concurrent/atomic/AtomicLong;
      intermediary field_35135 Lnet/minecraft/class_6673;field_35135:Ljava/util/concurrent/atomic/AtomicLong;
      named SEED_UNIQUIFIER Lnet/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 a Lcuo;a(J)J
      intermediary method_39002 Lnet/minecraft/class_6673;method_39002(J)J
      named nextSplitMix64Int Lnet/minecraft/world/gen/random/RandomSeed;nextSplitMix64Int(J)J
    • createXoroshiroSeed

      public static RandomSeed.XoroshiroSeed createXoroshiroSeed(long seed)
      Mappings:
      Namespace Name Mixin selector
      official b Lcuo;b(J)Lcuo$a;
      intermediary method_39003 Lnet/minecraft/class_6673;method_39003(J)Lnet/minecraft/class_6673$class_6674;
      named createXoroshiroSeed Lnet/minecraft/world/gen/random/RandomSeed;createXoroshiroSeed(J)Lnet/minecraft/world/gen/random/RandomSeed$XoroshiroSeed;
    • getSeed

      public static long getSeed()
      Returns the seed calculated using SEED_UNIQUIFIER and the system time.
      Returns:
      the seed calculated using SEED_UNIQUIFIER and the system time
      Mappings:
      Namespace Name Mixin selector
      official a Lcuo;a()J
      intermediary method_39001 Lnet/minecraft/class_6673;method_39001()J
      named getSeed Lnet/minecraft/world/gen/random/RandomSeed;getSeed()J