classinternallombokSource
public class StopWatches

Constructors

public StopWatches()

Methods

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

Returns the dataVersion value.

Returns
int

Generated by Lombok's @Getter for the field dataVersion

public Map<String, Long> getStopwatches()

Returns the stopwatches value.

Returns
Map<String, Long>

Generated by Lombok's @Getter for the field stopwatches

public void setDataVersion(int dataVersion)

Sets the dataVersion value.

Parameters
dataVersionint

Generated by Lombok's @Setter for the field dataVersion

public NbtCompound toNbt()
Converts the Stopwatches Object to an NbtCompound
Returns
NbtCompoundThe created NbtCompound

Used by

Methods of other types that accept or return StopWatches.