minified-worlds/com.dervarex.minified.worlds.save.data
RandomSequences
public class RandomSequencesConstructors
public RandomSequences()Methods
RandomSequences fromNbt(NbtCompound)int getDataVersion()Returns the dataVersion value.int getSalt()Returns the salt value.Map<String, long[]> getSequences()Returns the sequences value.void putSequence(String, long[])void removeSequence(String)void setDataVersion(int)Sets the dataVersion value.void setSalt(int)Sets the salt value.NbtCompound toNbt()public static RandomSequences fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
RandomSequences | ||
getDataVersion()
lombokSource
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
getSequences()
lombokSource
public Map<String, long[]> getSequences()public void putSequence(String key, long[] value)| Parameters | ||
|---|---|---|
key | String | |
value | long[] | |
public void removeSequence(String key)| Parameters | ||
|---|---|---|
key | String | |
public void setDataVersion(int dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | int | |
Generated by Lombok's @Setter for the field dataVersion
setSalt(int)
lombokSource
public void setSalt(int salt)Sets the salt value.
| Parameters | ||
|---|---|---|
salt | int | |
Generated by Lombok's @Setter for the field salt
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return RandomSequences.