Class RandomSupport
java.lang.Object
net.minecraft.world.level.levelgen.RandomSupport
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final longprivate static final com.google.common.hash.HashFunctionprivate static final AtomicLongstatic final long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic longstatic longmixStafford13(long p_189330_) static RandomSupport.Seed128bitseedFromHashOf(String p_288994_) static RandomSupport.Seed128bitupgradeSeedTo128bit(long p_189332_) static RandomSupport.Seed128bitupgradeSeedTo128bitUnmixed(long p_289660_) 
- 
Field Details- 
GOLDEN_RATIO_64public static final long GOLDEN_RATIO_64- See Also:
 
- 
SILVER_RATIO_64public static final long SILVER_RATIO_64- See Also:
 
- 
MD5_128private static final com.google.common.hash.HashFunction MD5_128
- 
SEED_UNIQUIFIER
 
- 
- 
Constructor Details- 
RandomSupportpublic RandomSupport()
 
- 
- 
Method Details- 
mixStafford13public static long mixStafford13(long p_189330_) 
- 
upgradeSeedTo128bitUnmixed
- 
upgradeSeedTo128bit
- 
seedFromHashOf
- 
generateUniqueSeedpublic static long generateUniqueSeed()
 
-