NetworkClient
public 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, getVirtualHost
default boolean isLegacy()
PaperServerListPingEvent
.
For Vanilla, this returns true
for all clients older than 1.7.
true
if the client is using legacy pingCopyright © 2020. All rights reserved.