Table of Contents

KeyName
Typevec3f
Typevec4f
Typevec3f64
Typeslot
Typeparticle
TypeparticleData
Typeingredient
TypesoundSource
TypepackedChunkPos
TypepreviousMessages
TypeentityMetadataItem
Typeminecraft_simple_recipe_format
Typeminecraft_smelting_format
Typetags
TypechunkBlockEntity
Typechat_session?
Typegame_profile
Typecommand_node


Type
vec3f
Datatype

Field NameField TypeNotes
x f32
y f32
z f32



Type
vec4f
Datatype

Field NameField TypeNotes
x f32
y f32
z f32
w f32



Type
vec3f64
Datatype

Field NameField TypeNotes
x f64
y f64
z f64



Type
slot
Datatype

Field NameField TypeNotes
present bool
🔁

if present
is false void
is true
itemId varint
itemCount i8
nbtData anonOptionalNbt



Type
particle
Datatype

Field NameField TypeNotes
particleId varint



Type
particleData
Datatype

Field NameField TypeNotes
particleData

if compareTo
is 2
blockState varint
is 3
blockState varint
is 14
red f32
green f32
blue f32
scale f32
is 15
fromRed f32
fromGreen f32
fromBlue f32
scale f32
toRed f32
toGreen f32
toBlue f32
is 25
blockState varint
is 31
rotation f32
is 40
item slot
is 41
positionType string
entityId

if positionType
is minecraft:entity varint
default void
entityEyeHeight

if positionType
is minecraft:entity varint
default void
destination

if positionType
is minecraft:block position
is minecraft:entity varint
ticks varint
is 93
delayInTicksBeforeShown varint
default void



Type
soundSource
Datatype

Field NameField TypeNotes
soundSource
varint enum
0master
1music
2record
3weather
4block
5hostile
6neutral
7player
8ambient
9voice




Field NameField TypeNotes
z i32
x i32




Field NameField TypeNotes
previousMessages lengthvarint
previousMessages
array
id varint
signature

if id
default void




Field NameField TypeNotes
entityMetadataItem

if compareTo
is byte i8
is int varint
is long varlong
is float f32
is string string
is component string
is item stack slot
is boolean bool
is rotations
pitch f32
yaw f32
roll f32
is block pos position
is direction varint
is block state varint
is optional block state optvarint
is compound tag anonymousNbt
is particle particle
is villager data
villagerType varint
villagerProfession varint
level varint
is optional unsigned int optvarint
is pose varint
is cat variant varint
is frog variant varint
is painting variant varint
is sniffer state varint
is vector3 vec3f
is quaternion vec4f




Field NameField TypeNotes
category varint




Field NameField TypeNotes
group string
category varint
ingredient ingredient
result slot
experience f32
cookTime varint



Type
tags
Datatype

Field NameField TypeNotes
tags lengthvarint
tags
array
tagName string
entries lengthvarint
entries
array
varint




Field NameField TypeNotes
y i16
type varint
nbtData anonOptionalNbt



Type
chat session
Datatype

Field NameField TypeNotes
uuid UUID
publicKey
expireTime i64



Type
game profile
Datatype

Field NameField TypeNotes
name string
properties lengthvarint
properties
array
key string
value string
signature
optional
string



Type
command node
Datatype

Field NameField TypeNotes
children lengthvarint
children
array
varint
redirectNode

if flags/has redirect node
is 1 varint
default void
extraNodeData

if flags/command node type
is 0 void
is 1
name string
is 2
name string
parser
varint enum
0brigadier:bool
1brigadier:float
2brigadier:double
3brigadier:integer
4brigadier:long
5brigadier:string
6minecraft:entity
7minecraft:game profile
8minecraft:block pos
9minecraft:column pos
10minecraft:vec3
11minecraft:vec2
12minecraft:block state
13minecraft:block predicate
14minecraft:item stack
15minecraft:item predicate
16minecraft:color
17minecraft:component
18minecraft:message
19minecraft:nbt
20minecraft:nbt tag
21minecraft:nbt path
22minecraft:objective
23minecraft:objective criteria
24minecraft:operation
25minecraft:particle
26minecraft:angle
27minecraft:rotation
28minecraft:scoreboard slot
29minecraft:score holder
30minecraft:swizzle
31minecraft:team
32minecraft:item slot
33minecraft:resource location
34minecraft:function
35minecraft:entity anchor
36minecraft:int range
37minecraft:float range
38minecraft:dimension
39minecraft:gamemode
40minecraft:time
41minecraft:resource or tag
42minecraft:resource or tag key
43minecraft:resource
44minecraft:resource key
45minecraft:template mirror
46minecraft:template rotation
47minecraft:heightmap
48minecraft:uuid
properties

if parser
is brigadier:bool void
is brigadier:float
min

if flags/min present
is 1 f32
default void
max

if flags/max present
is 1 f32
default void
is brigadier:double
min

if flags/min present
is 1 f64
default void
max

if flags/max present
is 1 f64
default void
is brigadier:integer
min

if flags/min present
is 1 i32
default void
max

if flags/max present
is 1 i32
default void
is brigadier:long
min

if flags/min present
is 1 i64
default void
max

if flags/max present
is 1 i64
default void
is brigadier:string
varint enum
0SINGLE WORD
1QUOTABLE PHRASE
2GREEDY PHRASE
is minecraft:game profile void
is minecraft:block pos void
is minecraft:column pos void
is minecraft:vec3 void
is minecraft:vec2 void
is minecraft:block state void
is minecraft:block predicate void
is minecraft:item stack void
is minecraft:item predicate void
is minecraft:color void
is minecraft:component void
is minecraft:message void
is minecraft:nbt void
is minecraft:nbt path void
is minecraft:objective void
is minecraft:objective criteria void
is minecraft:operation void
is minecraft:particle void
is minecraft:angle void
is minecraft:rotation void
is minecraft:scoreboard slot void
is minecraft:swizzle void
is minecraft:team void
is minecraft:item slot void
is minecraft:resource location void
is minecraft:function void
is minecraft:entity anchor void
is minecraft:int range void
is minecraft:float range void
is minecraft:dimension void
is minecraft:gamemode void
is minecraft:time
min i32
is minecraft:resource or tag
registry string
is minecraft:resource or tag key
registry string
is minecraft:resource
registry string
is minecraft:resource key
registry string
is minecraft:template mirror void
is minecraft:template rotation void
is minecraft:heightmap void
is minecraft:uuid void
suggestionType

if ../flags/has custom suggestions
is 1 string
default void



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
0x4packet_login_plugin_request
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 UUID
username string
properties lengthvarint
properties
array
name string
value string
signature
optional
string



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

Field NameField TypeNotes
threshold varint



4
packet login plugin request
login / toClient / packet_login_plugin_request (0x04)

Field NameField TypeNotes
messageId varint
channel string
data restBuffer



Type
packet
login / toClient / packet

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

if name
is disconnect packet_disconnect
is encryption begin packet_encryption_begin
is success packet_success
is compress packet_compress
is login plugin request packet_login_plugin_request



Table of Contents

KeyName
Typepacket_login_start
0x1packet_encryption_begin
0x2packet_login_plugin_response
Typepacket_login_acknowledged
Typepacket


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

Field NameField TypeNotes
username string
playerUUID UUID



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

Field NameField TypeNotes



2
packet login plugin response
login / toServer / packet_login_plugin_response (0x02)

Field NameField TypeNotes
messageId varint
data
optional
restBuffer



Type
packet
login / toServer / packet

Field NameField TypeNotes
name
varint enum
0login start
1encryption begin
2login plugin response
3login acknowledged
params

if name
is login start packet_login_start
is encryption begin packet_encryption_begin
is login plugin response packet_login_plugin_response
is login acknowledged packet_login_acknowledged



Table of Contents

KeyName
Typepacket_custom_payload
0x1packet_disconnect
Typepacket_finish_configuration
0x3packet_keep_alive
0x4packet_ping
0x5packet_registry_data
0x6packet_resource_pack_send
0x7packet_feature_flags
0x8packet_tags
Typepacket


0
packet custom payload
configuration / toClient / packet_custom_payload (0x00)

Field NameField TypeNotes
channel string
data restBuffer



1
packet disconnect
configuration / toClient / packet_disconnect (0x01)

Field NameField TypeNotes
reason string



3
packet keep alive
configuration / toClient / packet_keep_alive (0x03)

Field NameField TypeNotes
keepAliveId i64



4
packet ping
configuration / toClient / packet_ping (0x04)

Field NameField TypeNotes
id i32



5
packet registry data
configuration / toClient / packet_registry_data (0x05)

Field NameField TypeNotes
codec anonymousNbt



6
packet resource pack send
configuration / toClient / packet_resource_pack_send (0x06)

Field NameField TypeNotes
url string
hash string
forced bool
promptMessage
optional
string



7
packet feature flags
configuration / toClient / packet_feature_flags (0x07)

Field NameField TypeNotes
features lengthvarint
features
array
string



8
packet tags
configuration / toClient / packet_tags (0x08)

Field NameField TypeNotes
tags lengthvarint
tags
array
tagType string
tags tags



Type
packet
configuration / toClient / packet

Field NameField TypeNotes
name
varint enum
0custom payload
1disconnect
2finish configuration
3keep alive
4ping
5registry data
6resource pack send
7feature flags
8tags
params

if name
is custom payload packet_custom_payload
is disconnect packet_disconnect
is finish configuration packet_finish_configuration
is keep alive packet_keep_alive
is ping packet_ping
is registry data packet_registry_data
is resource pack send packet_resource_pack_send
is feature flags packet_feature_flags
is tags packet_tags



Table of Contents

KeyName
Typepacket_settings
0x1packet_custom_payload
Typepacket_finish_configuration
0x3packet_keep_alive
0x4packet_pong
0x5packet_resource_pack_receive
Typepacket


0
packet settings
configuration / toServer / packet_settings (0x00)

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



1
packet custom payload
configuration / toServer / packet_custom_payload (0x01)

Field NameField TypeNotes
channel string
data restBuffer



3
packet keep alive
configuration / toServer / packet_keep_alive (0x03)

Field NameField TypeNotes
keepAliveId i64



4
packet pong
configuration / toServer / packet_pong (0x04)

Field NameField TypeNotes
id i32



5
packet resource pack receive
configuration / toServer / packet_resource_pack_receive (0x05)

Field NameField TypeNotes
result varint



Type
packet
configuration / toServer / packet

Field NameField TypeNotes
name
varint enum
0settings
1custom payload
2finish configuration
3keep alive
4pong
5resource pack receive
params

if name
is settings packet_settings
is custom payload packet_custom_payload
is finish configuration packet_finish_configuration
is keep alive packet_keep_alive
is pong packet_pong
is resource pack receive packet_resource_pack_receive



Table of Contents

KeyName
0x1packet_spawn_entity
0x2packet_spawn_entity_experience_orb
0x3packet_animation
0x4packet_statistics
0x6cpacket_advancements
0x6packet_block_break_animation
0x7packet_tile_entity_data
0x8packet_block_action
0x9packet_block_change
0xapacket_boss_bar
0xbpacket_difficulty
0xcpacket_chunk_batch_finished
Typepacket_chunk_batch_start
0x10packet_tab_complete
0x11packet_declare_commands
0x3dpacket_face_player
0x69packet_nbt_query_response
0x45packet_multi_block_change
0x12packet_close_window
0x31packet_open_window
0x13packet_window_items
0x14packet_craft_progress_bar
0x15packet_set_slot
0x16packet_set_cooldown
0x17packet_chat_suggestions
0x18packet_custom_payload
0x1apacket_hide_message
0x1bpacket_kick_disconnect
0x1cpacket_profileless_chat
0x1dpacket_entity_status
0x1epacket_explosion
0x1fpacket_unload_chunk
0x20packet_game_state_change
0x21packet_open_horse_window
0x24packet_keep_alive
0x25packet_map_chunk
0x26packet_world_event
0x27packet_world_particles
0x28packet_update_light
0x29packet_login
0x2apacket_map
0x2bpacket_trade_list
0x2cpacket_rel_entity_move
0x2dpacket_entity_move_look
0x2epacket_entity_look
0x2fpacket_vehicle_move
0x30packet_open_book
0x32packet_open_sign_entity
0x35packet_craft_recipe_response
0x36packet_abilities
0x37packet_player_chat
0x38packet_end_combat_event
Typepacket_enter_combat_event
0x3apacket_death_combat_event
0x3bpacket_player_remove
0x3cpacket_player_info
0x3epacket_position
0x3fpacket_unlock_recipes
0x40packet_entity_destroy
0x41packet_remove_entity_effect
0x42packet_resource_pack_send
0x43packet_respawn
0x44packet_entity_head_rotation
0x4epacket_camera
0x4fpacket_held_item_slot
0x50packet_update_view_position
0x51packet_update_view_distance
0x53packet_scoreboard_display_objective
0x54packet_entity_metadata
0x55packet_attach_entity
0x56packet_entity_velocity
0x57packet_entity_equipment
0x58packet_experience
0x59packet_update_health
0x5apacket_scoreboard_objective
0x5bpacket_set_passengers
0x5cpacket_teams
0x5dpacket_scoreboard_score
0x52packet_spawn_position
0x60packet_update_time
0x63packet_entity_sound_effect
0x66packet_stop_sound
0x64packet_sound_effect
0x67packet_system_chat
0x68packet_playerlist_header
0x6apacket_collect
0x6bpacket_entity_teleport
0x6dpacket_entity_update_attributes
0x6epacket_entity_effect
0x46packet_select_advancement_tab
0x47packet_server_data
0x6fpacket_declare_recipes
0x70packet_tags
0x5packet_acknowledge_player_digging
0xfpacket_clear_titles
0x23packet_initialize_world_border
0x48packet_action_bar
0x49packet_world_border_center
0x4apacket_world_border_lerp_size
0x4bpacket_world_border_size
0x4cpacket_world_border_warning_delay
0x4dpacket_world_border_warning_reach
0x33packet_ping
0x34packet_ping_response
0x5fpacket_set_title_subtitle
0x61packet_set_title_text
0x62packet_set_title_time
0x5epacket_simulation_distance
0xepacket_chunk_biomes
0x19packet_damage_event
0x22packet_hurt_animation
Typepacket_start_configuration
Typepacket


1
packet spawn entity
play / toClient / packet_spawn_entity (0x01)

Field NameField TypeNotes
entityId varint
objectUUID UUID
type varint
x f64
y f64
z f64
pitch i8
yaw i8
headPitch i8
objectData varint
velocityX i16
velocityY i16
velocityZ i16



2
packet spawn entity experience orb
play / toClient / packet_spawn_entity_experience_orb (0x02)

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



3
packet animation
play / toClient / packet_animation (0x03)

Field NameField TypeNotes
entityId varint
animation u8



4
packet statistics
play / toClient / packet_statistics (0x04)

Field NameField TypeNotes
entries lengthvarint
entries
array
categoryId varint
statisticId varint
value varint



108
packet advancements
play / toClient / packet_advancements (0x6c)

Field NameField TypeNotes
reset bool
advancementMapping lengthvarint
advancementMapping
array
key string
value
parentId
optional
string
displayData
optional
title string
description string
icon slot
frameType varint
backgroundTexture

if flags/has background texture
is 1 string
default void
xCord f32
yCord f32
requirements lengthvarint
requirements
array
__882 lengthvarint
__882
array
string
sendsTelemtryData bool
identifiers lengthvarint
identifiers
array
string
progressMapping lengthvarint
progressMapping
array
key string
value lengthvarint
value
array
criterionIdentifier string
criterionProgress
optional
i64



6
packet block break animation
play / toClient / packet_block_break_animation (0x06)

Field NameField TypeNotes
entityId varint
location position
destroyStage i8



7
packet tile entity data
play / toClient / packet_tile_entity_data (0x07)

Field NameField TypeNotes
location position
action varint
nbtData anonOptionalNbt



8
packet block action
play / toClient / packet_block_action (0x08)

Field NameField TypeNotes
location position
byte1 u8
byte2 u8
blockId varint



9
packet block change
play / toClient / packet_block_change (0x09)

Field NameField TypeNotes
location position
type varint



10
packet boss bar
play / toClient / packet_boss_bar (0x0a)

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



11
packet difficulty
play / toClient / packet_difficulty (0x0b)

Field NameField TypeNotes
difficulty u8
difficultyLocked bool



12
packet chunk batch finished
play / toClient / packet_chunk_batch_finished (0x0c)

Field NameField TypeNotes
batchSize varint



16
packet tab complete
play / toClient / packet_tab_complete (0x10)

Field NameField TypeNotes
transactionId varint
start varint
length varint
matches lengthvarint
matches
array
match string
tooltip
optional
string



17
packet declare commands
play / toClient / packet_declare_commands (0x11)

Field NameField TypeNotes
nodes lengthvarint
nodes
array
command_node
rootIndex varint



61
packet face player
play / toClient / packet_face_player (0x3d)

Field NameField TypeNotes
feet eyes varint
x f64
y f64
z f64
isEntity bool
entityId

if isEntity
is true varint
default void
entity feet eyes

if isEntity
is true string
default void



105
packet nbt query response
play / toClient / packet_nbt_query_response (0x69)

Field NameField TypeNotes
transactionId varint
nbt anonOptionalNbt



69
packet multi block change
play / toClient / packet_multi_block_change (0x45)

Field NameField TypeNotes
records lengthvarint
records
array
varint



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

Field NameField TypeNotes
windowId u8



49
packet open window
play / toClient / packet_open_window (0x31)

Field NameField TypeNotes
windowId varint
inventoryType varint
windowTitle string



19
packet window items
play / toClient / packet_window_items (0x13)

Field NameField TypeNotes
windowId u8
stateId varint
items lengthvarint
items
array
slot
carriedItem slot



20
packet craft progress bar
play / toClient / packet_craft_progress_bar (0x14)

Field NameField TypeNotes
windowId u8
property i16
value i16



21
packet set slot
play / toClient / packet_set_slot (0x15)

Field NameField TypeNotes
windowId i8
stateId varint
slot i16
item slot



22
packet set cooldown
play / toClient / packet_set_cooldown (0x16)

Field NameField TypeNotes
itemID varint
cooldownTicks varint



23
packet chat suggestions
play / toClient / packet_chat_suggestions (0x17)

Field NameField TypeNotes
action varint
entries lengthvarint
entries
array
string



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

Field NameField TypeNotes
channel string
data restBuffer



26
packet hide message
play / toClient / packet_hide_message (0x1a)

Field NameField TypeNotes
id varint
signature

if id
default void



27
packet kick disconnect
play / toClient / packet_kick_disconnect (0x1b)

Field NameField TypeNotes
reason string



28
packet profileless chat
play / toClient / packet_profileless_chat (0x1c)

Field NameField TypeNotes
message string
type varint
name string
target
optional
string



29
packet entity status
play / toClient / packet_entity_status (0x1d)

Field NameField TypeNotes
entityId i32
entityStatus i8



30
packet explosion
play / toClient / packet_explosion (0x1e)

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



31
packet unload chunk
play / toClient / packet_unload_chunk (0x1f)

Field NameField TypeNotes
chunkZ i32
chunkX i32



32
packet game state change
play / toClient / packet_game_state_change (0x20)

Field NameField TypeNotes
reason u8
gameMode f32



33
packet open horse window
play / toClient / packet_open_horse_window (0x21)

Field NameField TypeNotes
windowId u8
nbSlots varint
entityId i32



36
packet keep alive
play / toClient / packet_keep_alive (0x24)

Field NameField TypeNotes
keepAliveId i64



37
packet map chunk
play / toClient / packet_map_chunk (0x25)

Field NameField TypeNotes
x i32
z i32
heightmaps anonymousNbt
blockEntities lengthvarint
blockEntities
array
chunkBlockEntity
skyLightMask lengthvarint
skyLightMask
array
i64
blockLightMask lengthvarint
blockLightMask
array
i64
emptySkyLightMask lengthvarint
emptySkyLightMask
array
i64
emptyBlockLightMask lengthvarint
emptyBlockLightMask
array
i64
skyLight lengthvarint
skyLight
array
__1072 lengthvarint
__1072
array
u8
blockLight lengthvarint
blockLight
array
__1074 lengthvarint
__1074
array
u8



38
packet world event
play / toClient / packet_world_event (0x26)

Field NameField TypeNotes
effectId i32
location position
data i32
global bool



39
packet world particles
play / toClient / packet_world_particles (0x27)

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



40
packet update light
play / toClient / packet_update_light (0x28)

Field NameField TypeNotes
chunkX varint
chunkZ varint
skyLightMask lengthvarint
skyLightMask
array
i64
blockLightMask lengthvarint
blockLightMask
array
i64
emptySkyLightMask lengthvarint
emptySkyLightMask
array
i64
emptyBlockLightMask lengthvarint
emptyBlockLightMask
array
i64
skyLight lengthvarint
skyLight
array
__1105 lengthvarint
__1105
array
u8
blockLight lengthvarint
blockLight
array
__1107 lengthvarint
__1107
array
u8



41
packet login
play / toClient / packet_login (0x29)

Field NameField TypeNotes
entityId i32
isHardcore bool
worldNames lengthvarint
worldNames
array
string
maxPlayers varint
viewDistance varint
simulationDistance varint
reducedDebugInfo bool
enableRespawnScreen bool
doLimitedCrafting bool
worldType string
worldName string
hashedSeed i64
gameMode u8
previousGameMode i8
isDebug bool
isFlat bool
death
optional
dimensionName string
location position
portalCooldown varint



42
packet map
play / toClient / packet_map (0x2a)

Field NameField TypeNotes
itemDamage varint
scale i8
locked bool
icons lengthvarint
icons
array
type varint
x i8
z i8
direction u8
displayName
optional
string
columns u8
rows

if columns
is 0 void
default u8
x

if columns
is 0 void
default u8
y

if columns
is 0 void
default u8
data

if columns
is 0 void



43
packet trade list
play / toClient / packet_trade_list (0x2b)

Field NameField TypeNotes
windowId varint
trades lengthvarint
trades
array
inputItem1 slot
outputItem slot
inputItem2 slot
tradeDisabled bool
nbTradeUses i32
maximumNbTradeUses i32
xp i32
specialPrice i32
priceMultiplier f32
demand i32
villagerLevel varint
experience varint
isRegularVillager bool
canRestock bool



44
packet rel entity move
play / toClient / packet_rel_entity_move (0x2c)

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



45
packet entity move look
play / toClient / packet_entity_move_look (0x2d)

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



46
packet entity look
play / toClient / packet_entity_look (0x2e)

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



47
packet vehicle move
play / toClient / packet_vehicle_move (0x2f)

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



48
packet open book
play / toClient / packet_open_book (0x30)

Field NameField TypeNotes
hand varint



50
packet open sign entity
play / toClient / packet_open_sign_entity (0x32)

Field NameField TypeNotes
location position
isFrontText bool



53
packet craft recipe response
play / toClient / packet_craft_recipe_response (0x35)

Field NameField TypeNotes
windowId i8
recipe string



54
packet abilities
play / toClient / packet_abilities (0x36)

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



55
packet player chat
play / toClient / packet_player_chat (0x37)

Field NameField TypeNotes
senderUuid UUID
index varint
plainMessage string
timestamp i64
salt i64
previousMessages previousMessages
unsignedChatContent
optional
string
filterType varint
filterTypeMask

if filterType
is 2 lengthvarint
is 2
array
i64
default void
type varint
networkName string
networkTargetName
optional
string



56
packet end combat event
play / toClient / packet_end_combat_event (0x38)

Field NameField TypeNotes
duration varint



58
packet death combat event
play / toClient / packet_death_combat_event (0x3a)

Field NameField TypeNotes
playerId varint
message string



59
packet player remove
play / toClient / packet_player_remove (0x3b)

Field NameField TypeNotes
players lengthvarint
players
array
UUID



60
packet player info
play / toClient / packet_player_info (0x3c)

Field NameField TypeNotes
action i8
data lengthvarint
data
array
uuid UUID
player

if ../action
is 1 game_profile
is 3 game_profile
is 5 game_profile
is 7 game_profile
is 9 game_profile
is 11 game_profile
is 13 game_profile
is 15 game_profile
is 17 game_profile
is 19 game_profile
is 21 game_profile
is 23 game_profile
is 25 game_profile
is 27 game_profile
is 29 game_profile
is 31 game_profile
is 33 game_profile
is 35 game_profile
is 37 game_profile
is 39 game_profile
is 41 game_profile
is 43 game_profile
is 45 game_profile
is 47 game_profile
is 49 game_profile
is 51 game_profile
is 53 game_profile
is 55 game_profile
is 57 game_profile
is 59 game_profile
is 61 game_profile
is 63 game_profile
default void
chatSession

if ../action
is 2 chat_session
is 3 chat_session
is 6 chat_session
is 7 chat_session
is 10 chat_session
is 11 chat_session
is 14 chat_session
is 15 chat_session
is 18 chat_session
is 19 chat_session
is 22 chat_session
is 23 chat_session
is 26 chat_session
is 27 chat_session
is 30 chat_session
is 31 chat_session
is 34 chat_session
is 35 chat_session
is 38 chat_session
is 39 chat_session
is 42 chat_session
is 43 chat_session
is 46 chat_session
is 47 chat_session
is 50 chat_session
is 51 chat_session
is 54 chat_session
is 55 chat_session
is 58 chat_session
is 59 chat_session
is 62 chat_session
is 63 chat_session
default void
gamemode

if ../action
is 4 varint
is 5 varint
is 6 varint
is 7 varint
is 12 varint
is 13 varint
is 14 varint
is 15 varint
is 20 varint
is 21 varint
is 22 varint
is 23 varint
is 28 varint
is 29 varint
is 30 varint
is 31 varint
is 36 varint
is 37 varint
is 38 varint
is 39 varint
is 44 varint
is 45 varint
is 46 varint
is 47 varint
is 52 varint
is 53 varint
is 54 varint
is 55 varint
is 60 varint
is 61 varint
is 62 varint
is 63 varint
default void
listed

if ../action
is 8 bool
is 9 bool
is 10 bool
is 11 bool
is 12 bool
is 13 bool
is 14 bool
is 15 bool
is 24 bool
is 25 bool
is 26 bool
is 27 bool
is 28 bool
is 29 bool
is 30 bool
is 31 bool
is 40 bool
is 41 bool
is 42 bool
is 43 bool
is 44 bool
is 45 bool
is 46 bool
is 47 bool
is 56 bool
is 57 bool
is 58 bool
is 59 bool
is 60 bool
is 61 bool
is 62 bool
is 63 bool
default void
latency

if ../action
is 16 varint
is 17 varint
is 18 varint
is 19 varint
is 20 varint
is 21 varint
is 22 varint
is 23 varint
is 24 varint
is 25 varint
is 26 varint
is 27 varint
is 28 varint
is 29 varint
is 30 varint
is 31 varint
is 48 varint
is 49 varint
is 50 varint
is 51 varint
is 52 varint
is 53 varint
is 54 varint
is 55 varint
is 56 varint
is 57 varint
is 58 varint
is 59 varint
is 60 varint
is 61 varint
is 62 varint
is 63 varint
default void
displayName

if ../action
default void



62
packet position
play / toClient / packet_position (0x3e)

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



63
packet unlock recipes
play / toClient / packet_unlock_recipes (0x3f)

Field NameField TypeNotes
action varint
craftingBookOpen bool
filteringCraftable bool
smeltingBookOpen bool
filteringSmeltable bool
blastFurnaceOpen bool
filteringBlastFurnace bool
smokerBookOpen bool
filteringSmoker bool
recipes1 lengthvarint
recipes1
array
string
recipes2

if action
is 0 lengthvarint
is 0
array
string
default void



64
packet entity destroy
play / toClient / packet_entity_destroy (0x40)

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



65
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x41)

Field NameField TypeNotes
entityId varint
effectId varint



66
packet resource pack send
play / toClient / packet_resource_pack_send (0x42)

Field NameField TypeNotes
url string
hash string
forced bool
promptMessage
optional
string



67
packet respawn
play / toClient / packet_respawn (0x43)

Field NameField TypeNotes
dimension string
worldName string
hashedSeed i64
gamemode i8
previousGamemode u8
isDebug bool
isFlat bool
death
optional
dimensionName string
location position
portalCooldown varint
copyMetadata bool



68
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x44)

Field NameField TypeNotes
entityId varint
headYaw i8



78
packet camera
play / toClient / packet_camera (0x4e)

Field NameField TypeNotes
cameraId varint



79
packet held item slot
play / toClient / packet_held_item_slot (0x4f)

Field NameField TypeNotes
slot i8



80
packet update view position
play / toClient / packet_update_view_position (0x50)

Field NameField TypeNotes
chunkX varint
chunkZ varint



81
packet update view distance
play / toClient / packet_update_view_distance (0x51)

Field NameField TypeNotes
viewDistance varint



83
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x53)

Field NameField TypeNotes
position varint
name string



84
packet entity metadata
play / toClient / packet_entity_metadata (0x54)

Field NameField TypeNotes
entityId varint
metadata entityMetadata



85
packet attach entity
play / toClient / packet_attach_entity (0x55)

Field NameField TypeNotes
entityId i32
vehicleId i32



86
packet entity velocity
play / toClient / packet_entity_velocity (0x56)

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



87
packet entity equipment
play / toClient / packet_entity_equipment (0x57)

Field NameField TypeNotes
entityId varint



88
packet experience
play / toClient / packet_experience (0x58)

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



89
packet update health
play / toClient / packet_update_health (0x59)

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



90
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x5a)

Field NameField TypeNotes
name string
action i8
displayText

if action
is 0 string
is 2 string
default void
type

if action
is 0 varint
is 2 varint
default void



91
packet set passengers
play / toClient / packet_set_passengers (0x5b)

Field NameField TypeNotes
entityId varint
passengers lengthvarint
passengers
array
varint



92
packet teams
play / toClient / packet_teams (0x5c)

Field NameField TypeNotes
team string
mode i8
name

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
formatting

if mode
is 0 varint
is 2 varint
default void
prefix

if mode
is 0 string
is 2 string
default void
suffix

if mode
is 0 string
is 2 string
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



93
packet scoreboard score
play / toClient / packet_scoreboard_score (0x5d)

Field NameField TypeNotes
itemName string
action varint
scoreName string
value

if action
is 1 void
default varint



82
packet spawn position
play / toClient / packet_spawn_position (0x52)

Field NameField TypeNotes
location position
angle f32



96
packet update time
play / toClient / packet_update_time (0x60)

Field NameField TypeNotes
age i64
time i64



99
packet entity sound effect
play / toClient / packet_entity_sound_effect (0x63)

Field NameField TypeNotes
soundId varint
soundEvent

if soundId
is 0
resource string
range
optional
f32
default void
soundCategory soundSource
entityId varint
volume f32
pitch f32
seed i64



102
packet stop sound
play / toClient / packet_stop_sound (0x66)

Field NameField TypeNotes
flags i8
source

if flags
is 1 varint
is 3 varint
default void
sound

if flags
is 2 string
is 3 string
default void



100
packet sound effect
play / toClient / packet_sound_effect (0x64)

Field NameField TypeNotes
soundId varint
soundEvent

if soundId
is 0
resource string
range
optional
f32
default void
soundCategory soundSource
x i32
y i32
z i32
volume f32
pitch f32
seed i64



103
packet system chat
play / toClient / packet_system_chat (0x67)

Field NameField TypeNotes
content string
isActionBar bool



104
packet playerlist header
play / toClient / packet_playerlist_header (0x68)

Field NameField TypeNotes
header string
footer string



106
packet collect
play / toClient / packet_collect (0x6a)

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint
pickupItemCount varint



107
packet entity teleport
play / toClient / packet_entity_teleport (0x6b)

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



109
packet entity update attributes
play / toClient / packet_entity_update_attributes (0x6d)

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



110
packet entity effect
play / toClient / packet_entity_effect (0x6e)

Field NameField TypeNotes
entityId varint
effectId varint
amplifier i8
duration varint
hideParticles i8
factorCodec
optional
anonymousNbt



70
packet select advancement tab
play / toClient / packet_select_advancement_tab (0x46)

Field NameField TypeNotes
id
optional
string



71
packet server data
play / toClient / packet_server_data (0x47)

Field NameField TypeNotes
motd string
enforcesSecureChat bool



111
packet declare recipes
play / toClient / packet_declare_recipes (0x6f)

Field NameField TypeNotes
recipes lengthvarint
recipes
array
type string
recipeId string
data

if type
is minecraft:crafting shapeless
group string
category varint
ingredients lengthvarint
ingredients
array
ingredient
result slot
is minecraft:crafting shaped
width varint
height varint
group string
category varint
Length for ingredients below is width from above
ingredients
array
Length for __1804 below is height from above
__1804
array
ingredient
result slot
showNotification bool
is minecraft:crafting special armordye minecraft_simple_recipe_format
is minecraft:crafting special bookcloning minecraft_simple_recipe_format
is minecraft:crafting special mapcloning minecraft_simple_recipe_format
is minecraft:crafting special mapextending minecraft_simple_recipe_format
is minecraft:crafting special firework rocket minecraft_simple_recipe_format
is minecraft:crafting special firework star minecraft_simple_recipe_format
is minecraft:crafting special firework star fade minecraft_simple_recipe_format
is minecraft:crafting special repairitem minecraft_simple_recipe_format
is minecraft:crafting special tippedarrow minecraft_simple_recipe_format
is minecraft:crafting special bannerduplicate minecraft_simple_recipe_format
is minecraft:crafting special banneraddpattern minecraft_simple_recipe_format
is minecraft:crafting special shielddecoration minecraft_simple_recipe_format
is minecraft:crafting special shulkerboxcoloring minecraft_simple_recipe_format
is minecraft:crafting special suspiciousstew minecraft_simple_recipe_format
is minecraft:smelting minecraft_smelting_format
is minecraft:blasting minecraft_smelting_format
is minecraft:smoking minecraft_smelting_format
is minecraft:campfire cooking minecraft_smelting_format
is minecraft:stonecutting
group string
ingredient ingredient
result slot
is minecraft:smithing transform
template ingredient
base ingredient
addition ingredient
result slot
is minecraft:smithing trim
template ingredient
base ingredient
addition ingredient
is minecraft:crafting decorated pot minecraft_simple_recipe_format



112
packet tags
play / toClient / packet_tags (0x70)

Field NameField TypeNotes
tags lengthvarint
tags
array
tagType string
tags tags



5
packet acknowledge player digging
play / toClient / packet_acknowledge_player_digging (0x05)

Field NameField TypeNotes
sequenceId varint



15
packet clear titles
play / toClient / packet_clear_titles (0x0f)

Field NameField TypeNotes
reset bool



35
packet initialize world border
play / toClient / packet_initialize_world_border (0x23)

Field NameField TypeNotes
x f64
z f64
oldDiameter f64
newDiameter f64
speed varint
portalTeleportBoundary varint
warningBlocks varint
warningTime varint



72
packet action bar
play / toClient / packet_action_bar (0x48)

Field NameField TypeNotes
text string



73
packet world border center
play / toClient / packet_world_border_center (0x49)

Field NameField TypeNotes
x f64
z f64



74
packet world border lerp size
play / toClient / packet_world_border_lerp_size (0x4a)

Field NameField TypeNotes
oldDiameter f64
newDiameter f64
speed varint



75
packet world border size
play / toClient / packet_world_border_size (0x4b)

Field NameField TypeNotes
diameter f64



76
packet world border warning delay
play / toClient / packet_world_border_warning_delay (0x4c)

Field NameField TypeNotes
warningTime varint



77
packet world border warning reach
play / toClient / packet_world_border_warning_reach (0x4d)

Field NameField TypeNotes
warningBlocks varint



51
packet ping
play / toClient / packet_ping (0x33)

Field NameField TypeNotes
id i32



52
packet ping response
play / toClient / packet_ping_response (0x34)

Field NameField TypeNotes
id i64



95
packet set title subtitle
play / toClient / packet_set_title_subtitle (0x5f)

Field NameField TypeNotes
text string



97
packet set title text
play / toClient / packet_set_title_text (0x61)

Field NameField TypeNotes
text string



98
packet set title time
play / toClient / packet_set_title_time (0x62)

Field NameField TypeNotes
fadeIn i32
stay i32
fadeOut i32



94
packet simulation distance
play / toClient / packet_simulation_distance (0x5e)

Field NameField TypeNotes
distance varint



14
packet chunk biomes
play / toClient / packet_chunk_biomes (0x0e)

Field NameField TypeNotes
biomes lengthvarint
biomes
array
position packedChunkPos



25
packet damage event
play / toClient / packet_damage_event (0x19)

Field NameField TypeNotes
entityId varint
sourceTypeId varint
sourceCauseId varint
sourceDirectId varint
sourcePosition
optional
vec3f64



34
packet hurt animation
play / toClient / packet_hurt_animation (0x22)

Field NameField TypeNotes
entityId varint
yaw f32



Type
packet
play / toClient / packet

Field NameField TypeNotes
name
varint enum
0bundle delimiter
1spawn entity
2spawn entity experience orb
3animation
4statistics
5acknowledge player digging
6block break animation
7tile entity data
8block action
9block change
10boss bar
11difficulty
12chunk batch finished
13chunk batch start
14chunk biomes
15clear titles
16tab complete
17declare commands
18close window
19window items
20craft progress bar
21set slot
22set cooldown
23chat suggestions
24custom payload
25damage event
26hide message
27kick disconnect
28profileless chat
29entity status
30explosion
31unload chunk
32game state change
33open horse window
34hurt animation
35initialize world border
36keep alive
37map chunk
38world event
39world particles
40update light
41login
42map
43trade list
44rel entity move
45entity move look
46entity look
47vehicle move
48open book
49open window
50open sign entity
51ping
52ping response
53craft recipe response
54abilities
55player chat
56end combat event
57enter combat event
58death combat event
59player remove
60player info
61face player
62position
63unlock recipes
64entity destroy
65remove entity effect
66resource pack send
67respawn
68entity head rotation
69multi block change
70select advancement tab
71server data
72action bar
73world border center
74world border lerp size
75world border size
76world border warning delay
77world border warning reach
78camera
79held item slot
80update view position
81update view distance
82spawn position
83scoreboard display objective
84entity metadata
85attach entity
86entity velocity
87entity equipment
88experience
89update health
90scoreboard objective
91set passengers
92teams
93scoreboard score
94simulation distance
95set title subtitle
96update time
97set title text
98set title time
99entity sound effect
100sound effect
101start configuration
102stop sound
103system chat
104playerlist header
105nbt query response
106collect
107entity teleport
108advancements
109entity update attributes
110entity effect
111declare recipes
112tags
params

if name
is bundle delimiter void
is spawn entity packet_spawn_entity
is spawn entity experience orb packet_spawn_entity_experience_orb
is animation packet_animation
is statistics packet_statistics
is acknowledge player digging packet_acknowledge_player_digging
is block break animation packet_block_break_animation
is tile entity data packet_tile_entity_data
is block action packet_block_action
is block change packet_block_change
is boss bar packet_boss_bar
is difficulty packet_difficulty
is chunk batch finished packet_chunk_batch_finished
is chunk batch start packet_chunk_batch_start
is chunk biomes packet_chunk_biomes
is clear titles packet_clear_titles
is tab complete packet_tab_complete
is declare commands packet_declare_commands
is close window packet_close_window
is window items packet_window_items
is craft progress bar packet_craft_progress_bar
is set slot packet_set_slot
is set cooldown packet_set_cooldown
is chat suggestions packet_chat_suggestions
is custom payload packet_custom_payload
is damage event packet_damage_event
is hide message packet_hide_message
is kick disconnect packet_kick_disconnect
is profileless chat packet_profileless_chat
is entity status packet_entity_status
is explosion packet_explosion
is unload chunk packet_unload_chunk
is game state change packet_game_state_change
is open horse window packet_open_horse_window
is hurt animation packet_hurt_animation
is initialize world border packet_initialize_world_border
is keep alive packet_keep_alive
is map chunk packet_map_chunk
is world event packet_world_event
is world particles packet_world_particles
is update light packet_update_light
is login packet_login
is map packet_map
is trade list packet_trade_list
is rel entity move packet_rel_entity_move
is entity move look packet_entity_move_look
is entity look packet_entity_look
is vehicle move packet_vehicle_move
is open book packet_open_book
is open window packet_open_window
is open sign entity packet_open_sign_entity
is ping packet_ping
is ping response packet_ping_response
is craft recipe response packet_craft_recipe_response
is abilities packet_abilities
is player chat packet_player_chat
is end combat event packet_end_combat_event
is enter combat event packet_enter_combat_event
is death combat event packet_death_combat_event
is player remove packet_player_remove
is player info packet_player_info
is face player packet_face_player
is position packet_position
is unlock recipes packet_unlock_recipes
is entity destroy packet_entity_destroy
is remove entity effect packet_remove_entity_effect
is resource pack send packet_resource_pack_send
is respawn packet_respawn
is entity head rotation packet_entity_head_rotation
is multi block change packet_multi_block_change
is select advancement tab packet_select_advancement_tab
is server data packet_server_data
is action bar packet_action_bar
is world border center packet_world_border_center
is world border lerp size packet_world_border_lerp_size
is world border size packet_world_border_size
is world border warning delay packet_world_border_warning_delay
is world border warning reach packet_world_border_warning_reach
is camera packet_camera
is held item slot packet_held_item_slot
is update view position packet_update_view_position
is update view distance packet_update_view_distance
is spawn position packet_spawn_position
is scoreboard display objective packet_scoreboard_display_objective
is entity metadata packet_entity_metadata
is attach entity packet_attach_entity
is entity velocity packet_entity_velocity
is entity equipment packet_entity_equipment
is experience packet_experience
is update health packet_update_health
is scoreboard objective packet_scoreboard_objective
is set passengers packet_set_passengers
is teams packet_teams
is scoreboard score packet_scoreboard_score
is simulation distance packet_simulation_distance
is set title subtitle packet_set_title_subtitle
is update time packet_update_time
is set title text packet_set_title_text
is set title time packet_set_title_time
is entity sound effect packet_entity_sound_effect
is sound effect packet_sound_effect
is start configuration packet_start_configuration
is stop sound packet_stop_sound
is system chat packet_system_chat
is playerlist header packet_playerlist_header
is nbt query response packet_nbt_query_response
is collect packet_collect
is entity teleport packet_entity_teleport
is advancements packet_advancements
is entity update attributes packet_entity_update_attributes
is entity effect packet_entity_effect
is declare recipes packet_declare_recipes
is tags packet_tags



Table of Contents

KeyName
Typepacket_teleport_confirm
0x1packet_query_block_nbt
0x4packet_chat_command
0x5packet_chat_message
0x2packet_set_difficulty
0x3packet_message_acknowledgement
0x10packet_edit_book
0x11packet_query_entity_nbt
0x1cpacket_pick_item
0x26packet_name_item
0x29packet_select_trade
0x2apacket_set_beacon_effect
0x2cpacket_update_command_block
0x2dpacket_update_command_block_minecart
0x30packet_update_structure_block
0xapacket_tab_complete
0x8packet_client_command
0x9packet_settings
0xcpacket_enchant_item
0xdpacket_window_click
0xepacket_close_window
0xfpacket_custom_payload
0x12packet_use_entity
0x13packet_generate_structure
0x14packet_keep_alive
0x15packet_lock_difficulty
0x16packet_position
0x17packet_position_look
0x18packet_look
0x19packet_flying
0x1apacket_vehicle_move
0x1bpacket_steer_boat
0x1epacket_craft_recipe_request
0x1fpacket_abilities
0x20packet_block_dig
0x21packet_entity_action
0x22packet_steer_vehicle
0x25packet_displayed_recipe
0x24packet_recipe_book
0x27packet_resource_pack_receive
0x2bpacket_held_item_slot
0x2epacket_set_creative_slot
0x2fpacket_update_jigsaw_block
0x31packet_update_sign
0x32packet_arm_animation
0x33packet_spectate
0x34packet_block_place
0x35packet_use_item
0x28packet_advancement_tab
0x23packet_pong
0x6packet_chat_session_update
0x7packet_chunk_batch_received
Typepacket_configuration_acknowledged
0x1dpacket_ping_request
Typepacket


0
packet teleport confirm
play / toServer / packet_teleport_confirm (0x00)

Field NameField TypeNotes
teleportId varint



1
packet query block nbt
play / toServer / packet_query_block_nbt (0x01)

Field NameField TypeNotes
transactionId varint
location position



4
packet chat command
play / toServer / packet_chat_command (0x04)

Field NameField TypeNotes
command string
timestamp i64
salt i64
argumentSignatures lengthvarint
argumentSignatures
array
argumentName string
messageCount varint



5
packet chat message
play / toServer / packet_chat_message (0x05)

Field NameField TypeNotes
message string
timestamp i64
salt i64
offset varint



2
packet set difficulty
play / toServer / packet_set_difficulty (0x02)

Field NameField TypeNotes
newDifficulty u8



3
packet message acknowledgement
play / toServer / packet_message_acknowledgement (0x03)

Field NameField TypeNotes
count varint



16
packet edit book
play / toServer / packet_edit_book (0x10)

Field NameField TypeNotes
hand varint
pages lengthvarint
pages
array
string
title
optional
string



17
packet query entity nbt
play / toServer / packet_query_entity_nbt (0x11)

Field NameField TypeNotes
transactionId varint
entityId varint



28
packet pick item
play / toServer / packet_pick_item (0x1c)

Field NameField TypeNotes
slot varint



38
packet name item
play / toServer / packet_name_item (0x26)

Field NameField TypeNotes
name string



41
packet select trade
play / toServer / packet_select_trade (0x29)

Field NameField TypeNotes
slot varint



42
packet set beacon effect
play / toServer / packet_set_beacon_effect (0x2a)

Field NameField TypeNotes
primary effect
optional
varint
secondary effect
optional
varint



44
packet update command block
play / toServer / packet_update_command_block (0x2c)

Field NameField TypeNotes
location position
command string
mode varint
flags u8



45
packet update command block minecart
play / toServer / packet_update_command_block_minecart (0x2d)

Field NameField TypeNotes
entityId varint
command string
track output bool



48
packet update structure block
play / toServer / packet_update_structure_block (0x30)

Field NameField TypeNotes
location position
action varint
mode varint
name string
offset x i8
offset y i8
offset z i8
size x i8
size y i8
size z i8
mirror varint
rotation varint
metadata string
integrity f32
seed varint
flags u8



10
packet tab complete
play / toServer / packet_tab_complete (0x0a)

Field NameField TypeNotes
transactionId varint
text string



8
packet client command
play / toServer / packet_client_command (0x08)

Field NameField TypeNotes
actionId varint



9
packet settings
play / toServer / packet_settings (0x09)

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



12
packet enchant item
play / toServer / packet_enchant_item (0x0c)

Field NameField TypeNotes
windowId i8
enchantment i8



13
packet window click
play / toServer / packet_window_click (0x0d)

Field NameField TypeNotes
windowId u8
stateId varint
slot i16
mouseButton i8
mode varint
changedSlots lengthvarint
changedSlots
array
location i16
item slot
cursorItem slot



14
packet close window
play / toServer / packet_close_window (0x0e)

Field NameField TypeNotes
windowId u8



15
packet custom payload
play / toServer / packet_custom_payload (0x0f)

Field NameField TypeNotes
channel string
data restBuffer



18
packet use entity
play / toServer / packet_use_entity (0x12)

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
sneaking bool



19
packet generate structure
play / toServer / packet_generate_structure (0x13)

Field NameField TypeNotes
location position
levels varint
keepJigsaws bool



20
packet keep alive
play / toServer / packet_keep_alive (0x14)

Field NameField TypeNotes
keepAliveId i64



21
packet lock difficulty
play / toServer / packet_lock_difficulty (0x15)

Field NameField TypeNotes
locked bool



22
packet position
play / toServer / packet_position (0x16)

Field NameField TypeNotes
x f64
y f64
z f64
onGround bool



23
packet position look
play / toServer / packet_position_look (0x17)

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



24
packet look
play / toServer / packet_look (0x18)

Field NameField TypeNotes
yaw f32
pitch f32
onGround bool



25
packet flying
play / toServer / packet_flying (0x19)

Field NameField TypeNotes
onGround bool



26
packet vehicle move
play / toServer / packet_vehicle_move (0x1a)

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



27
packet steer boat
play / toServer / packet_steer_boat (0x1b)

Field NameField TypeNotes
leftPaddle bool
rightPaddle bool



30
packet craft recipe request
play / toServer / packet_craft_recipe_request (0x1e)

Field NameField TypeNotes
windowId i8
recipe string
makeAll bool



31
packet abilities
play / toServer / packet_abilities (0x1f)

Field NameField TypeNotes
flags i8



32
packet block dig
play / toServer / packet_block_dig (0x20)

Field NameField TypeNotes
status varint
location position
face i8
sequence varint



33
packet entity action
play / toServer / packet_entity_action (0x21)

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



34
packet steer vehicle
play / toServer / packet_steer_vehicle (0x22)

Field NameField TypeNotes
sideways f32
forward f32
jump u8



37
packet displayed recipe
play / toServer / packet_displayed_recipe (0x25)

Field NameField TypeNotes
recipeId string



36
packet recipe book
play / toServer / packet_recipe_book (0x24)

Field NameField TypeNotes
bookId varint
bookOpen bool
filterActive bool



39
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x27)

Field NameField TypeNotes
result varint



43
packet held item slot
play / toServer / packet_held_item_slot (0x2b)

Field NameField TypeNotes
slotId i16



46
packet set creative slot
play / toServer / packet_set_creative_slot (0x2e)

Field NameField TypeNotes
slot i16
item slot



47
packet update jigsaw block
play / toServer / packet_update_jigsaw_block (0x2f)

Field NameField TypeNotes
location position
name string
target string
pool string
finalState string
jointType string



49
packet update sign
play / toServer / packet_update_sign (0x31)

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



50
packet arm animation
play / toServer / packet_arm_animation (0x32)

Field NameField TypeNotes
hand varint



51
packet spectate
play / toServer / packet_spectate (0x33)

Field NameField TypeNotes
target UUID



52
packet block place
play / toServer / packet_block_place (0x34)

Field NameField TypeNotes
hand varint
location position
direction varint
cursorX f32
cursorY f32
cursorZ f32
insideBlock bool
sequence varint



53
packet use item
play / toServer / packet_use_item (0x35)

Field NameField TypeNotes
hand varint
sequence varint



40
packet advancement tab
play / toServer / packet_advancement_tab (0x28)

Field NameField TypeNotes
action varint
tabId

if action
is 0 string
is 1 void



35
packet pong
play / toServer / packet_pong (0x23)

Field NameField TypeNotes
id i32



6
packet chat session update
play / toServer / packet_chat_session_update (0x06)

Field NameField TypeNotes
sessionUUID UUID
expireTime i64



7
packet chunk batch received
play / toServer / packet_chunk_batch_received (0x07)

Field NameField TypeNotes
chunksPerTick f32



29
packet ping request
play / toServer / packet_ping_request (0x1d)

Field NameField TypeNotes
id i64



Type
packet
play / toServer / packet

Field NameField TypeNotes
name
varint enum
0teleport confirm
1query block nbt
2set difficulty
3message acknowledgement
4chat command
5chat message
6chat session update
7chunk batch received
8client command
9settings
10tab complete
11configuration acknowledged
12enchant item
13window click
14close window
15custom payload
16edit book
17query entity nbt
18use entity
19generate structure
20keep alive
21lock difficulty
22position
23position look
24look
25flying
26vehicle move
27steer boat
28pick item
29ping request
30craft recipe request
31abilities
32block dig
33entity action
34steer vehicle
35pong
36recipe book
37displayed recipe
38name item
39resource pack receive
40advancement tab
41select trade
42set beacon effect
43held item slot
44update command block
45update command block minecart
46set creative slot
47update jigsaw block
48update structure block
49update sign
50arm animation
51spectate
52block place
53use item
params

if name
is teleport confirm packet_teleport_confirm
is query block nbt packet_query_block_nbt
is set difficulty packet_set_difficulty
is message acknowledgement packet_message_acknowledgement
is chat command packet_chat_command
is chat message packet_chat_message
is client command packet_client_command
is settings packet_settings
is tab complete packet_tab_complete
is enchant item packet_enchant_item
is window click packet_window_click
is close window packet_close_window
is custom payload packet_custom_payload
is edit book packet_edit_book
is query entity nbt packet_query_entity_nbt
is use entity packet_use_entity
is generate structure packet_generate_structure
is keep alive packet_keep_alive
is lock difficulty packet_lock_difficulty
is position packet_position
is position look packet_position_look
is look packet_look
is flying packet_flying
is vehicle move packet_vehicle_move
is steer boat packet_steer_boat
is pick item packet_pick_item
is craft recipe request packet_craft_recipe_request
is abilities packet_abilities
is block dig packet_block_dig
is entity action packet_entity_action
is steer vehicle packet_steer_vehicle
is pong packet_pong
is chat session update packet_chat_session_update
is recipe book packet_recipe_book
is displayed recipe packet_displayed_recipe
is name item packet_name_item
is resource pack receive packet_resource_pack_receive
is advancement tab packet_advancement_tab
is select trade packet_select_trade
is set beacon effect packet_set_beacon_effect
is held item slot packet_held_item_slot
is update command block packet_update_command_block
is update command block minecart packet_update_command_block_minecart
is set creative slot packet_set_creative_slot
is update jigsaw block packet_update_jigsaw_block
is update structure block packet_update_structure_block
is update sign packet_update_sign
is arm animation packet_arm_animation
is spectate packet_spectate
is block place packet_block_place
is use item packet_use_item
is chunk batch received packet_chunk_batch_received
is configuration acknowledged packet_configuration_acknowledged
is ping request packet_ping_request