Package | Description |
---|---|
com.comphenix.protocol |
Contains classes for retrieving the main ProtocolMananger object.
|
com.comphenix.protocol.injector | |
com.comphenix.protocol.utility |
Modifier and Type | Method and Description |
---|---|
MinecraftVersion |
PacketType.getCurrentVersion()
Retrieve the Minecraft version for the current ID.
|
MinecraftVersion |
ProtocolManager.getMinecraftVersion()
Retrieve the current Minecraft version.
|
Constructor and Description |
---|
PacketType(PacketType.Protocol protocol,
PacketType.Sender sender,
int currentId,
int legacyId,
MinecraftVersion version)
Construct a new packet type.
|
Modifier and Type | Method and Description |
---|---|
MinecraftVersion |
PacketFilterBuilder.getMinecraftVersion()
Retrieve the current Minecraft version.
|
MinecraftVersion |
DelayedPacketManager.getMinecraftVersion() |
MinecraftVersion |
PacketFilterManager.getMinecraftVersion() |
Modifier and Type | Method and Description |
---|---|
PacketFilterBuilder |
PacketFilterBuilder.minecraftVersion(MinecraftVersion mcVersion)
Set the current Minecraft version.
|
Constructor and Description |
---|
DelayedPacketManager(ErrorReporter reporter,
MinecraftVersion version) |
Modifier and Type | Field and Description |
---|---|
static MinecraftVersion |
MinecraftVersion.HORSE_UPDATE
Version 1.6.1 - the horse update.
|
static MinecraftVersion |
MinecraftVersion.REDSTONE_UPDATE
Version 1.5.0 - the redstone update.
|
static MinecraftVersion |
MinecraftVersion.SCARY_UPDATE
Version 1.4.2 - the scary update (Wither Boss).
|
static MinecraftVersion |
MinecraftVersion.SKIN_UPDATE
Version 1.7.8 - the update that changed the skin format (and distribution - R.I.P.
|
static MinecraftVersion |
MinecraftVersion.WORLD_UPDATE
Version 1.7.2 - the update that changed the world.
|
Modifier and Type | Method and Description |
---|---|
static MinecraftVersion |
MinecraftVersion.fromServerVersion(java.lang.String serverVersion)
Parse the given server version into a Minecraft version.
|
Modifier and Type | Method and Description |
---|---|
int |
MinecraftVersion.compareTo(MinecraftVersion o) |