W
- Type of the class representing a minecraft world.public interface ServerSensor<W>
Modifier and Type | Method and Description |
---|---|
default int |
getChunkCount(W world) |
default int |
getEntityCount(W world) |
int |
getOnlinePlayerCount() |
default double |
getTPS() |
default java.lang.Iterable<W> |
getWorlds()
Get the worlds running on the server platform.
|
boolean |
supportsDirectTPS()
Check if server platform provides TPS calculation.
|
boolean supportsDirectTPS()
int getOnlinePlayerCount()
default double getTPS()
default java.lang.Iterable<W> getWorlds()
default int getChunkCount(W world)
default int getEntityCount(W world)