public class MinecraftProtocolVersion extends Object
| Constructor and Description |
|---|
MinecraftProtocolVersion() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCurrentVersion()
Retrieve the version of the Minecraft protocol for the current version of Minecraft.
|
static int |
getVersion(MinecraftVersion version)
Retrieve the version of the Minecraft protocol for this version of Minecraft.
|
public static int getCurrentVersion()
public static int getVersion(MinecraftVersion version)
version - - the version.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.