net.minecraft.world

public class RandomSequences

extends SavedData

bhe
net.minecraft.world.RandomSequences
net.minecraft.class_8565
net.minecraft.util.math.random.RandomSequencesState
net.minecraft.src.C_286923_
net.minecraft.world.RandomSequences

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_44861
LOGGER
f_286984_
private final long
b
worldSeed
field_44862
seed
f_290669_
private int
c
salt
field_45100
salt
f_290528_
private boolean
d
includeWorldSeed
field_45101
includeWorldSeed
f_291706_
private boolean
e
includeSequenceId
field_45102
includeSequenceId
f_291446_
private final Map<ResourceLocation, RandomSequence>
f
sequences
field_44863
sequences
f_286954_

Constructor summary

ModifierConstructor
public (long seed)

Method summary

Modifier and TypeMethod
public static SavedData$Factory<RandomSequences>
a(long arg0)
factory(long arg0)
method_52511(long arg0)
getPersistentStateType(long seed)
m_295760_(long p_297402_)
public RandomSource
a(aew arg0)
get(ResourceLocation arg0)
method_51843(class_2960 arg0)
getOrCreate(Identifier id)
m_287292_(C_5265_ arg0)
private RandomSequence
c(aew arg0)
createSequence(ResourceLocation arg0)
method_52519(class_2960 arg0)
createSequence(Identifier id)
m_294862_(C_5265_ arg0)
private RandomSequence
b(aew arg0, int arg1, boolean arg2, boolean arg3)
createSequence(ResourceLocation arg0, int arg1, boolean arg2, boolean arg3)
method_52518(class_2960 arg0, int arg1, boolean arg2, boolean arg3)
createSequence(Identifier id, int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_292708_(C_5265_ p_299267_, int p_300525_, boolean p_297272_, boolean arg3)
public void
a(BiConsumer<aew, bhd> arg0)
forAllSequences(BiConsumer<ResourceLocation, RandomSequence> arg0)
method_52513(BiConsumer<class_2960, class_8564> arg0)
forEachSequence(BiConsumer<Identifier, RandomSequence> consumer)
m_293664_(BiConsumer<C_5265_, C_286931_> arg0)
public void
a(int arg0, boolean arg1, boolean arg2)
setSeedDefaults(int arg0, boolean arg1, boolean arg2)
method_52510(int arg0, boolean arg1, boolean arg2)
setDefaultParameters(int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_293057_(int p_298395_, boolean p_298518_, boolean arg2)
public CompoundTag
a(qw arg0)
save(CompoundTag arg0)
method_75(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_7176_(C_4917_ arg0)
private static boolean
a(qw arg0, String arg1, boolean arg2)
getBooleanWithDefault(CompoundTag arg0, String arg1, boolean arg2)
method_52514(class_2487 arg0, String arg1, boolean arg2)
getBooleanFromNbtOrFallback(NbtCompound nbt, String key, boolean fallback)
m_295631_(C_4917_ p_297418_, String p_298953_, boolean p_297237_)
public static RandomSequences
a(long arg0, qw arg1)
load(long arg0, CompoundTag arg1)
method_51842(long arg0, class_2487 arg1)
fromNbt(long seed, NbtCompound nbt)
m_287187_(long p_287756_, C_4917_ arg1)
public int
a()
clear()
method_52509()
resetAll()
m_292818_()
public void
b(aew arg0)
reset(ResourceLocation arg0)
method_52517(class_2960 arg0)
reset(Identifier id)
m_294388_(C_5265_ arg0)
public void
a(aew arg0, int arg1, boolean arg2, boolean arg3)
reset(ResourceLocation arg0, int arg1, boolean arg2, boolean arg3)
method_52512(class_2960 arg0, int arg1, boolean arg2, boolean arg3)
reset(Identifier id, int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_295700_(C_5265_ p_298554_, int p_298049_, boolean p_301283_, boolean arg3)