classinternallombokSource
public class RandomSequences

Constructors

public RandomSequences()

Methods

public static RandomSequences fromNbt(NbtCompound nbt)
Parameters
nbtNbtCompound
Returns
RandomSequences
public int getDataVersion()

Returns the dataVersion value.

Returns
int

Generated by Lombok's @Getter for the field dataVersion

public int getSalt()

Returns the salt value.

Returns
int

Generated by Lombok's @Getter for the field salt

public Map<String, long[]> getSequences()

Returns the sequences value.

Returns
Map<String, long[]>

Generated by Lombok's @Getter for the field sequences

public void putSequence(String key, long[] value)
Parameters
keyString
valuelong[]
public void removeSequence(String key)
Parameters
keyString
public void setDataVersion(int dataVersion)

Sets the dataVersion value.

Parameters
dataVersionint

Generated by Lombok's @Setter for the field dataVersion

public void setSalt(int salt)

Sets the salt value.

Parameters
saltint

Generated by Lombok's @Setter for the field salt

public NbtCompound toNbt()

Used by

Methods of other types that accept or return RandomSequences.