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_295115_, Optional<ResourceLocation> p_295306_) 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_294573_) 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_294573_) -
seedForKey
-
random
-