NetworkClientpublic interface StatusClient extends NetworkClient
PaperServerListPingEvent| Modifier and Type | Method | Description |
|---|---|---|
default boolean |
isLegacy() |
Returns whether the client is using an older version that doesn't
support all of the features in
PaperServerListPingEvent. |
getAddress, getProtocolVersion, getVirtualHostdefault boolean isLegacy()
PaperServerListPingEvent.
For Vanilla, this returns true for all clients older than 1.7.
true if the client is using legacy pingCopyright © 2018. All rights reserved.