@Deprecated public static class Packets.Client extends IntEnum
Deprecated: Use PacketType
instead.
Modifier and Type | Field and Description |
---|---|
static int |
ABILITIES
Deprecated.
|
static int |
ARM_ANIMATION
Deprecated.
|
static int |
BLOCK_DIG
Deprecated.
|
static int |
BLOCK_ITEM_SWITCH
Deprecated.
|
static int |
BUTTON_CLICK
Deprecated.
|
static int |
CHAT
Deprecated.
|
static int |
CLIENT_COMMAND
Deprecated.
|
static int |
CLOSE_WINDOW
Deprecated.
|
static int |
CUSTOM_PAYLOAD
Deprecated.
|
static int |
ENTITY_ACTION
Deprecated.
|
static int |
FLYING
Deprecated.
|
static int |
GET_INFO
Deprecated.
|
static int |
HANDSHAKE
Deprecated.
|
static int |
KEEP_ALIVE
Deprecated.
|
static int |
KEY_RESPONSE
Deprecated.
|
static int |
KICK_DISCONNECT
Deprecated.
|
static int |
LOCALE_AND_VIEW_DISTANCE
Deprecated.
|
static int |
LOGIN
Deprecated.
|
static int |
LOGIN_START
Deprecated.
This packet was introduced in 1.7.2.
|
static int |
PING_TIME
Deprecated.
This packet was introduced in 1.7.2.
|
static int |
PLACE
Deprecated.
|
static int |
PLAYER_INPUT
Deprecated.
|
static int |
PLAYER_LOOK
Deprecated.
|
static int |
PLAYER_LOOK_MOVE
Deprecated.
|
static int |
PLAYER_POSITION
Deprecated.
|
static int |
RESPAWN
Deprecated.
|
static int |
SET_CREATIVE_SLOT
Deprecated.
|
static int |
TAB_COMPLETE
Deprecated.
|
static int |
TRANSACTION
Deprecated.
|
static int |
UPDATE_SIGN
Deprecated.
|
static int |
USE_ENTITY
Deprecated.
|
static int |
WINDOW_CLICK
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Packets.Client |
getRegistry()
Deprecated.
A registry that parses between names and packet IDs.
|
static java.util.Set<java.lang.Integer> |
getSupported()
Deprecated.
Retrieve every client packet the current version of Minecraft is aware of.
|
static boolean |
isSupported(int packetID)
Deprecated.
Determine if the given packet is a valid client packet in the current version of Minecraft.
|
getDeclaredName, hasMember, registerAll, registerMember, valueOf, values
public static final int KEEP_ALIVE
public static final int LOGIN
public static final int HANDSHAKE
public static final int CHAT
public static final int USE_ENTITY
@Deprecated public static final int RESPAWN
public static final int FLYING
public static final int PLAYER_POSITION
public static final int PLAYER_LOOK
public static final int PLAYER_LOOK_MOVE
public static final int BLOCK_DIG
public static final int PLACE
public static final int BLOCK_ITEM_SWITCH
public static final int ARM_ANIMATION
public static final int ENTITY_ACTION
public static final int PLAYER_INPUT
public static final int CLOSE_WINDOW
public static final int WINDOW_CLICK
public static final int TRANSACTION
public static final int SET_CREATIVE_SLOT
public static final int BUTTON_CLICK
public static final int UPDATE_SIGN
public static final int ABILITIES
public static final int TAB_COMPLETE
public static final int LOCALE_AND_VIEW_DISTANCE
public static final int CLIENT_COMMAND
public static final int CUSTOM_PAYLOAD
public static final int KEY_RESPONSE
public static final int GET_INFO
public static final int KICK_DISCONNECT
public static final int PING_TIME
public static final int LOGIN_START
public static Packets.Client getRegistry()
public static boolean isSupported(int packetID) throws FieldAccessException
packetID
- - the packet to test.FieldAccessException
- If we're unable to retrieve the client packet data from Minecraft.public static java.util.Set<java.lang.Integer> getSupported() throws FieldAccessException
FieldAccessException
- If we're unable to retrieve the client packet data from Minecraft.