net.minecraft.util.math.random

public class RandomSequencesState

extends PersistentState

net.minecraft.world.RandomSequences
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<RandomSequencesState>
CODEC
CODEC
field_63283
CODEC
public static final PersistentStateType<RandomSequencesState>
TYPE
TYPE
field_56420
STATE_TYPE
private int
salt
salt
field_45100
salt
private boolean
includeWorldSeed
includeWorldSeed
field_45101
includeWorldSeed
private boolean
includeSequenceId
includeSequenceId
field_45102
includeSequenceId
private final Map<Identifier, RandomSequence>
sequences
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 Random
get(Identifier key, long worldSeed)
get(Identifier key, long worldSeed)
method_51843(class_2960 arg0, long arg1)
getOrCreate(Identifier id, long worldSeed)
private RandomSequence
createSequence(Identifier key, long worldSeed)
createSequence(Identifier key, long worldSeed)
method_52519(class_2960 arg0, long arg1)
createSequence(Identifier id, long worldSeed)
private RandomSequence
createSequence(Identifier key, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
createSequence(Identifier key, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
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
forAllSequences(BiConsumer<Identifier, RandomSequence> consumer)
forAllSequences(BiConsumer<Identifier, RandomSequence> consumer)
method_52513(BiConsumer<class_2960, class_8564> arg0)
forEachSequence(BiConsumer<Identifier, RandomSequence> consumer)
public void
setSeedDefaults(int salt, boolean includeWorldSeed, boolean includeSequenceId)
setSeedDefaults(int salt, boolean includeWorldSeed, boolean includeSequenceId)
method_52510(int arg0, boolean arg1, boolean arg2)
setDefaultParameters(int salt, boolean includeWorldSeed, boolean includeSequenceId)
public int
clear()
clear()
method_52509()
resetAll()
public void
reset(Identifier id, long worldSeed)
reset(Identifier id, long worldSeed)
method_52517(class_2960 arg0, long arg1)
reset(Identifier id, long worldSeed)
public void
reset(Identifier id, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
reset(Identifier id, long worldSeed, int salt, boolean includeWorldSeed, boolean includeSequenceId)
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
salt()
salt()
method_75101()
getSalt()
private boolean
includeWorldSeed()
includeWorldSeed()
method_75102()
shouldIncludeWorldSeed()
private boolean
includeSequenceId()
includeSequenceId()
method_75103()
shouldIncludeSequenceId()