Modifier and Type | Field and Description |
---|---|
static int |
ABILITIES |
static int |
ARM_ANIMATION |
static int |
BLOCK_DIG |
static int |
BLOCK_ITEM_SWITCH |
static int |
BUTTON_CLICK |
static int |
CHAT |
static int |
CLIENT_COMMAND |
static int |
CLOSE_WINDOW |
static int |
CUSTOM_PAYLOAD |
static int |
ENTITY_ACTION |
static int |
FLYING |
static int |
GET_INFO |
static int |
HANDSHAKE |
static int |
KEEP_ALIVE |
static int |
KEY_RESPONSE |
static int |
KICK_DISCONNECT |
static int |
LOCALE_AND_VIEW_DISTANCE |
static int |
LOGIN |
static int |
PLACE |
static int |
PLAYER_LOOK |
static int |
PLAYER_LOOK_MOVE |
static int |
PLAYER_POSITION |
static int |
RESPAWN |
static int |
SET_CREATIVE_SLOT |
static int |
TAB_COMPLETE |
static int |
TRANSACTION |
static int |
UPDATE_SIGN |
static int |
USE_ENTITY |
static int |
WINDOW_CLICK |
Modifier and Type | Method and Description |
---|---|
static Packets.Client |
getRegistry()
A registry that parses between names and packet IDs.
|
static java.util.Set<java.lang.Integer> |
getSupported()
Retrieve every client packet the current version of Minecraft is aware of.
|
static boolean |
isSupported(int packetID)
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
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 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 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.