public class TPSBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
chunksLoaded |
protected double |
cpuUsage |
protected long |
date |
protected int |
entityCount |
protected long |
freeDiskSpace |
protected int |
players |
protected double |
ticksPerSecond |
protected long |
usedMemory |
Modifier and Type | Method and Description |
---|---|
TPSBuilder |
chunksLoaded(int chunksLoaded) |
TPSBuilder |
date(long date) |
TPSBuilder |
entities(int count) |
TPSBuilder |
freeDiskSpace(long freeDiskSpace) |
static TPSBuilder |
get() |
TPSBuilder |
playersOnline(int online) |
TPS |
toTPS() |
TPSBuilder |
tps(double tps) |
TPSBuilder |
usedCPU(double cpu) |
TPSBuilder |
usedMemory(long ram) |
protected long date
protected double ticksPerSecond
protected int players
protected double cpuUsage
protected long usedMemory
protected int entityCount
protected int chunksLoaded
protected long freeDiskSpace
public static TPSBuilder get()
public TPS toTPS()
public TPSBuilder date(long date)
public TPSBuilder tps(double tps)
public TPSBuilder playersOnline(int online)
public TPSBuilder usedCPU(double cpu)
public TPSBuilder usedMemory(long ram)
public TPSBuilder entities(int count)
public TPSBuilder chunksLoaded(int chunksLoaded)
public TPSBuilder freeDiskSpace(long freeDiskSpace)