@Deprecated public static final class Packets.Server extends IntEnum
Deprecated: Use PacketType
instead.
Modifier and Type | Field and Description |
---|---|
static int |
ABILITIES
Deprecated.
|
static int |
ADD_EXP_ORB
Deprecated.
|
static int |
ARM_ANIMATION
Deprecated.
|
static int |
ATTACH_ENTITY
Deprecated.
|
static int |
BED
Deprecated.
|
static int |
BLOCK_BREAK_ANIMATION
Deprecated.
|
static int |
BLOCK_CHANGE
Deprecated.
|
static int |
BLOCK_ITEM_SWITCH
Deprecated.
Made bi-directional in 1.4.6.
|
static int |
CHAT
Deprecated.
|
static int |
CLOSE_WINDOW
Deprecated.
|
static int |
COLLECT
Deprecated.
|
static int |
CRAFT_PROGRESS_BAR
Deprecated.
|
static int |
CUSTOM_PAYLOAD
Deprecated.
|
static int |
DESTROY_ENTITY
Deprecated.
|
static int |
DISPLAY_SCOREBOARD
Deprecated.
|
static int |
ENTITY
Deprecated.
|
static int |
ENTITY_EQUIPMENT
Deprecated.
|
static int |
ENTITY_HEAD_ROTATION
Deprecated.
|
static int |
ENTITY_LOCATION_ACTION
Deprecated.
|
static int |
ENTITY_LOOK
Deprecated.
|
static int |
ENTITY_METADATA
Deprecated.
Sent when an entities DataWatcher is updated.
|
static int |
ENTITY_PAINTING
Deprecated.
|
static int |
ENTITY_STATUS
Deprecated.
|
static int |
ENTITY_TELEPORT
Deprecated.
|
static int |
ENTITY_VELOCITY
Deprecated.
|
static int |
EXPLOSION
Deprecated.
|
static int |
FLYING
Deprecated.
|
static int |
ITEM_DATA
Deprecated.
|
static int |
KEEP_ALIVE
Deprecated.
|
static int |
KEY_REQUEST
Deprecated.
|
static int |
KEY_RESPONSE
Deprecated.
|
static int |
KICK_DISCONNECT
Deprecated.
|
static int |
LOGIN
Deprecated.
|
static int |
LOGIN_SUCCESS
Deprecated.
This packet was introduced in 1.7.2.
|
static int |
MAP_CHUNK
Deprecated.
|
static int |
MAP_CHUNK_BULK
Deprecated.
|
static int |
MOB_EFFECT
Deprecated.
|
static int |
MOB_SPAWN
Deprecated.
|
static int |
MULTI_BLOCK_CHANGE
Deprecated.
|
static int |
NAMED_ENTITY_SPAWN
Deprecated.
|
static int |
NAMED_SOUND_EFFECT
Deprecated.
|
static int |
OPEN_TILE_ENTITY
Deprecated.
|
static int |
OPEN_WINDOW
Deprecated.
|
static int |
PICKUP_SPAWN
Deprecated.
|
static int |
PING_TIME
Deprecated.
This packet was introduced in 1.7.2.
|
static int |
PLAY_NOTE_BLOCK
Deprecated.
|
static int |
PLAYER_INFO
Deprecated.
|
static int |
PLAYER_LOOK
Deprecated.
|
static int |
PLAYER_LOOK_MOVE
Deprecated.
|
static int |
PLAYER_POSITION
Deprecated.
|
static int |
REL_ENTITY_MOVE
Deprecated.
|
static int |
REL_ENTITY_MOVE_LOOK
Deprecated.
|
static int |
REMOVE_MOB_EFFECT
Deprecated.
|
static int |
RESPAWN
Deprecated.
|
static int |
SCOREBOARD_OBJECTIVE
Deprecated.
|
static int |
SET_CREATIVE_SLOT
Deprecated.
|
static int |
SET_EXPERIENCE
Deprecated.
|
static int |
SET_SLOT
Deprecated.
|
static int |
SPAWN_POSITION
Deprecated.
|
static int |
STATISTIC
Deprecated.
|
static int |
TAB_COMPLETE
Deprecated.
|
static int |
TEAMS
Deprecated.
|
static int |
TILE_ENTITY_DATA
Deprecated.
Sent the first time a tile entity (chest inventory, etc.) is withing range of the player, or has been updated.
|
static int |
TRANSACTION
Deprecated.
|
static int |
UPDATE_ATTRIBUTES
Deprecated.
|
static int |
UPDATE_HEALTH
Deprecated.
|
static int |
UPDATE_SCORE
Deprecated.
|
static int |
UPDATE_SIGN
Deprecated.
|
static int |
UPDATE_TIME
Deprecated.
|
static int |
VEHICLE_SPAWN
Deprecated.
|
static int |
WEATHER
Deprecated.
|
static int |
WINDOW_ITEMS
Deprecated.
|
static int |
WORLD_EVENT
Deprecated.
|
static int |
WORLD_PARTICLES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Packets.Server |
getRegistry()
Deprecated.
A registry that parses between names and packet IDs.
|
static java.util.Set<java.lang.Integer> |
getSupported()
Deprecated.
|
static boolean |
isSupported(int packetID)
Deprecated.
|
getDeclaredName, hasMember, registerAll, registerMember, valueOf, values
public static final int KEEP_ALIVE
public static final int LOGIN
public static final int CHAT
public static final int UPDATE_TIME
public static final int ENTITY_EQUIPMENT
public static final int SPAWN_POSITION
public static final int UPDATE_HEALTH
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_ITEM_SWITCH
public static final int ENTITY_LOCATION_ACTION
public static final int ARM_ANIMATION
public static final int NAMED_ENTITY_SPAWN
@Deprecated public static final int PICKUP_SPAWN
public static final int COLLECT
public static final int VEHICLE_SPAWN
public static final int MOB_SPAWN
public static final int ENTITY_PAINTING
public static final int ADD_EXP_ORB
public static final int ENTITY_VELOCITY
public static final int DESTROY_ENTITY
public static final int ENTITY
public static final int REL_ENTITY_MOVE
public static final int ENTITY_LOOK
public static final int REL_ENTITY_MOVE_LOOK
public static final int ENTITY_TELEPORT
public static final int ENTITY_HEAD_ROTATION
public static final int ENTITY_STATUS
public static final int ATTACH_ENTITY
public static final int ENTITY_METADATA
Remember to clone the packet if you are modifying it.
public static final int MOB_EFFECT
public static final int REMOVE_MOB_EFFECT
public static final int SET_EXPERIENCE
public static final int UPDATE_ATTRIBUTES
public static final int MAP_CHUNK
public static final int MULTI_BLOCK_CHANGE
public static final int BLOCK_CHANGE
public static final int PLAY_NOTE_BLOCK
public static final int BLOCK_BREAK_ANIMATION
public static final int MAP_CHUNK_BULK
public static final int EXPLOSION
public static final int WORLD_EVENT
public static final int NAMED_SOUND_EFFECT
public static final int WORLD_PARTICLES
public static final int BED
public static final int WEATHER
public static final int OPEN_WINDOW
public static final int CLOSE_WINDOW
public static final int SET_SLOT
public static final int WINDOW_ITEMS
public static final int CRAFT_PROGRESS_BAR
public static final int TRANSACTION
public static final int SET_CREATIVE_SLOT
public static final int UPDATE_SIGN
public static final int ITEM_DATA
public static final int TILE_ENTITY_DATA
Remember to clone the packet if you are modifying it.
public static final int OPEN_TILE_ENTITY
public static final int STATISTIC
public static final int PLAYER_INFO
public static final int ABILITIES
public static final int TAB_COMPLETE
public static final int SCOREBOARD_OBJECTIVE
public static final int UPDATE_SCORE
public static final int DISPLAY_SCOREBOARD
public static final int TEAMS
public static final int CUSTOM_PAYLOAD
public static final int KEY_RESPONSE
public static final int KEY_REQUEST
public static final int KICK_DISCONNECT
public static final int PING_TIME
public static final int LOGIN_SUCCESS
public static Packets.Server getRegistry()
@Deprecated public static boolean isSupported(int packetID) throws FieldAccessException
Use PacketType.isSupported()
instead.
packetID
- - the packet to test.FieldAccessException
- If we're unable to retrieve the server packet data from Minecraft.@Deprecated public static java.util.Set<java.lang.Integer> getSupported() throws FieldAccessException
FieldAccessException
- If we're unable to retrieve the server packet data from Minecraft.