public class StopWatchesConstructors
public StopWatches()Methods
StopWatches fromNbt(NbtCompound)int getDataVersion()Returns the dataVersion value.Map<String, Long> getStopwatches()Returns the stopwatches value.void setDataVersion(int)Sets the dataVersion value.NbtCompound toNbt()Converts the Stopwatches Object to an NbtCompoundpublic static StopWatches fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
StopWatches | ||
getDataVersion()
lombokSource
public int getDataVersion()Returns the dataVersion value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field dataVersion
getStopwatches()
lombokSource
public Map<String, Long> getStopwatches()public void setDataVersion(int dataVersion)Sets the dataVersion value.
| Parameters | ||
|---|---|---|
dataVersion | int | |
Generated by Lombok's @Setter for the field dataVersion
public NbtCompound toNbt()Converts the Stopwatches Object to an NbtCompound
| Returns | ||
|---|---|---|
NbtCompound | The created NbtCompound | |
Used by
Methods of other types that accept or return StopWatches.