classinternallombokSource
public class WorldClocks

Constructors

public WorldClocks()

Methods

public static WorldClocks fromNbt(NbtCompound nbt)
Parameters
nbtNbtCompound
Returns
WorldClocks
public Map<String, Long> getClocks()

Returns the clocks value.

Returns
Map<String, Long>

Generated by Lombok's @Getter for the field clocks

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
dataVersionint

Generated by Lombok's @Setter for the field dataVersion

public NbtCompound toNbt()

Used by

Methods of other types that accept or return WorldClocks.