Uses of Class
com.hazebyte.crate.api.ServerVersion
-
Packages that use ServerVersion Package Description com.hazebyte.crate.api General classes in the API -
-
Uses of ServerVersion in com.hazebyte.crate.api
Fields in com.hazebyte.crate.api declared as ServerVersion Modifier and Type Field Description static ServerVersion
ServerVersion. SERVER_MOCK
static ServerVersion
ServerVersion. v1_10_R1
static ServerVersion
ServerVersion. v1_12_R1
static ServerVersion
ServerVersion. v1_13_R1
static ServerVersion
ServerVersion. v1_14_R1
static ServerVersion
ServerVersion. v1_16_R1
static ServerVersion
ServerVersion. v1_20_R6
static ServerVersion
ServerVersion. v1_21_R0
static ServerVersion
ServerVersion. v1_8_R1
static ServerVersion
ServerVersion. v1_8_R2
static ServerVersion
ServerVersion. v1_9_R1
Methods in com.hazebyte.crate.api that return ServerVersion Modifier and Type Method Description ServerVersion
CratePlugin. getServerVersion()
static ServerVersion
ServerVersion. getVersion()
Returns the current running server version.static ServerVersion
ServerVersion. of(String versionString)
1.20.6 => Major (1), Minor (20), Revision (6)Methods in com.hazebyte.crate.api with parameters of type ServerVersion Modifier and Type Method Description int
ServerVersion. compareTo(ServerVersion serverVersion)
boolean
ServerVersion. gt(ServerVersion version)
Returns true if the calling server version is greater than the parameter.boolean
ServerVersion. gte(ServerVersion version)
Returns true if the calling server version is greater than or equal to the parameter.boolean
ServerVersion. lt(ServerVersion version)
Returns true if the calling server version is less than the parameter.boolean
ServerVersion. lte(ServerVersion version)
Returns true if the calling server version is less than or equal to the parameter.
-