packets
Supported packets.
Cast a packet: PacketType variableName = (PacketType) packet;
This must be done to be able to access the data stored in the packet.
C0APacketAnimation
C0BPacketEntityAction
action
START_SNEAKING STOP_SNEAKING STOP_SLEEPING START_SPRINTING STOP_SPRINTING RIDING_JUMP OPEN_INVENTORY START_FALL_FLYING
String
horsePower
Horse jump power, 0-100
int
C0DPacketCloseWindow
windowId
The ID of the window
int
C0EPacketClickWindow
windowId
window id
int
slot
inventory slot
int
button
button pressed
int
mode
button mode
int
itemStack
item stack
ItemStack
C0FPacketConfirmTransaction
windowId
The ID of the window
int
uid
Unique identifier for packet
short
C01PacketChatMessage
message
Chat message
String
C02PacketUseEntity
entity
Entity
Entity
action
ATTACK
INTERACT
INTERACT_AT
String
hitVec
Hit Vector
Vec3
C03PacketPlayer
ground
If player is on ground or not
boolean
C04PacketPlayerPosition
position
Player's position
Vec3
ground
If player is on ground or not
boolean
C05PacketPlayerLook
yaw
Player's yaw
float
pitch
Player's pitch
float
ground
If player is on ground or not
boolean
C06PacketPlayerPosLook
position
Player's position
Vec3
yaw
Player's yaw
float
pitch
Player's pitch
float
ground
If player is on ground or not
boolean
C07PacketPlayerDigging
position
Block placement position
Vec3
status
START_DESTROY_BLOCK STOP_DESTROY_BLOCK ABORT_DESTROY_BLOCK DROP_ALL_ITEMS DROP_ITEM RELEASE_USE_ITEM
String
facing
UP DOWN NORTH SOUTH EAST WEST
String
C08PacketPlayerBlockPlacement
itemStack
Player's current item
ItemStack
position
Block placement position
Vec3
direction
Block placement direction
int
offset
Block placement offset
Vec3
C09PacketHeldItemChange
slot
Player's held item slot
int
C10PacketCreativeInventoryAction
slot
Player's held item slot
int
itemStack
Item being affected
ItemStack
C13PacketPlayerAbilities
invulnerable
True if the player is invulnerable
boolean
flying
True if the player is flying
boolean
allowFlying
True if the player is allowed to fly
boolean
creativeMode
True if the player is in creative
boolean
flySpeed
Flying speed of the player
float
walkSpeed
Walking speed of the player
float
C16PacketClientStatus
status
PERFORM_RESPAWN
REQUEST_STATS
OPEN_INVENTORY_ACHIEVEMENT
String
S02PacketChat
type
The type of message
byte
message
The message displayed
String
S08PacketPlayerPosLook
position
Entity's position
Vec3
yaw
Entity's yaw
float
pitch
Entity's pitch
float
S12PacketEntityVelocity
entityId
Entity ID packet is applied to
int
motion
Entity's new motion
Vec3
S23PacketBlockChange
position
Position of the block
Vec3
block
Block that was changed
Block
S27PacketExplosion
strength
Explosion's strength
float
position
Position of the explosion
Vec3
motion
Applied motion from the explosion
Vec3
S45PacketTitle
type
Type of title
String
message
The message displayed
String
fadeInTime
Fade in time in ticks
int
displayTime
Display time in ticks
int
fadeOutTime
Fade out time in ticks
int
S2APacketParticles
type
Packet identifier
String
position
Position of the particle
Vec3
offset
Random offset of the particle
Vec3
speed
Velocity of the particle
Vec3
count
Amount of particles
int
args
Arguments
int[]
S3EPacketPlayOutScoreboardTeam
name
Unique team identifier
String
displayName
Display name for players
String
prefix
String before player names
String
suffix
String after player names
String
nametagVisibility
Controls nametag visibility
String
playerList
List of player names on the team
Collection<String>
action
Specifies packet action
int
friendlyFlags
Flags for team behavior
int
color
Team color
int
Last updated