public interface MinecraftVersion extends Comparable<MinecraftVersion>
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of this Minecraft version.
|
boolean |
isLegacy()
Returns whether this version is an older version that doesn't support
all of the features in
StatusResponse. |
compareToString getName()
Note: The returned name does not necessarily represent the name of a Minecraft version. Depending on the client and implementation, this may also just return a numeric value.
boolean isLegacy()
StatusResponse. These versions are only
supported for the ClientPingServerEvent, normally they should not be
able to join the server.
For Vanilla, this returns true for all clients older than 1.7.
True if this version is a legacy version