Table of Contents

KeyName
Typeslot
Typeparticle
TypeparticleData
Typeingredient
TypeentityMetadataItem
Typecommand_node


Type
slot
Datatype

Field NameField TypeNotes
present bool
🔁

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



Type
particle
Datatype

Field NameField TypeNotes
particleId varint



Type
particleData
Datatype

Field NameField TypeNotes
particleData

if compareTo
is 3
blockState varint
is 11
red f32
green f32
blue f32
scale f32
is 20
blockState varint
is 27
item slot
default void




Field NameField TypeNotes
entityMetadataItem

if compareTo
is 0 i8
is 1 varint
is 2 f32
is 3 string
is 4 string
is 6 slot
is 7 bool
is 8
pitch f32
yaw f32
roll f32
is 9 position
is 11 varint
is 13 varint
is 14 nbt
is 15 particle



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 string
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:mob effect void
is minecraft:function void
is minecraft:entity anchor void
is minecraft:range
allowDecimals bool
is minecraft:int range void
is minecraft:float range void
is minecraft:item enchantment void
is minecraft:entity summon void
is minecraft:dimension void
is minecraft:nbt compound tag void
is minecraft:time void
is minecraft:resource or tag
registry string
is minecraft:resource
registry string
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 string
username 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


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



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
params

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



Table of Contents

KeyName
Typepacket_spawn_entity
0x1packet_spawn_entity_experience_orb
0x2packet_spawn_entity_weather
0x3packet_spawn_entity_living
0x4packet_spawn_entity_painting
0x5packet_named_entity_spawn
0x6packet_animation
0x7packet_statistics
0x51packet_advancements
0x8packet_block_break_animation
0x9packet_tile_entity_data
0xapacket_block_action
0xbpacket_block_change
0xcpacket_boss_bar
0xdpacket_difficulty
0x10packet_tab_complete
0x11packet_declare_commands
0x31packet_face_player
0x1dpacket_nbt_query_response
0xepacket_chat
0xfpacket_multi_block_change
0x12packet_transaction
0x13packet_close_window
0x14packet_open_window
0x15packet_window_items
0x16packet_craft_progress_bar
0x17packet_set_slot
0x18packet_set_cooldown
0x19packet_custom_payload
0x1apacket_named_sound_effect
0x1bpacket_kick_disconnect
0x1cpacket_entity_status
0x1epacket_explosion
0x1fpacket_unload_chunk
0x20packet_game_state_change
0x21packet_keep_alive
0x22packet_map_chunk
0x23packet_world_event
0x24packet_world_particles
0x25packet_login
0x26packet_map
0x28packet_rel_entity_move
0x29packet_entity_move_look
0x2apacket_entity_look
0x27packet_entity
0x2bpacket_vehicle_move
0x2cpacket_open_sign_entity
0x2dpacket_craft_recipe_response
0x2epacket_abilities
0x2fpacket_combat_event
0x30packet_player_info
0x32packet_position
0x33packet_bed
0x34packet_unlock_recipes
0x35packet_entity_destroy
0x36packet_remove_entity_effect
0x37packet_resource_pack_send
0x38packet_respawn
0x39packet_entity_head_rotation
0x3bpacket_world_border
0x3cpacket_camera
0x3dpacket_held_item_slot
0x3epacket_scoreboard_display_objective
0x3fpacket_entity_metadata
0x40packet_attach_entity
0x41packet_entity_velocity
0x42packet_entity_equipment
0x43packet_experience
0x44packet_update_health
0x45packet_scoreboard_objective
0x46packet_set_passengers
0x47packet_teams
0x48packet_scoreboard_score
0x49packet_spawn_position
0x4apacket_update_time
0x4bpacket_title
0x4cpacket_stop_sound
0x4dpacket_sound_effect
0x4epacket_playerlist_header
0x4fpacket_collect
0x50packet_entity_teleport
0x52packet_entity_update_attributes
0x53packet_entity_effect
0x3apacket_select_advancement_tab
0x54packet_declare_recipes
Typetags
0x55packet_tags
Typepacket


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

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



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

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



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

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



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

Field NameField TypeNotes
entityId varint
entityUUID UUID
type varint
x f64
y f64
z f64
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
entityUUID UUID
title varint
location position
direction u8



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

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



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

Field NameField TypeNotes
entityId varint
animation u8



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

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



81
packet advancements
play / toClient / packet_advancements (0x51)

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
criteria lengthvarint
criteria
array
key string
value void
requirements lengthvarint
requirements
array
__609 lengthvarint
__609
array
string
identifiers lengthvarint
identifiers
array
string
progressMapping lengthvarint
progressMapping
array
key string
value lengthvarint
value
array
criterionIdentifier string
criterionProgress
optional
i64



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

Field NameField TypeNotes
entityId varint
location position
destroyStage i8



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

Field NameField TypeNotes
location position
action u8
nbtData optionalNbt



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

Field NameField TypeNotes
location position
byte1 u8
byte2 u8
blockId varint



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

Field NameField TypeNotes
location position
type varint



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



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

Field NameField TypeNotes
difficulty u8



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



49
packet face player
play / toClient / packet_face_player (0x31)

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



29
packet nbt query response
play / toClient / packet_nbt_query_response (0x1d)

Field NameField TypeNotes
transactionId varint
nbt optionalNbt



14
packet chat
play / toClient / packet_chat (0x0e)

Field NameField TypeNotes
message string
position i8



15
packet multi block change
play / toClient / packet_multi_block_change (0x0f)

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



18
packet transaction
play / toClient / packet_transaction (0x12)

Field NameField TypeNotes
windowId i8
action i16
accepted bool



19
packet close window
play / toClient / packet_close_window (0x13)

Field NameField TypeNotes
windowId u8



20
packet open window
play / toClient / packet_open_window (0x14)

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

if inventoryType
is EntityHorse i32
default void



21
packet window items
play / toClient / packet_window_items (0x15)

Field NameField TypeNotes
windowId u8
items lengthi16
items
array
slot



22
packet craft progress bar
play / toClient / packet_craft_progress_bar (0x16)

Field NameField TypeNotes
windowId u8
property i16
value i16



23
packet set slot
play / toClient / packet_set_slot (0x17)

Field NameField TypeNotes
windowId i8
slot i16
item slot



24
packet set cooldown
play / toClient / packet_set_cooldown (0x18)

Field NameField TypeNotes
itemID varint
cooldownTicks varint



25
packet custom payload
play / toClient / packet_custom_payload (0x19)

Field NameField TypeNotes
channel string
data restBuffer



26
packet named sound effect
play / toClient / packet_named_sound_effect (0x1a)

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



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

Field NameField TypeNotes
reason string



28
packet entity status
play / toClient / packet_entity_status (0x1c)

Field NameField TypeNotes
entityId i32
entityStatus i8



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

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



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

Field NameField TypeNotes
chunkX i32
chunkZ i32



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

Field NameField TypeNotes
reason u8
gameMode f32



33
packet keep alive
play / toClient / packet_keep_alive (0x21)

Field NameField TypeNotes
keepAliveId i64



34
packet map chunk
play / toClient / packet_map_chunk (0x22)

Field NameField TypeNotes
x i32
z i32
groundUp bool
bitMap varint
blockEntities lengthvarint
blockEntities
array
nbt



35
packet world event
play / toClient / packet_world_event (0x23)

Field NameField TypeNotes
effectId i32
location position
data i32
global bool



36
packet world particles
play / toClient / packet_world_particles (0x24)

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



37
packet login
play / toClient / packet_login (0x25)

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



38
packet map
play / toClient / packet_map (0x26)

Field NameField TypeNotes
itemDamage varint
scale i8
trackingPosition bool
icons lengthvarint
icons
array
type varint
x i8
z i8
direction u8
displayName
optional
string
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



40
packet rel entity move
play / toClient / packet_rel_entity_move (0x28)

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



41
packet entity move look
play / toClient / packet_entity_move_look (0x29)

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



42
packet entity look
play / toClient / packet_entity_look (0x2a)

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



39
packet entity
play / toClient / packet_entity (0x27)

Field NameField TypeNotes
entityId varint



43
packet vehicle move
play / toClient / packet_vehicle_move (0x2b)

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



44
packet open sign entity
play / toClient / packet_open_sign_entity (0x2c)

Field NameField TypeNotes
location position



45
packet craft recipe response
play / toClient / packet_craft_recipe_response (0x2d)

Field NameField TypeNotes
windowId i8
recipe string



46
packet abilities
play / toClient / packet_abilities (0x2e)

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



47
packet combat event
play / toClient / packet_combat_event (0x2f)

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



48
packet player info
play / toClient / packet_player_info (0x30)

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



50
packet position
play / toClient / packet_position (0x32)

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



51
packet bed
play / toClient / packet_bed (0x33)

Field NameField TypeNotes
entityId varint
location position



52
packet unlock recipes
play / toClient / packet_unlock_recipes (0x34)

Field NameField TypeNotes
action varint
craftingBookOpen bool
filteringCraftable bool
smeltingBookOpen bool
filteringSmeltable bool
recipes1 lengthvarint
recipes1
array
string
recipes2

if action
is 0 lengthvarint
is 0
array
string
default void



53
packet entity destroy
play / toClient / packet_entity_destroy (0x35)

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



54
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x36)

Field NameField TypeNotes
entityId varint
effectId i8



55
packet resource pack send
play / toClient / packet_resource_pack_send (0x37)

Field NameField TypeNotes
url string
hash string



56
packet respawn
play / toClient / packet_respawn (0x38)

Field NameField TypeNotes
dimension i32
difficulty u8
gamemode u8
levelType string



57
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x39)

Field NameField TypeNotes
entityId varint
headYaw i8



59
packet world border
play / toClient / packet_world_border (0x3b)

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



60
packet camera
play / toClient / packet_camera (0x3c)

Field NameField TypeNotes
cameraId varint



61
packet held item slot
play / toClient / packet_held_item_slot (0x3d)

Field NameField TypeNotes
slot i8



62
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x3e)

Field NameField TypeNotes
position i8
name string



63
packet entity metadata
play / toClient / packet_entity_metadata (0x3f)

Field NameField TypeNotes
entityId varint
metadata entityMetadata



64
packet attach entity
play / toClient / packet_attach_entity (0x40)

Field NameField TypeNotes
entityId i32
vehicleId i32



65
packet entity velocity
play / toClient / packet_entity_velocity (0x41)

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



66
packet entity equipment
play / toClient / packet_entity_equipment (0x42)

Field NameField TypeNotes
entityId varint
slot varint
item slot



67
packet experience
play / toClient / packet_experience (0x43)

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



68
packet update health
play / toClient / packet_update_health (0x44)

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



69
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x45)

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



70
packet set passengers
play / toClient / packet_set_passengers (0x46)

Field NameField TypeNotes
entityId varint
passengers lengthvarint
passengers
array
varint



71
packet teams
play / toClient / packet_teams (0x47)

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



72
packet scoreboard score
play / toClient / packet_scoreboard_score (0x48)

Field NameField TypeNotes
itemName string
action varint
scoreName string
value

if action
is 1 void
default varint



73
packet spawn position
play / toClient / packet_spawn_position (0x49)

Field NameField TypeNotes
location position



74
packet update time
play / toClient / packet_update_time (0x4a)

Field NameField TypeNotes
age i64
time i64



75
packet title
play / toClient / packet_title (0x4b)

Field NameField TypeNotes
action varint
text

if action
is 0 string
is 1 string
is 2 string
default void
fadeIn

if action
is 3 i32
default void
stay

if action
is 3 i32
default void
fadeOut

if action
is 3 i32
default void



76
packet stop sound
play / toClient / packet_stop_sound (0x4c)

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



77
packet sound effect
play / toClient / packet_sound_effect (0x4d)

Field NameField TypeNotes
soundId varint
soundCategory varint
x i32
y i32
z i32
volume f32
pitch f32



78
packet playerlist header
play / toClient / packet_playerlist_header (0x4e)

Field NameField TypeNotes
header string
footer string



79
packet collect
play / toClient / packet_collect (0x4f)

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint
pickupItemCount varint



80
packet entity teleport
play / toClient / packet_entity_teleport (0x50)

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



82
packet entity update attributes
play / toClient / packet_entity_update_attributes (0x52)

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



83
packet entity effect
play / toClient / packet_entity_effect (0x53)

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



58
packet select advancement tab
play / toClient / packet_select_advancement_tab (0x3a)

Field NameField TypeNotes
id
optional
string



84
packet declare recipes
play / toClient / packet_declare_recipes (0x54)

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

if type
is crafting shapeless
group string
ingredients lengthvarint
ingredients
array
ingredient
result slot
is crafting shaped
width varint
height varint
group string
Length for ingredients below is width from above
ingredients
array
Length for __1153 below is height from above
__1153
array
ingredient
result slot
is crafting special armordye void
is crafting special bookcloning void
is crafting special mapcloning void
is crafting special mapextending void
is crafting special firework rocket void
is crafting special firework star void
is crafting special firework star fade void
is crafting special repairitem void
is crafting special tippedarrow void
is crafting special bannerduplicate void
is crafting special banneraddpattern void
is crafting special shielddecoration void
is crafting special shulkerboxcoloring void
is smelting
group string
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



85
packet tags
play / toClient / packet_tags (0x55)

Field NameField TypeNotes
blockTags tags
itemTags tags
fluidTags tags



Type
packet
play / toClient / packet

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

if name
is spawn entity packet_spawn_entity
is spawn entity experience orb packet_spawn_entity_experience_orb
is spawn entity weather packet_spawn_entity_weather
is spawn entity living packet_spawn_entity_living
is spawn entity painting packet_spawn_entity_painting
is named entity spawn packet_named_entity_spawn
is animation packet_animation
is statistics packet_statistics
is advancements packet_advancements
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 tab complete packet_tab_complete
is declare commands packet_declare_commands
is face player packet_face_player
is nbt query response packet_nbt_query_response
is chat packet_chat
is multi block change packet_multi_block_change
is transaction packet_transaction
is close window packet_close_window
is open window packet_open_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 custom payload packet_custom_payload
is named sound effect packet_named_sound_effect
is kick disconnect packet_kick_disconnect
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 keep alive packet_keep_alive
is map chunk packet_map_chunk
is world event packet_world_event
is world particles packet_world_particles
is login packet_login
is map packet_map
is rel entity move packet_rel_entity_move
is entity move look packet_entity_move_look
is entity look packet_entity_look
is entity packet_entity
is vehicle move packet_vehicle_move
is open sign entity packet_open_sign_entity
is craft recipe response packet_craft_recipe_response
is abilities packet_abilities
is combat event packet_combat_event
is player info packet_player_info
is position packet_position
is bed packet_bed
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 update attributes packet_entity_update_attributes
is world border packet_world_border
is camera packet_camera
is held item slot packet_held_item_slot
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 spawn position packet_spawn_position
is update time packet_update_time
is title packet_title
is stop sound packet_stop_sound
is sound effect packet_sound_effect
is playerlist header packet_playerlist_header
is collect packet_collect
is entity teleport packet_entity_teleport
is entity head rotation packet_entity_head_rotation
is entity effect packet_entity_effect
is select advancement tab packet_select_advancement_tab
is declare recipes packet_declare_recipes
is tags packet_tags



Table of Contents

KeyName
Typepacket_teleport_confirm
0x1packet_query_block_nbt
0xbpacket_edit_book
0xcpacket_query_entity_nbt
0x15packet_pick_item
0x1cpacket_name_item
0x1fpacket_select_trade
0x20packet_set_beacon_effect
0x22packet_update_command_block
0x23packet_update_command_block_minecart
0x25packet_update_structure_block
0x5packet_tab_complete
0x2packet_chat
0x3packet_client_command
0x4packet_settings
0x6packet_transaction
0x7packet_enchant_item
0x8packet_window_click
0x9packet_close_window
0xapacket_custom_payload
0xdpacket_use_entity
0xepacket_keep_alive
0x10packet_position
0x11packet_position_look
0x12packet_look
0xfpacket_flying
0x13packet_vehicle_move
0x14packet_steer_boat
0x16packet_craft_recipe_request
0x17packet_abilities
0x18packet_block_dig
0x19packet_entity_action
0x1apacket_steer_vehicle
0x1bpacket_crafting_book_data
0x1dpacket_resource_pack_receive
0x21packet_held_item_slot
0x24packet_set_creative_slot
0x26packet_update_sign
0x27packet_arm_animation
0x28packet_spectate
0x29packet_block_place
0x2apacket_use_item
0x1epacket_advancement_tab
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



11
packet edit book
play / toServer / packet_edit_book (0x0b)

Field NameField TypeNotes
new book slot
signing bool
hand varint



12
packet query entity nbt
play / toServer / packet_query_entity_nbt (0x0c)

Field NameField TypeNotes
transactionId varint
entityId varint



21
packet pick item
play / toServer / packet_pick_item (0x15)

Field NameField TypeNotes
slot varint



28
packet name item
play / toServer / packet_name_item (0x1c)

Field NameField TypeNotes
name string



31
packet select trade
play / toServer / packet_select_trade (0x1f)

Field NameField TypeNotes
slot varint



32
packet set beacon effect
play / toServer / packet_set_beacon_effect (0x20)

Field NameField TypeNotes
primary effect varint
secondary effect varint



34
packet update command block
play / toServer / packet_update_command_block (0x22)

Field NameField TypeNotes
location position
command string
mode varint
flags u8



35
packet update command block minecart
play / toServer / packet_update_command_block_minecart (0x23)

Field NameField TypeNotes
entityId varint
command string
track output bool



37
packet update structure block
play / toServer / packet_update_structure_block (0x25)

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 varlong
flags u8



5
packet tab complete
play / toServer / packet_tab_complete (0x05)

Field NameField TypeNotes
transactionId varint
text string



2
packet chat
play / toServer / packet_chat (0x02)

Field NameField TypeNotes
message string



3
packet client command
play / toServer / packet_client_command (0x03)

Field NameField TypeNotes
actionId varint



4
packet settings
play / toServer / packet_settings (0x04)

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



6
packet transaction
play / toServer / packet_transaction (0x06)

Field NameField TypeNotes
windowId i8
action i16
accepted bool



7
packet enchant item
play / toServer / packet_enchant_item (0x07)

Field NameField TypeNotes
windowId i8
enchantment i8



8
packet window click
play / toServer / packet_window_click (0x08)

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



9
packet close window
play / toServer / packet_close_window (0x09)

Field NameField TypeNotes
windowId u8



10
packet custom payload
play / toServer / packet_custom_payload (0x0a)

Field NameField TypeNotes
channel string
data restBuffer



13
packet use entity
play / toServer / packet_use_entity (0x0d)

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 keep alive
play / toServer / packet_keep_alive (0x0e)

Field NameField TypeNotes
keepAliveId i64



16
packet position
play / toServer / packet_position (0x10)

Field NameField TypeNotes
x f64
y f64
z f64
onGround bool



17
packet position look
play / toServer / packet_position_look (0x11)

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



18
packet look
play / toServer / packet_look (0x12)

Field NameField TypeNotes
yaw f32
pitch f32
onGround bool



15
packet flying
play / toServer / packet_flying (0x0f)

Field NameField TypeNotes
onGround bool



19
packet vehicle move
play / toServer / packet_vehicle_move (0x13)

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



20
packet steer boat
play / toServer / packet_steer_boat (0x14)

Field NameField TypeNotes
leftPaddle bool
rightPaddle bool



22
packet craft recipe request
play / toServer / packet_craft_recipe_request (0x16)

Field NameField TypeNotes
windowId i8
recipe string
makeAll bool



23
packet abilities
play / toServer / packet_abilities (0x17)

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



24
packet block dig
play / toServer / packet_block_dig (0x18)

Field NameField TypeNotes
status varint
location position
face i8



25
packet entity action
play / toServer / packet_entity_action (0x19)

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



26
packet steer vehicle
play / toServer / packet_steer_vehicle (0x1a)

Field NameField TypeNotes
sideways f32
forward f32
jump u8



27
packet crafting book data
play / toServer / packet_crafting_book_data (0x1b)

Field NameField TypeNotes
type varint
🔁

if type
is 0
displayedRecipe string
is 1
craftingBookOpen bool
craftingFilter bool
smeltingBookOpen bool
smeltingFilter bool



29
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x1d)

Field NameField TypeNotes
result varint



33
packet held item slot
play / toServer / packet_held_item_slot (0x21)

Field NameField TypeNotes
slotId i16



36
packet set creative slot
play / toServer / packet_set_creative_slot (0x24)

Field NameField TypeNotes
slot i16
item slot



38
packet update sign
play / toServer / packet_update_sign (0x26)

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



39
packet arm animation
play / toServer / packet_arm_animation (0x27)

Field NameField TypeNotes
hand varint



40
packet spectate
play / toServer / packet_spectate (0x28)

Field NameField TypeNotes
target UUID



41
packet block place
play / toServer / packet_block_place (0x29)

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



42
packet use item
play / toServer / packet_use_item (0x2a)

Field NameField TypeNotes
hand varint



30
packet advancement tab
play / toServer / packet_advancement_tab (0x1e)

Field NameField TypeNotes
action varint
tabId

if action
is 0 string
is 1 void



Type
packet
play / toServer / packet

Field NameField TypeNotes
name
varint enum
0teleport confirm
1query block nbt
2chat
3client command
4settings
5tab complete
6transaction
7enchant item
8window click
9close window
10custom payload
11edit book
12query entity nbt
13use entity
14keep alive
15flying
16position
17position look
18look
19vehicle move
20steer boat
21pick item
22craft recipe request
23abilities
24block dig
25entity action
26steer vehicle
27crafting book data
28name item
29resource pack receive
30advancement tab
31select trade
32set beacon effect
33held item slot
34update command block
35update command block minecart
36set creative slot
37update structure block
38update sign
39arm animation
40spectate
41block place
42use item
params

if name
is teleport confirm packet_teleport_confirm
is query block nbt packet_query_block_nbt
is edit book packet_edit_book
is query entity nbt packet_query_entity_nbt
is pick item packet_pick_item
is name item packet_name_item
is select trade packet_select_trade
is set beacon effect packet_set_beacon_effect
is update command block packet_update_command_block
is update command block minecart packet_update_command_block_minecart
is update structure block packet_update_structure_block
is tab complete packet_tab_complete
is chat packet_chat
is client command packet_client_command
is settings packet_settings
is transaction packet_transaction
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 use entity packet_use_entity
is keep alive packet_keep_alive
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 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 crafting book data packet_crafting_book_data
is resource pack receive packet_resource_pack_receive
is held item slot packet_held_item_slot
is set creative slot packet_set_creative_slot
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 advancement tab packet_advancement_tab