Phpcraft
|
Static Public Member Functions | |
static | protocol (bool $all=true) |
static | list (bool $all=true) |
static | protocolSupported (int $protocol_version) |
static | minecraftSupported (string $minecraft_version) |
static | minecraftToProtocol (string $minecraft_version) |
static | minecraft (bool $all=true) |
static | minecraftReleases (bool $all=true) |
static | releases (bool $all=true) |
static | protocolToRange (int $protocol_version) |
static | protocolToMinecraft (int $protocol_version) |
|
static |
Returns an associative array of Minecraft versions with their protocol version as value; newest first.
boolean | $all | true = all versions; false = only supported versions. |
Exception |
|
static |
Returns an array of Minecraft versions; newest first.
boolean | $all | true = all versions; false = only supported versions. |
|
static |
Returns an array of non-snapshot Minecraft versions; newest first.
boolean | $all | true = all versions; false = only supported versions. |
|
static |
Returns true if the given Minecraft version is supported by Phpcraft.
string | $minecraft_version |
|
static |
Returns the protocol version corresponding to the given Minecraft version; newest first.
string | $minecraft_version |
|
static |
Returns a list of protocol versions; newest first.
boolean | $all | true = all versions; false = only supported versions. |
|
static |
Returns true if the given protocol version is supported by Phpcraft.
int | $protocol_version | e.g., 340 |
|
static |
Returns an array of Minecraft versions corresponding to the given protocol version; newest first.
int | $protocol_version |
|
static |
Returns a human-readable range of Minecraft versions corresponding to the given protocol version, e.g. 47 would return "1.8 - 1.8.9"
int | $protocol_version |
|
static |
Returns an associative array of non-snapshot Minecraft versions with their protocol version as value; newest first.
boolean | $all | true = all versions; false = only supported versions. |