public class WorldClocksConstructors
public WorldClocks()Methods
WorldClocks fromNbt(NbtCompound)Map<String, Long> getClocks()Returns the clocks value.int getDataVersion()Returns the dataVersion value.void setDataVersion(int)Sets the dataVersion value.NbtCompound toNbt()public static WorldClocks fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
WorldClocks | ||
getClocks()
lombokSource
public Map<String, Long> getClocks()getDataVersion()
lombokSource
public int getDataVersion()Returns the dataVersion value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field dataVersion
public void setDataVersion(int dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | int | |
Generated by Lombok's @Setter for the field dataVersion
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||
Used by
Methods of other types that accept or return WorldClocks.