Table of Contents

KeyName
Typeslot
TypeentityMetadataItem


Type
slot
Datatype

Field NameField TypeNotes
blockId i16
🔁

if blockId
is -1 void
default
itemCount i8
itemDamage i16
nbtData optionalNbt




Field NameField TypeNotes
entityMetadataItem

if compareTo
is 0 i8
is 1 varint
is 2 f32
is 3 string
is 4 string
is 5 slot
is 6 bool
is 7
pitch f32
yaw f32
roll f32
is 8 position
is 10 varint
is 12 varint



Table of Contents

KeyName
Typepacket


Type
packet
Datatype

Field NameField TypeNotes
name
varint enum



Table of Contents

KeyName
Typepacket_set_protocol
0xfepacket_legacy_server_list_ping
Typepacket


0
packet set protocol
handshaking / toServer / packet_set_protocol (0x00)

Field NameField TypeNotes
protocolVersion varint
serverHost string
serverPort u16
nextState varint



254
packet legacy server list ping
handshaking / toServer / packet_legacy_server_list_ping (0xfe)

Field NameField TypeNotes
payload u8



Type
packet
handshaking / toServer / packet

Field NameField TypeNotes
name
varint enum
0set protocol
254legacy server list ping
params

if name
is set protocol packet_set_protocol
is legacy server list ping packet_legacy_server_list_ping



Table of Contents

KeyName
Typepacket_server_info
0x1packet_ping
Typepacket


0
packet server info
status / toClient / packet_server_info (0x00)

Field NameField TypeNotes
response string



1
packet ping
status / toClient / packet_ping (0x01)

Field NameField TypeNotes
time i64



Type
packet
status / toClient / packet

Field NameField TypeNotes
name
varint enum
0server info
1ping
params

if name
is server info packet_server_info
is ping packet_ping



Table of Contents

KeyName
Typepacket_ping_start
0x1packet_ping
Typepacket


1
packet ping
status / toServer / packet_ping (0x01)

Field NameField TypeNotes
time i64



Type
packet
status / toServer / packet

Field NameField TypeNotes
name
varint enum
0ping start
1ping
params

if name
is ping start packet_ping_start
is ping packet_ping



Table of Contents

KeyName
Typepacket_disconnect
0x1packet_encryption_begin
0x2packet_success
0x3packet_compress
Typepacket


0
packet disconnect
login / toClient / packet_disconnect (0x00)

Field NameField TypeNotes
reason string



1
packet encryption begin
login / toClient / packet_encryption_begin (0x01)

Field NameField TypeNotes
serverId string



2
packet success
login / toClient / packet_success (0x02)

Field NameField TypeNotes
uuid string
username string



3
packet compress
login / toClient / packet_compress (0x03)

Field NameField TypeNotes
threshold varint



Type
packet
login / toClient / packet

Field NameField TypeNotes
name
varint enum
0disconnect
1encryption begin
2success
3compress
params

if name
is disconnect packet_disconnect
is encryption begin packet_encryption_begin
is success packet_success
is compress packet_compress



Table of Contents

KeyName
Typepacket_login_start
0x1packet_encryption_begin
Typepacket


0
packet login start
login / toServer / packet_login_start (0x00)

Field NameField TypeNotes
username string



1
packet encryption begin
login / toServer / packet_encryption_begin (0x01)

Field NameField TypeNotes



Type
packet
login / toServer / packet

Field NameField TypeNotes
name
varint enum
0login start
1encryption begin
params

if name
is login start packet_login_start
is encryption begin packet_encryption_begin



Table of Contents

KeyName
0x1fpacket_keep_alive
0x24packet_login
0xfpacket_chat
0x43packet_update_time
0x3cpacket_entity_equipment
0x42packet_spawn_position
0x3epacket_update_health
0x33packet_respawn
0x2epacket_position
0x37packet_held_item_slot
0x2fpacket_bed
0x6packet_animation
0x5packet_named_entity_spawn
0x47packet_collect
Typepacket_spawn_entity
0x3packet_spawn_entity_living
0x4packet_spawn_entity_painting
0x1packet_spawn_entity_experience_orb
0x3bpacket_entity_velocity
0x30packet_entity_destroy
0x29packet_entity
0x26packet_rel_entity_move
0x28packet_entity_look
0x27packet_entity_move_look
0x48packet_entity_teleport
0x34packet_entity_head_rotation
0x1apacket_entity_status
0x3apacket_attach_entity
0x39packet_entity_metadata
0x4apacket_entity_effect
0x31packet_remove_entity_effect
0x3dpacket_experience
0x49packet_update_attributes
0x20packet_map_chunk
0x10packet_multi_block_change
0xbpacket_block_change
0xapacket_block_action
0x8packet_block_break_animation
0x1bpacket_explosion
0x21packet_world_event
0x23packet_named_sound_effect
0x22packet_world_particles
0x1epacket_game_state_change
0x2packet_spawn_entity_weather
0x13packet_open_window
0x12packet_close_window
0x16packet_set_slot
0x14packet_window_items
0x15packet_craft_progress_bar
0x11packet_transaction
0x45packet_update_sign
0x25packet_map
0x9packet_tile_entity_data
0x2apacket_open_sign_entity
0x7packet_statistics
0x2dpacket_player_info
0x2bpacket_abilities
0xepacket_tab_complete
0x3fpacket_scoreboard_objective
0x41packet_scoreboard_score
0x38packet_scoreboard_display_objective
0x40packet_scoreboard_team
0x18packet_custom_payload
0x19packet_kick_disconnect
0xdpacket_difficulty
0x2cpacket_combat_event
0x36packet_camera
0x35packet_world_border
0x44packet_title
0x1dpacket_set_compression
0x46packet_playerlist_header
0x32packet_resource_pack_send
0xcpacket_boss_bar
0x17packet_set_cooldown
0x1cpacket_unload_chunk
Typepacket


31
packet keep alive
play / toClient / packet_keep_alive (0x1f)

Field NameField TypeNotes
keepAliveId varint



36
packet login
play / toClient / packet_login (0x24)

Field NameField TypeNotes
entityId i32
gameMode u8
dimension i8
difficulty u8
maxPlayers u8
levelType string
reducedDebugInfo bool



15
packet chat
play / toClient / packet_chat (0x0f)

Field NameField TypeNotes
message string
position i8



67
packet update time
play / toClient / packet_update_time (0x43)

Field NameField TypeNotes
age i64
time i64



60
packet entity equipment
play / toClient / packet_entity_equipment (0x3c)

Field NameField TypeNotes
entityId varint
slot varint
item slot



66
packet spawn position
play / toClient / packet_spawn_position (0x42)

Field NameField TypeNotes
location position



62
packet update health
play / toClient / packet_update_health (0x3e)

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



51
packet respawn
play / toClient / packet_respawn (0x33)

Field NameField TypeNotes
dimension i32
difficulty u8
gamemode u8
levelType string



46
packet position
play / toClient / packet_position (0x2e)

Field NameField TypeNotes
x f64
y f64
z f64
yaw f32
pitch f32
flags i8



55
packet held item slot
play / toClient / packet_held_item_slot (0x37)

Field NameField TypeNotes
slot i8



47
packet bed
play / toClient / packet_bed (0x2f)

Field NameField TypeNotes
entityId varint
location position



6
packet animation
play / toClient / packet_animation (0x06)

Field NameField TypeNotes
entityId varint
animation u8



5
packet named entity spawn
play / toClient / packet_named_entity_spawn (0x05)

Field NameField TypeNotes
entityId varint
playerUUID UUID
x i32
y i32
z i32
yaw i8
pitch i8
metadata entityMetadata



71
packet collect
play / toClient / packet_collect (0x47)

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint



0
packet spawn entity
play / toClient / packet_spawn_entity (0x00)

Field NameField TypeNotes
entityId varint
entityUUID UUID
type i8
x i32
y i32
z i32
pitch i8
yaw i8
objectData i32
velocityX i16
velocityY i16
velocityZ i16



3
packet spawn entity living
play / toClient / packet_spawn_entity_living (0x03)

Field NameField TypeNotes
entityId varint
entityUUID UUID
type u8
x i32
y i32
z i32
yaw i8
pitch i8
headPitch i8
velocityX i16
velocityY i16
velocityZ i16
metadata entityMetadata



4
packet spawn entity painting
play / toClient / packet_spawn_entity_painting (0x04)

Field NameField TypeNotes
entityId varint
title string
location position
direction u8



1
packet spawn entity experience orb
play / toClient / packet_spawn_entity_experience_orb (0x01)

Field NameField TypeNotes
entityId varint
x i32
y i32
z i32
count i16



59
packet entity velocity
play / toClient / packet_entity_velocity (0x3b)

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



48
packet entity destroy
play / toClient / packet_entity_destroy (0x30)

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



41
packet entity
play / toClient / packet_entity (0x29)

Field NameField TypeNotes
entityId varint



38
packet rel entity move
play / toClient / packet_rel_entity_move (0x26)

Field NameField TypeNotes
entityId varint
dX i8
dY i8
dZ i8
onGround bool



40
packet entity look
play / toClient / packet_entity_look (0x28)

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



39
packet entity move look
play / toClient / packet_entity_move_look (0x27)

Field NameField TypeNotes
entityId varint
dX i8
dY i8
dZ i8
yaw i8
pitch i8
onGround bool



72
packet entity teleport
play / toClient / packet_entity_teleport (0x48)

Field NameField TypeNotes
entityId varint
x i32
y i32
z i32
yaw i8
pitch i8
onGround bool



52
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x34)

Field NameField TypeNotes
entityId varint
headYaw i8



26
packet entity status
play / toClient / packet_entity_status (0x1a)

Field NameField TypeNotes
entityId i32
entityStatus i8



58
packet attach entity
play / toClient / packet_attach_entity (0x3a)

Field NameField TypeNotes
entityId i32
vehicleId i32
leash bool



57
packet entity metadata
play / toClient / packet_entity_metadata (0x39)

Field NameField TypeNotes
entityId varint
metadata entityMetadata



74
packet entity effect
play / toClient / packet_entity_effect (0x4a)

Field NameField TypeNotes
entityId varint
effectId i8
amplifier i8
duration varint
hideParticles bool



49
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x31)

Field NameField TypeNotes
entityId varint
effectId i8



61
packet experience
play / toClient / packet_experience (0x3d)

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



73
packet update attributes
play / toClient / packet_update_attributes (0x49)

Field NameField TypeNotes
entityId varint
properties lengthi32
properties
array
key string
value f64
modifiers lengthvarint
modifiers
array
uuid UUID
amount f64
operation i8



32
packet map chunk
play / toClient / packet_map_chunk (0x20)

Field NameField TypeNotes
x i32
z i32
groundUp bool
bitMap varint



16
packet multi block change
play / toClient / packet_multi_block_change (0x10)

Field NameField TypeNotes
chunkX i32
chunkZ i32
records lengthvarint
records
array
horizontalPos u8
y u8
blockId varint



11
packet block change
play / toClient / packet_block_change (0x0b)

Field NameField TypeNotes
location position
type varint



10
packet block action
play / toClient / packet_block_action (0x0a)

Field NameField TypeNotes
location position
byte1 u8
byte2 u8
blockId varint



8
packet block break animation
play / toClient / packet_block_break_animation (0x08)

Field NameField TypeNotes
entityId varint
location position
destroyStage i8



27
packet explosion
play / toClient / packet_explosion (0x1b)

Field NameField TypeNotes
x f32
y f32
z f32
radius f32
affectedBlockOffsets lengthi32
affectedBlockOffsets
array
x i8
y i8
z i8
playerMotionX f32
playerMotionY f32
playerMotionZ f32



33
packet world event
play / toClient / packet_world_event (0x21)

Field NameField TypeNotes
effectId i32
location position
data i32
global bool



35
packet named sound effect
play / toClient / packet_named_sound_effect (0x23)

Field NameField TypeNotes
soundName string
x i32
y i32
z i32
volume f32
pitch u8



34
packet world particles
play / toClient / packet_world_particles (0x22)

Field NameField TypeNotes
particleId i32
longDistance bool
x f32
y f32
z f32
offsetX f32
offsetY f32
offsetZ f32
particleData f32
particles i32
data

if particleId
Length for is 36 below is 2 from above
is 36
array
varint
Length for is 37 below is 1 from above
is 37
array
varint
Length for is 38 below is 1 from above
is 38
array
varint
default void



30
packet game state change
play / toClient / packet_game_state_change (0x1e)

Field NameField TypeNotes
reason u8
gameMode f32



2
packet spawn entity weather
play / toClient / packet_spawn_entity_weather (0x02)

Field NameField TypeNotes
entityId varint
type i8
x i32
y i32
z i32



19
packet open window
play / toClient / packet_open_window (0x13)

Field NameField TypeNotes
windowId u8
inventoryType string
windowTitle string
slotCount u8
entityId

if inventoryType
is EntityHorse i32
default void



18
packet close window
play / toClient / packet_close_window (0x12)

Field NameField TypeNotes
windowId u8



22
packet set slot
play / toClient / packet_set_slot (0x16)

Field NameField TypeNotes
windowId i8
slot i16
item slot



20
packet window items
play / toClient / packet_window_items (0x14)

Field NameField TypeNotes
windowId u8
items lengthi16
items
array
slot



21
packet craft progress bar
play / toClient / packet_craft_progress_bar (0x15)

Field NameField TypeNotes
windowId u8
property i16
value i16



17
packet transaction
play / toClient / packet_transaction (0x11)

Field NameField TypeNotes
windowId i8
action i16
accepted bool



69
packet update sign
play / toClient / packet_update_sign (0x45)

Field NameField TypeNotes
location position
text1 string
text2 string
text3 string
text4 string



37
packet map
play / toClient / packet_map (0x25)

Field NameField TypeNotes
itemDamage varint
scale i8
trackingPosition bool
icons lengthvarint
icons
array
directionAndType i8
x i8
z i8
columns i8
rows

if columns
is 0 void
default i8
x

if columns
is 0 void
default i8
y

if columns
is 0 void
default i8
data

if columns
is 0 void



9
packet tile entity data
play / toClient / packet_tile_entity_data (0x09)

Field NameField TypeNotes
location position
action u8
nbtData optionalNbt



42
packet open sign entity
play / toClient / packet_open_sign_entity (0x2a)

Field NameField TypeNotes
location position



7
packet statistics
play / toClient / packet_statistics (0x07)

Field NameField TypeNotes
entries lengthvarint
entries
array
name string
value varint



45
packet player info
play / toClient / packet_player_info (0x2d)

Field NameField TypeNotes
action varint
data lengthvarint
data
array
UUID UUID
name

if ../action
is 0 string
default void
properties

if ../action
is 0 lengthvarint
is 0
array
name string
value string
signature
optional
string
default void
gamemode

if ../action
is 0 varint
is 1 varint
default void
ping

if ../action
is 0 varint
is 2 varint
default void
displayName

if ../action
default void



43
packet abilities
play / toClient / packet_abilities (0x2b)

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



14
packet tab complete
play / toClient / packet_tab_complete (0x0e)

Field NameField TypeNotes
matches lengthvarint
matches
array
string



63
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x3f)

Field NameField TypeNotes
name string
action i8
displayText

if action
is 0 string
is 2 string
default void
type

if action
is 0 string
is 2 string
default void



65
packet scoreboard score
play / toClient / packet_scoreboard_score (0x41)

Field NameField TypeNotes
itemName string
action varint
scoreName string
value

if action
is 1 void
default varint



56
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x38)

Field NameField TypeNotes
position i8
name string



64
packet scoreboard team
play / toClient / packet_scoreboard_team (0x40)

Field NameField TypeNotes
team string
mode i8
name

if mode
is 0 string
is 2 string
default void
prefix

if mode
is 0 string
is 2 string
default void
suffix

if mode
is 0 string
is 2 string
default void
friendlyFire

if mode
is 0 i8
is 2 i8
default void
nameTagVisibility

if mode
is 0 string
is 2 string
default void
collisionRule

if mode
is 0 string
is 2 string
default void
color

if mode
is 0 i8
is 2 i8
default void
players

if mode
is 0 lengthvarint
is 0
array
string
is 3 lengthvarint
is 3
array
string
is 4 lengthvarint
is 4
array
string
default void



24
packet custom payload
play / toClient / packet_custom_payload (0x18)

Field NameField TypeNotes
channel string
data restBuffer



25
packet kick disconnect
play / toClient / packet_kick_disconnect (0x19)

Field NameField TypeNotes
reason string



13
packet difficulty
play / toClient / packet_difficulty (0x0d)

Field NameField TypeNotes
difficulty u8



44
packet combat event
play / toClient / packet_combat_event (0x2c)

Field NameField TypeNotes
event varint
duration

if event
is 1 varint
default void
playerId

if event
is 2 varint
default void
entityId

if event
is 1 i32
is 2 i32
default void
message

if event
is 2 string
default void



54
packet camera
play / toClient / packet_camera (0x36)

Field NameField TypeNotes
cameraId varint



53
packet world border
play / toClient / packet_world_border (0x35)

Field NameField TypeNotes
action varint
radius

if action
is 0 f64
default void
x

if action
is 2 f64
is 3 f64
default void
z

if action
is 2 f64
is 3 f64
default void
old radius

if action
is 1 f64
is 3 f64
default void
new radius

if action
is 1 f64
is 3 f64
default void
speed

if action
is 1 varlong
is 3 varlong
default void
portalBoundary

if action
is 3 varint
default void
warning time

if action
is 3 varint
is 4 varint
default void
warning blocks

if action
is 3 varint
is 5 varint
default void



68
packet title
play / toClient / packet_title (0x44)

Field NameField TypeNotes
action varint
text

if action
is 0 string
is 1 string
default void
fadeIn

if action
is 2 i32
default void
stay

if action
is 2 i32
default void
fadeOut

if action
is 2 i32
default void



29
packet set compression
play / toClient / packet_set_compression (0x1d)

Field NameField TypeNotes
threshold varint



70
packet playerlist header
play / toClient / packet_playerlist_header (0x46)

Field NameField TypeNotes
header string
footer string



50
packet resource pack send
play / toClient / packet_resource_pack_send (0x32)

Field NameField TypeNotes
url string
hash string



12
packet boss bar
play / toClient / packet_boss_bar (0x0c)

Field NameField TypeNotes
entityUUID UUID
action varint
title

if action
is 0 string
is 3 string
default void
health

if action
is 0 f32
is 2 f32
default void
color

if action
is 0 varint
is 4 varint
default void
dividers

if action
is 0 varint
is 4 varint
default void
flags

if action
is 0 u8
is 5 u8
default void



23
packet set cooldown
play / toClient / packet_set_cooldown (0x17)

Field NameField TypeNotes
itemID varint
cooldownTicks varint



28
packet unload chunk
play / toClient / packet_unload_chunk (0x1c)

Field NameField TypeNotes
chunkX i32
chunkZ i32



Type
packet
play / toClient / packet

Field NameField TypeNotes
name
varint enum
31keep alive
36login
15chat
67update time
60entity equipment
66spawn position
62update health
51respawn
46position
55held item slot
47bed
6animation
5named entity spawn
71collect
0spawn entity
3spawn entity living
4spawn entity painting
1spawn entity experience orb
59entity velocity
48entity destroy
41entity
38rel entity move
40entity look
39entity move look
72entity teleport
52entity head rotation
26entity status
58attach entity
57entity metadata
74entity effect
49remove entity effect
61experience
73update attributes
32map chunk
16multi block change
11block change
10block action
8block break animation
27explosion
33world event
35named sound effect
34world particles
30game state change
2spawn entity weather
19open window
18close window
22set slot
20window items
21craft progress bar
17transaction
69update sign
37map
9tile entity data
42open sign entity
7statistics
45player info
43abilities
14tab complete
63scoreboard objective
65scoreboard score
56scoreboard display objective
64scoreboard team
24custom payload
25kick disconnect
13difficulty
44combat event
54camera
53world border
68title
29set compression
70playerlist header
50resource pack send
12boss bar
23set cooldown
28unload chunk
params

if name
is keep alive packet_keep_alive
is login packet_login
is chat packet_chat
is update time packet_update_time
is entity equipment packet_entity_equipment
is spawn position packet_spawn_position
is update health packet_update_health
is respawn packet_respawn
is position packet_position
is held item slot packet_held_item_slot
is bed packet_bed
is animation packet_animation
is named entity spawn packet_named_entity_spawn
is collect packet_collect
is spawn entity packet_spawn_entity
is spawn entity living packet_spawn_entity_living
is spawn entity painting packet_spawn_entity_painting
is spawn entity experience orb packet_spawn_entity_experience_orb
is entity velocity packet_entity_velocity
is entity destroy packet_entity_destroy
is entity packet_entity
is rel entity move packet_rel_entity_move
is entity look packet_entity_look
is entity move look packet_entity_move_look
is entity teleport packet_entity_teleport
is entity head rotation packet_entity_head_rotation
is entity status packet_entity_status
is attach entity packet_attach_entity
is entity metadata packet_entity_metadata
is entity effect packet_entity_effect
is remove entity effect packet_remove_entity_effect
is experience packet_experience
is update attributes packet_update_attributes
is map chunk packet_map_chunk
is multi block change packet_multi_block_change
is block change packet_block_change
is block action packet_block_action
is block break animation packet_block_break_animation
is explosion packet_explosion
is world event packet_world_event
is named sound effect packet_named_sound_effect
is world particles packet_world_particles
is game state change packet_game_state_change
is spawn entity weather packet_spawn_entity_weather
is open window packet_open_window
is close window packet_close_window
is set slot packet_set_slot
is window items packet_window_items
is craft progress bar packet_craft_progress_bar
is transaction packet_transaction
is update sign packet_update_sign
is map packet_map
is tile entity data packet_tile_entity_data
is open sign entity packet_open_sign_entity
is statistics packet_statistics
is player info packet_player_info
is abilities packet_abilities
is tab complete packet_tab_complete
is scoreboard objective packet_scoreboard_objective
is scoreboard score packet_scoreboard_score
is scoreboard display objective packet_scoreboard_display_objective
is scoreboard team packet_scoreboard_team
is custom payload packet_custom_payload
is kick disconnect packet_kick_disconnect
is difficulty packet_difficulty
is combat event packet_combat_event
is camera packet_camera
is world border packet_world_border
is title packet_title
is set compression packet_set_compression
is playerlist header packet_playerlist_header
is resource pack send packet_resource_pack_send
is boss bar packet_boss_bar
is set cooldown packet_set_cooldown
is unload chunk packet_unload_chunk



Table of Contents

KeyName
0xapacket_keep_alive
0x1packet_chat
0x9packet_use_entity
0xepacket_flying
0xbpacket_position
0xdpacket_look
0xcpacket_position_look
0x10packet_block_dig
0x19packet_block_place
0x14packet_held_item_slot
0x17packet_arm_animation
0x11packet_entity_action
0x12packet_steer_vehicle
0x7packet_close_window
0x6packet_window_click
0x4packet_transaction
0x15packet_set_creative_slot
0x5packet_enchant_item
0x16packet_update_sign
0xfpacket_abilities
Typepacket_tab_complete
0x3packet_settings
0x2packet_client_command
0x8packet_custom_payload
0x18packet_spectate
0x13packet_resource_pack_receive
0x1apacket_use_item
Typepacket


10
packet keep alive
play / toServer / packet_keep_alive (0x0a)

Field NameField TypeNotes
keepAliveId varint



1
packet chat
play / toServer / packet_chat (0x01)

Field NameField TypeNotes
message string



9
packet use entity
play / toServer / packet_use_entity (0x09)

Field NameField TypeNotes
target varint
mouse varint
x

if mouse
is 2 f32
default void
y

if mouse
is 2 f32
default void
z

if mouse
is 2 f32
default void
hand

if mouse
is 0 varint
is 2 varint
default void



14
packet flying
play / toServer / packet_flying (0x0e)

Field NameField TypeNotes
onGround bool



11
packet position
play / toServer / packet_position (0x0b)

Field NameField TypeNotes
x f64
y f64
z f64
onGround bool



13
packet look
play / toServer / packet_look (0x0d)

Field NameField TypeNotes
yaw f32
pitch f32
onGround bool



12
packet position look
play / toServer / packet_position_look (0x0c)

Field NameField TypeNotes
x f64
y f64
z f64
yaw f32
pitch f32
onGround bool



16
packet block dig
play / toServer / packet_block_dig (0x10)

Field NameField TypeNotes
status varint
location position
face i8



25
packet block place
play / toServer / packet_block_place (0x19)

Field NameField TypeNotes
location position
direction varint
hand varint
cursorX i8
cursorY i8
cursorZ i8



20
packet held item slot
play / toServer / packet_held_item_slot (0x14)

Field NameField TypeNotes
slotId i16



23
packet arm animation
play / toServer / packet_arm_animation (0x17)

Field NameField TypeNotes
hand varint



17
packet entity action
play / toServer / packet_entity_action (0x11)

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



18
packet steer vehicle
play / toServer / packet_steer_vehicle (0x12)

Field NameField TypeNotes
sideways f32
forward f32
jump u8



7
packet close window
play / toServer / packet_close_window (0x07)

Field NameField TypeNotes
windowId u8



6
packet window click
play / toServer / packet_window_click (0x06)

Field NameField TypeNotes
windowId u8
slot i16
mouseButton i8
action i16
mode i8
item slot



4
packet transaction
play / toServer / packet_transaction (0x04)

Field NameField TypeNotes
windowId i8
action i16
accepted bool



21
packet set creative slot
play / toServer / packet_set_creative_slot (0x15)

Field NameField TypeNotes
slot i16
item slot



5
packet enchant item
play / toServer / packet_enchant_item (0x05)

Field NameField TypeNotes
windowId i8
enchantment i8



22
packet update sign
play / toServer / packet_update_sign (0x16)

Field NameField TypeNotes
location position
text1 string
text2 string
text3 string
text4 string



15
packet abilities
play / toServer / packet_abilities (0x0f)

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



0
packet tab complete
play / toServer / packet_tab_complete (0x00)

Field NameField TypeNotes
text string
block
optional
position



3
packet settings
play / toServer / packet_settings (0x03)

Field NameField TypeNotes
locale string
viewDistance i8
chatFlags varint
chatColors bool
skinParts u8
mainHand varint



2
packet client command
play / toServer / packet_client_command (0x02)

Field NameField TypeNotes
payload varint



8
packet custom payload
play / toServer / packet_custom_payload (0x08)

Field NameField TypeNotes
channel string
data restBuffer



24
packet spectate
play / toServer / packet_spectate (0x18)

Field NameField TypeNotes
target UUID



19
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x13)

Field NameField TypeNotes
hash string
result varint



26
packet use item
play / toServer / packet_use_item (0x1a)

Field NameField TypeNotes
hand varint



Type
packet
play / toServer / packet

Field NameField TypeNotes
name
varint enum
10keep alive
1chat
9use entity
14flying
11position
13look
12position look
16block dig
25block place
20held item slot
23arm animation
17entity action
18steer vehicle
7close window
6window click
4transaction
21set creative slot
5enchant item
22update sign
15abilities
0tab complete
3settings
2client command
8custom payload
24spectate
19resource pack receive
26use item
params

if name
is keep alive packet_keep_alive
is chat packet_chat
is use entity packet_use_entity
is flying packet_flying
is position packet_position
is look packet_look
is position look packet_position_look
is block dig packet_block_dig
is block place packet_block_place
is held item slot packet_held_item_slot
is arm animation packet_arm_animation
is entity action packet_entity_action
is steer vehicle packet_steer_vehicle
is close window packet_close_window
is window click packet_window_click
is transaction packet_transaction
is set creative slot packet_set_creative_slot
is enchant item packet_enchant_item
is update sign packet_update_sign
is abilities packet_abilities
is tab complete packet_tab_complete
is settings packet_settings
is client command packet_client_command
is custom payload packet_custom_payload
is spectate packet_spectate
is resource pack receive packet_resource_pack_receive
is use item packet_use_item