Class RandomSupport

java.lang.Object
net.minecraft.world.level.levelgen.RandomSupport

public final class RandomSupport extends Object
  • Field Details

    • GOLDEN_RATIO_64

      public static final long GOLDEN_RATIO_64
      See Also:
    • SILVER_RATIO_64

      public static final long SILVER_RATIO_64
      See Also:
    • MD5_128

      private static final com.google.common.hash.HashFunction MD5_128
    • SEED_UNIQUIFIER

      private static final AtomicLong SEED_UNIQUIFIER
  • Constructor Details

    • RandomSupport

      public RandomSupport()
  • Method Details

    • mixStafford13

      public static long mixStafford13(long p_189330_)
    • upgradeSeedTo128bitUnmixed

      public static RandomSupport.Seed128bit upgradeSeedTo128bitUnmixed(long p_289660_)
    • upgradeSeedTo128bit

      public static RandomSupport.Seed128bit upgradeSeedTo128bit(long p_189332_)
    • seedFromHashOf

      public static RandomSupport.Seed128bit seedFromHashOf(String p_288994_)
    • generateUniqueSeed

      public static long generateUniqueSeed()