net.minecraft.world

public class RandomSequences

extends SavedData

cdg
net.minecraft.world.RandomSequences
net.minecraft.class_8565
net.minecraft.util.math.random.RandomSequencesState

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RandomSequences>
a
CODEC
field_63283
CODEC
public static final SavedDataType<RandomSequences>
b
TYPE
field_56420
STATE_TYPE
private int
c
salt
field_45100
salt
private boolean
d
includeWorldSeed
field_45101
includeWorldSeed
private boolean
e
includeSequenceId
field_45102
includeSequenceId
private final Map<Identifier, RandomSequence>
f
sequences
field_56421
sequences

Constructor summary

ModifierConstructor
public ()
private (int salt, boolean includeWorldSeed, boolean includeSequenceId, Map<Identifier, RandomSequence> sequences)

Method summary

Modifier and TypeMethod
public RandomSource
a(amo arg0, long arg1)
get(Identifier arg0, long arg1)
method_51843(class_2960 arg0, long arg1)
getOrCreate(Identifier id, long worldSeed)
private RandomSequence
c(amo arg0, long arg1)
createSequence(Identifier arg0, long arg1)
method_52519(class_2960 arg0, long arg1)
createSequence(Identifier id, long worldSeed)
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)
public void
a(BiConsumer<amo, cdf> arg0)
forAllSequences(BiConsumer<Identifier, RandomSequence> arg0)
method_52513(BiConsumer<class_2960, class_8564> arg0)
forEachSequence(BiConsumer<Identifier, RandomSequence> consumer)
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)
public int
a()
clear()
method_52509()
resetAll()
public void
b(amo arg0, long arg1)
reset(Identifier arg0, long arg1)
method_52517(class_2960 arg0, long arg1)
reset(Identifier id, long worldSeed)
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)
private int
b()
salt()
method_75101()
getSalt()
private boolean
c()
includeWorldSeed()
method_75102()
shouldIncludeWorldSeed()
private boolean
d()
includeSequenceId()
method_75103()
shouldIncludeSequenceId()