Package net.minecraft.world
Class RandomSequence
java.lang.Object
net.minecraft.world.RandomSequence
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RandomSequence>
private final XoroshiroRandomSource
-
Constructor Summary
ConstructorDescriptionRandomSequence
(long p_298200_, Optional<ResourceLocation> p_297536_) RandomSequence
(long p_287592_, ResourceLocation p_287762_) RandomSequence
(XoroshiroRandomSource p_287597_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static XoroshiroRandomSource
createSequence
(long p_289567_, Optional<ResourceLocation> p_300474_) random()
static RandomSupport.Seed128bit
seedForKey
(ResourceLocation p_288989_)
-
Field Details
-
CODEC
-
source
-
-
Constructor Details
-
RandomSequence
-
RandomSequence
-
RandomSequence
-
-
Method Details
-
createSequence
private static XoroshiroRandomSource createSequence(long p_289567_, Optional<ResourceLocation> p_300474_) -
seedForKey
-
random
-