net.minecraft.world

public class RandomSequences

extends SavedData

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

字段概要

修饰符与类型字段
public static final com.mojang.serialization.Codec<RandomSequences>
a
CODEC
field_63283
CODEC
f_433258_
public static final SavedDataType<RandomSequences>
b
TYPE
field_56420
STATE_TYPE
f_382099_
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<Identifier, RandomSequence>
f
sequences
field_56421
sequences
f_286954_

构造函数概要

修饰符构造函数
public ()
private (int salt, boolean includeWorldSeed, boolean includeSequenceId, Map<Identifier, RandomSequence> sequences)

方法概要

修饰符与类型方法
public RandomSource
a(amo arg0, long arg1)
get(Identifier arg0, long arg1)
method_51843(class_2960 arg0, long arg1)
getOrCreate(Identifier id, long worldSeed)
m_287292_(C_432211_ p_458238_, long arg1)
private RandomSequence
c(amo arg0, long arg1)
createSequence(Identifier arg0, long arg1)
method_52519(class_2960 arg0, long arg1)
createSequence(Identifier id, long worldSeed)
m_294862_(C_432211_ p_454682_, long arg1)
private RandomSequence
b(amo arg0, long arg1, int arg2, boolean arg3, boolean arg4)
createSequence(Identifier arg0, long arg1, int arg2, boolean arg3, boolean arg4)
method_52518(class_2960 arg0, long arg1, int arg2, boolean arg3, boolean arg4)
createSequence(Identifier id, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_292708_(C_432211_ p_459663_, long p_299267_, int p_297272_, boolean arg3, boolean arg4)
public void
a(BiConsumer<amo, cdh> arg0)
forAllSequences(BiConsumer<Identifier, RandomSequence> arg0)
method_52513(BiConsumer<class_2960, class_8564> arg0)
forEachSequence(BiConsumer<Identifier, RandomSequence> consumer)
m_293664_(BiConsumer<C_432211_, 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 int
a()
clear()
method_52509()
resetAll()
m_292818_()
public void
b(amo arg0, long arg1)
reset(Identifier arg0, long arg1)
method_52517(class_2960 arg0, long arg1)
reset(Identifier id, long worldSeed)
m_295700_(C_432211_ p_458199_, long arg1)
public void
a(amo arg0, long arg1, int arg2, boolean arg3, boolean arg4)
reset(Identifier arg0, long arg1, int arg2, boolean arg3, boolean arg4)
method_52512(class_2960 arg0, long arg1, int arg2, boolean arg3, boolean arg4)
reset(Identifier id, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_294388_(C_432211_ p_459419_, long p_455321_, int p_459283_, boolean arg3, boolean arg4)
private int
b()
salt()
method_75101()
getSalt()
m_443374_()
private boolean
c()
includeWorldSeed()
method_75102()
shouldIncludeWorldSeed()
m_443523_()
private boolean
d()
includeSequenceId()
method_75103()
shouldIncludeSequenceId()
m_439777_()