Table of Contents

KeyName
Typevec2f
Typevec3f
Typevec4f
Typevec3f64
TypeSoundEvent
TypeRecipeDisplay
TypeSlotDisplay
TypeSlotComponentType
TypeSlotComponent
TypeSlot
TypeFireworkExplosion
TypeBookPage
TypeEffectDetail
TypePotionEffect
TypeConsumeEffect
TypeBlockProperty
TypeBlockPredicate
TypeParticle
Typeingredient
TypesoundSource
TypepackedChunkPos
TypepreviousMessages
TypeentityMetadataEntry
TypeEntityMetadataPaintingVariant
TypeEntityMetadataWolfVariant
Typetags
TypechunkBlockEntity
Typechat_session?
Typegame_profile
Typecommand_node
Typepacket_common_cookie_request
Typepacket_common_store_cookie
Typepacket_common_transfer
Typepacket_common_cookie_response
Typepacket_common_select_known_packs
Typepacket_common_custom_report_details
Typepacket_common_remove_resource_pack
Typepacket_common_add_resource_pack
TypeServerLinkType
Typepacket_common_server_links


Type
vec2f
Datatype

Field NameField TypeNotes
x f32
y f32



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
SoundEvent
Datatype

Field NameField TypeNotes
soundName string
fixedRange
optional
f32




Field NameField TypeNotes
type
varint enum
0crafting shapeless
1crafting shaped
2furnace
3stonecutter
4smithing
data

if type
is crafting shapeless
ingredients lengthvarint
ingredients
array
SlotDisplay
result SlotDisplay
craftingStation SlotDisplay
is crafting shaped
width varint
height varint
ingredients lengthvarint
ingredients
array
SlotDisplay
result SlotDisplay
craftingStation SlotDisplay
is furnace
ingredient SlotDisplay
fuel SlotDisplay
result SlotDisplay
craftingStation SlotDisplay
duration varint
experience f32
is stonecutter
ingredient SlotDisplay
result SlotDisplay
craftingStation SlotDisplay
is smithing
template SlotDisplay
base SlotDisplay
addition SlotDisplay
result SlotDisplay
craftingStation SlotDisplay



Type
SlotDisplay
Datatype

Field NameField TypeNotes
type
varint enum
0empty
1any fuel
2item
3item stack
4tag
5smithing trim
6with remainder
7composite
data

if type
is empty or any fuel void
is item varint
is item stack Slot
is tag string
is simthing trim
base SlotDisplay
material SlotDisplay
pattern SlotDisplay
is with remainder
input SlotDisplay
remainder SlotDisplay
is composite lengthvarint
is composite
array
SlotDisplay




Field NameField TypeNotes
SlotComponentType
varint enum
0custom data
1max stack size
2max damage
3damage
4unbreakable
5custom name
6item name
7item model
8lore
9rarity
10enchantments
11can place on
12can break
13attribute modifiers
14custom model data
15hide additional tooltip
16hide tooltip
17repair cost
18creative slot lock
19enchantment glint override
20intangible projectile
21food
22consumable
23use remainder
24use cooldown
25damage resistant
26tool
27enchantable
28equippable
29repairable
30glider
31tooltip style
32death protection
33stored enchantments
34dyed color
35map color
36map id
37map decorations
38map post processing
39charged projectiles
40bundle contents
41potion contents
42suspicious stew effects
43writable book content
44written book content
45trim
46debug stick state
47entity data
48bucket entity data
49block entity data
50instrument
51ominous bottle amplifier
52jukebox playable
53recipes
54lodestone tracker
55firework explosion
56fireworks
57profile
58note block sound
59banner patterns
60base color
61pot decorations
62container
63block state
64bees
65lock
66container loot




Field NameField TypeNotes
type SlotComponentType
data

if type
is custom data anonymousNbt
is max stack size varint
is max damage varint
is damage varint
is unbreakable bool
is custom name anonymousNbt
is item name anonymousNbt
is item model string
is lore lengthvarint
is lore
array
anonOptionalNbt
is rarity
varint enum
0common
1uncommon
2rare
3epic
is enchantments
enchantments lengthvarint
enchantments
array
id varint
level varint
showTooltip bool
is can place on or can break
predicates lengthvarint
predicates
array
BlockPredicate
showTooltip bool
is attribute modifiers
attributes lengthvarint
attributes
array
typeId varint
name string
value f64
operation
varint enum
0add
1multiply base
2multiply total
slot
varint enum
0any
1main hand
2off hand
3hand
4feet
5legs
6chest
7head
8armor
9body
showTooltip bool
is custom model data varint
is hide additional tooltip void
is hide tooltip void
is repair cost varint
is creative slot lock void
is enchantment glint override bool
is intangible projectile void
is food
nutrition varint
saturationModifier f32

How much saturation will be given after consuming the item.

canAlwaysEat bool

Whether the item can always be eaten, even at full hunger.

is consumable
consume seconds f32
animation
varint enum
0none
1eat
2drink
3block
4bow
5spear
6crossbow
7spyglass
8toot horn
9brush
makes particles bool
effects lengthvarint
effects
array
ConsumeEffect
is use remainder Slot
is use cooldown
seconds f32
cooldownGroup
optional
string
is damage resistant string
is tool
rules lengthvarint
rules
array
blocks IDSet
speed
optional
f32

The speed at which the tool breaks this rules' blocks.

correctDropForBlocks
optional
bool

Whether items should drop only if this is the correct tool.

defaultMiningSpeed f32

The mining speed in case none of the previous rule were matched.

damagePerBlock varint
is enchantable varint

Enchantment cost up to which the item can be enchanted

is equippable
slot
varint enum
0main hand
1off hand
2feet
3legs
4chest
5head
6body
model
optional
string
cameraOverlay
optional
string
allowedEntities
optional
IDSet
dispensable bool
swappable bool
damageable bool
is repairable
items IDSet
is tooltip style string
is death protection
effects lengthvarint
effects
array
ConsumeEffect
is stored enchantments
enchantments lengthvarint
enchantments
array
id varint

The ID of the enchantment in the enchantment registry.

level varint
showInTooltip bool

Whether the list of enchantments should be shown on the item's tooltip.

is dyed color
color varint
showTooltip bool
is map color varint
is map id varint
is map decorations anonOptionalNbt
is map post processing varint
is charged projectiles
projectiles lengthvarint
projectiles
array
Slot
is bundle contents
contents lengthvarint
contents
array
Slot
is potion contents
potionId
optional
varint

True if this potion has an ID in the potion registry--it has the default effects associated with the potion type.

customColor
optional
varint

The RGB components of the color, encoded as an integer.

customEffects lengthvarint
customEffects
array
PotionEffect
customName string
is suspicious stew effects
effects lengthvarint

Name Type Description Number Of Effects VarInt Number of elements in the following array. Effect Type ID Array VarInt Enum The ID of the effect in the potion effect type registry. Duration VarInt The duration of the effect.

effects
array
effect varint
duration varint
is writable book content
pages lengthvarint

Name Type Description Number Of Pages VarInt Number of elements in the following array. Page Raw Content Array (100) String (1024) The raw text of the page. Has Filtered Content Boolean
Filtered Content Optional String (1024) The content after passing through chat filters. Only present if Has Filtered Content is true.

pages
array
BookPage
is written book content
rawTitle string

Name Type Description Raw Title String (32) The raw title of the book. Has Filtered Title Boolean
Filtered Title Optional String (32) The title after going through chat filters. Only present if Has Filtered Title is true. Author String
Generation VarInt
Number Of Pages VarInt Number of elements in the following array. Page Raw Content Array (100) TextComponent (1024) The raw text of the page. Has Filtered Content Boolean
Filtered Content Optional Text Component (1024) The content after passing through chat filters. Only present if Has Filtered Content is true. Resolved Boolean Whether entity selectors have already been resolved.

filteredTitle
optional
string
author string
generation varint
pages lengthvarint
pages
array
BookPage
resolved bool

Whether entity selectors have already been resolved.

is trim
materialType varint

Name Type Description Trim Material Type VarInt Identifier used to determine the data that follows. It can be either: 0 - Directly represents a trim material, with the necessary data following. Anything else - References a trim material in its registry, by the ID of Trim Material Type - 1. Asset Name Optional String See Armor Trim Material Registry. Only present if Trim Material Type is 0. Ingredient Optional VarInt See Armor Trim Material Registry. Only present if Trim Material Type is 0. Item Model Index Optional Float See Armor Trim Material Registry. Only present if Trim Material Type is 0. Number of Overrides Optional VarInt See Armor Trim Material Registry. Only present if Trim Material Type is 0. Override Armor Material Type Optional Array VarInt Enum See Armor Trim Material Registry. Only present if Trim Material Type is 0. Overriden Asset Name String See Armor Trim Material Registry. Only present if Trim Material Type is 0. Description Optional Text Component See Armor Trim Material Registry. Only present if Trim Material Type is 0. Trim Pattern Type VarInt Identifier used to determine the data that follows. It can be either: 0 - Directly represents a trim pattern, with the necessary data following. Anything else - References a trim pattern in its registry, by the ID of Trim Pattern Type - 1. Asset Name Optional String See Armor Trim Pattern Registry. Only present if Trim Pattern Type is 0. Template Item Optional VarInt See Armor Trim Pattern Registry. Only present if Trim Pattern Type is 0. Description Optional Text Component See Armor Trim Pattern Registry. Only present if Trim Pattern Type is 0. Decal Optional Boolean See Armor Trim Pattern Registry. Only present if Trim Pattern Type is 0. Show In Tooltip Boolean Whether the trim information should be shown on the item's tooltip. Identifier used to determine the data that follows. It can be either: 0 - Directly represents a trim material, with the necessary data following. Anything else - References a trim material in its registry, by the ID of Trim Material Type - 1.

🔁

if materialType
is 0
assetName string
ingredientId varint
itemModelIndex f32
numberOfOverrides optvarint
override lengthvarint
override
array
armorMaterialType varint
overridenAssetName string
description string
trimPatternType varint
🔁

if trimPatternType
is 0
assetName string
templateItem varint
description string
decal bool
showInTooltip bool
is debug stick state anonymousNbt
is entity data anonymousNbt
is bucket entity data anonymousNbt
is block entity data anonymousNbt
is instrument
instrumentType varint

Name Type Description Instrument Type VarInt Identifier used to determine the data that follows. It can be either: 0 - Directly represents an instrument, with the necessary data following. Anything else - References an instrument in its registry, by the ID of Instrument Type - 1. Sound Event Optional Sound Event The sound to be played. Only present if Instrument Type is 0. Use duration Optional Float The maximum range of the sound. Only present if Instrument Type is 0. Range Optional Float The range of the instrument. Only present if Instrument Type is 0.

🔁

if instrumentType
is 0
soundEvent string
useDuration f32
range f32
is ominous bottle amplifier varint
is jukebox playable
directMode bool

Name Type Description Direct Mode Boolean Whether the jukebox song is specified directly, or just referenced by name. Jukebox Song Name Optional Identifier The name of the jukebox song in its respective registry. Only present if Direct Mode is false. Jukebox Song Type Optional VarInt Identifier used to determine the data that follows. It can be either: 0 - Directly represents a jukebox song, with the necessary data following. Anything else - References a jukebox song in its registry, by the ID of Jukebox Song Type - 1. Only present if Direct Mode is true.
Sound Event Optional Sound Event The sound to be played. Only present if Direct Mode is true and Jukebox Song Type is 0. Description Optional Text Component The description shown in the item lore. Only present if Direct Mode is true and Jukebox Song Type is 0. Duration Optional Float The duration the songs should play for, in seconds. Only present if Direct Mode is true and Jukebox Song Type is 0. Output Optional VarInt The output strength given by a comparator. Between 0 and 15. Only present if Direct Mode is true and Jukebox Song Type is 0. Show In Tooltip Boolean Whether the song should be shown on the item's tooltip.

🔁

if directMode
is true
jukeboxSongName string
jukeboxSongType varint
🔁

if jukeboxSongType
is 0
soundEvent
soundEventType varint
🔁

if soundEventType
is 0
soundName string
fixedRange
optional
f32
description anonymousNbt
duration f32
output varint
is false
songLocation string
showInTooltip bool
is recipes anonymousNbt
is lodestone tracker
globalPosition
optional
dimension string

Name Type Description Has Global Position Boolean Whether this lodestone points to a position, otherwise it spins randomly. Dimension Identifier The dimension the compass points to. Only present if Has Global Position is true. Position Position The position the compass points to. Only present if Has Global Position is true. Tracked Boolean Whether the component is removed when the associated lodestone is broken.

position position
tracked bool
is firework explosion FireworkExplosion

Name Type Description Shape VarInt Enum Can be one of the following: 0 - Small ball 1 - Large ball 2 - Star 3 - Creeper 4 - Burst Number Of Colors VarInt The number of elements in the following array. Colors Array of Int The RGB components of the color, encoded as an integer. Number Of Fade Colors VarInt The number of elements in the following array. Fade Colors Array of Int The RGB components of the color, encoded as an integer. Has Trail Boolean
Has Twinkle Boolean

is fireworks
flightDuration varint
explosions lengthvarint
explosions
array
FireworkExplosion
is profile
hasName bool

Name Type Description Has Name Boolean
Name Optional String (16) Only present if Has Name is true. Has Unique ID Boolean
Unique ID Optional UUID Only present if Has Unique ID is true. Number of Properties VarInt Number of elements in the following array. Property Name Array String (64)
Value String
Has Signature Boolean
Signature String (1024) Only present if Has Signature is true.

name string
hasUniqueId bool
uniqueId UUID
properties lengthvarint
properties
array
property string
value string
hasSignature bool
signature string
is note block sound string
is banner patterns
layers lengthvarint

Name Type Description Number of Layers VarInt Number of elements in the following array. Layer Pattern Type Array VarInt Identifier used to determine the data that follows. It can be either: 0 - Directly represents a pattern, with the necessary data following. Anything else - References a pattern in its registry, by the ID of Pattern Type - 1. Asset ID Optional Identifier Identifier of the asset. Only present if Pattern Type is 0. Translation Key Optional String Only present if Pattern Type is 0. Color Dye Color See Dye Color.

layers
array
patternType varint
🔁

if patternType
is 0
assetId string
translationKey string
color varint
is base color varint
is pot decorations
decorations lengthvarint

The ID of the items in the item registry.

decorations
array
varint
is container
contents lengthvarint
contents
array
Slot
is block state
properties lengthvarint

Name Type Description Number of Properties VarInt Number of elements in the following array. Property Name Array String
Value String

properties
array
property string
value string
is bees
bees lengthvarint

Name Type Description Number of Bees VarInt Number of elements in the following array. Bee Entity Data Array NBT
Ticks In Hive VarInt
Min Ticks In Hive VarInt

bees
array
nbtData anonymousNbt

Custom data for the entity, always a Compound Tag. Same structure as the minecraft:custom_data component.

ticksInHive varint
minTicksInHive varint
is lock anonymousNbt
is container loot anonymousNbt



Type
Slot
Datatype

Field NameField TypeNotes
itemCount varint
🔁

if itemCount
is 0 void
default
itemId varint
addedComponentCount varint

https://wiki.vg/SlotData#Structuredcomponents

removedComponentCount varint
Length for components below is addedComponentCount from above
components
array
SlotComponent
Length for removeComponents below is removedComponentCount from above
removeComponents
array
type SlotComponentType




Field NameField TypeNotes
shape
varint enum
0small ball
1large ball
2star
3creeper
4burst
colors lengthvarint
colors
array
i32
fadeColors lengthvarint
fadeColors
array
i32
hasTrail bool
hasTwinkle bool



Type
BookPage
Datatype

Field NameField TypeNotes
content string
filteredContent
optional
string



Type
EffectDetail
Datatype

Field NameField TypeNotes
amplifier varint
duration varint
ambient bool
showParticles bool
showIcon bool
hiddenEffect
optional
EffectDetail



Type
PotionEffect
Datatype

Field NameField TypeNotes
id varint
details EffectDetail




Field NameField TypeNotes
type
varint enum
0apply effects
1remove effects
2clear all effects
3teleport randomly
4play sound
🔁

if type
is apply effects
effects lengthvarint
effects
array
PotionEffect
probability f32
is remove effects
effects IDSet
is clear all effects void
is teleport randomly
diameter f32
is play sound




Field NameField TypeNotes
name string

Name of the block state property.

isExactMatch bool

Whether this is an exact value match, as opposed to ranged.

exactValue
optional
string

Value of the block state property. Only present in exact match mode.

minValue
optional
string

Minimum value of the block state property range. Only present in ranged match mode.

maxValue
optional
string

Maximum value of the block state property range. Only present in ranged match mode.





Field NameField TypeNotes
properties lengthvarint
properties
array
BlockProperty
nbt anonOptionalNbt



Type
Particle
Datatype

Field NameField TypeNotes
type
varint enum
0angry villager

See client/net/minecraft/core/particles/ParticleTypes.java

1block
2block marker
3bubble
4cloud
5crit
6damage indicator
7dragon breath
8dripping lava
9falling lava
10landing lava
11dripping water
12falling water
13dust
14dust color transition
15effect
16elder guardian
17enchanted hit
18enchant
19end rod
20entity effect
21explosion emitter
22explosion
23gust
24small gust
25gust emitter large
26gust emitter small
27sonic boom
28falling dust
29firework
30fishing
31flame
32infested
33cherry leaves
34sculk soul
35sculk charge
36sculk charge pop
37soul fire flame
38soul
39flash
40happy villager
41composter
42heart
43instant effect
44item
45vibration
46trail
47item slime
48item cobweb
49item snowball
50large smoke
51lava
52mycelium
53note
54poof
55portal
56rain
57smoke
58white smoke
59sneeze
60spit
61squid ink
62sweep attack
63totem of undying
64underwater
65splash
66witch
67bubble pop
68current down
69bubble column up
70nautilus
71dolphin
72campfire cosy smoke
73campfire signal smoke
74dripping honey
75falling honey
76landing honey
77falling nectar
78falling spore blossom
79ash
80crimson spore
81warped spore
82spore blossom air
83dripping obsidian tear
84falling obsidian tear
85landing obsidian tear
86reverse portal
87white ash
88small flame
89snowflake
90dripping dripstone lava
91falling dripstone lava
92dripping dripstone water
93falling dripstone water
94glow squid ink
95glow
96wax on
97wax off
98electric spark
99scrape
100shriek
101egg crack
102dust plume
103trial spawner detected player
104trial spawner detected player ominous
105vault connection
106dust pillar
107ominous spawning
108raid omen
109trial omen
110block crumble
data

if type
is block or block marker or falling dust or dust pillar or block crumble varint
is dust
red f32
green f32
blue f32
scale f32
is dust color transition
fromRed f32
fromGreen f32
fromBlue f32
scale f32
toRed f32
toGreen f32
toBlue f32
is entity effect i32
is item Slot
is sculk charge f32
is shriek varint
is vibration
position type
varint enum
0block
1entity
position

if position type
is block position
is entity
entityId varint
entity eye height f32
ticks varint
is trail
target vec3f64
color u8



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
key u8
type
varint enum
0byte
1int
2long
3float
4string
5component
6optional component
7item stack
8boolean
9rotations
10block pos
11optional block pos
12direction
13optional uuid
14block state
15optional block state
16compound tag
17particle
18particles
19villager data
20optional unsigned int
21pose
22cat variant
23wolf variant
24frog variant
25optional global pos
26painting variant
27sniffer state
28armadillo state
29vector3
30quaternion
value

if type
is byte i8
is int varint
is long varlong
is float f32
is string string
is component anonymousNbt
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 particles lengthvarint
is particles
array
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 sniffer state varint
is armadillo state varint
is vector3 vec3f
is quaternion vec4f




Field NameField TypeNotes
width i32
height i32
assetId string
title
optional
anonymousNbt
author
optional
anonymousNbt




Field NameField TypeNotes
wildTexture string
tameTexture string
angryTexture string
biome IDSet



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:style
19minecraft:message
20minecraft:nbt
21minecraft:nbt tag
22minecraft:nbt path
23minecraft:objective
24minecraft:objective criteria
25minecraft:operation
26minecraft:particle
27minecraft:angle
28minecraft:rotation
29minecraft:scoreboard slot
30minecraft:score holder
31minecraft:swizzle
32minecraft:team
33minecraft:item slot
34minecraft:item slots
35minecraft:resource location
36minecraft:function
37minecraft:entity anchor
38minecraft:int range
39minecraft:float range
40minecraft:dimension
41minecraft:gamemode
42minecraft:time
43minecraft:resource or tag
44minecraft:resource or tag key
45minecraft:resource
46minecraft:resource key
47minecraft:template mirror
48minecraft:template rotation
49minecraft:heightmap
50minecraft:loot table
51minecraft:loot predicate
52minecraft:loot modifier
53minecraft: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



Shared Packets

These are packets that are shared between multiple states. They are defined here to avoid duplication.


MC: ClientboundCookieRequestPacket

Field NameField TypeNotes
cookie string




MC: ClientboundStoreCookiePacket

Field NameField TypeNotes
key string
value ByteArray




MC: ClientboundTransferPacket

Field NameField TypeNotes
host string
port varint




MC: ServerboundCookieResponsePacket

Field NameField TypeNotes
key string
value ByteArray




MC: ServerboundSelectKnownPacks MC: ClientboundSelectKnownPacks

Field NameField TypeNotes
packs lengthvarint
packs
array
namespace string
id string
version string




MC: ClientboundCustomReportDetailsPacket

Field NameField TypeNotes
details lengthvarint
details
array
key string
value string




MC: ClientboundResourcePackPopPacket

Field NameField TypeNotes
uuid
optional
UUID




MC: ClientboundResourcePackPushPacket

Field NameField TypeNotes
uuid UUID
url string
hash string
forced bool
promptMessage
optional
anonymousNbt




Field NameField TypeNotes
ServerLinkType
varint enum
0bug report
1community guidelines
2support
3status
4feedback
5community
6website
7forums
8news
9announcements




MC: ClientboundServerLinksPacket This packet contains a list of links that the Notchian client will display in the menu available from the pause menu. Link labels can be built-in or custom (i.e., any text).

Field NameField TypeNotes
links lengthvarint
links
array
hasKnownType bool
knownType

if hasKnownType
is true ServerLinkType
unknownType

if hasKnownType
is false anonymousNbt
link string



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)

MC: ClientboundStatusResponsePacket

Field NameField TypeNotes
response string



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

MC: ClientboundPongResponsePacket

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


0
packet ping start
status / toServer / packet_ping_start (0x00)

MC: ServerboundStatusRequestPacket

Field NameField TypeNotes



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

Empty MC: ServerboundPingRequestPacket

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)

MC: ClientboundLoginDisconnectPacket

Field NameField TypeNotes
reason string



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

MC: ClientboundHelloPacket

Field NameField TypeNotes
serverId string
shouldAuthenticate bool



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

MC: ClientboundLoginFinishedPacket

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)

MC: ClientboundLoginCompressionPacket

Field NameField TypeNotes
threshold varint



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

MC: ClientboundCustomQueryPacket

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
5cookie 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
is cookie request packet_common_cookie_request



Table of Contents

KeyName
Typepacket_login_start
0x1packet_encryption_begin
0x2packet_login_plugin_response
0x3packet_login_acknowledged
Typepacket


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

MC: ServerboundHelloPacket

Field NameField TypeNotes
username string
playerUUID UUID



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

MC: ServerboundKeyPacket

Field NameField TypeNotes



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

MC: ServerboundCustomQueryAnswerPacket

Field NameField TypeNotes
messageId varint
data
optional
restBuffer



3
packet login acknowledged
login / toServer / packet_login_acknowledged (0x03)

MC: ServerboundLoginAcknowledgedPacket

Field NameField TypeNotes



Type
packet
login / toServer / packet

Empty

Field NameField TypeNotes
name
varint enum
0login start
1encryption begin
2login plugin response
3login acknowledged
4cookie response
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
is cookie response packet_common_cookie_response



Table of Contents

KeyName
0x1packet_custom_payload
0x2packet_disconnect
0x3packet_finish_configuration
0x4packet_keep_alive
0x5packet_ping
0x6packet_reset_chat
0x7packet_registry_data
0xcpacket_feature_flags
0xdpacket_tags
Typepacket


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

MC: ClientboundCustomPayloadPacket

Field NameField TypeNotes
channel string
data restBuffer



2
packet disconnect
configuration / toClient / packet_disconnect (0x02)

MC: ClientboundDisconnectPacket

Field NameField TypeNotes
reason anonymousNbt



3
packet finish configuration
configuration / toClient / packet_finish_configuration (0x03)

MC: ClientboundFinishConfigurationPacket

Field NameField TypeNotes



4
packet keep alive
configuration / toClient / packet_keep_alive (0x04)

Empty MC: ClientboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



5
packet ping
configuration / toClient / packet_ping (0x05)

MC: ClientboundPingPacket

Field NameField TypeNotes
id i32



6
packet reset chat
configuration / toClient / packet_reset_chat (0x06)

MC: ClientboundResetChatPacket

Field NameField TypeNotes



7
packet registry data
configuration / toClient / packet_registry_data (0x07)

Empty MC: ClientboundRegistryDataPacket

Field NameField TypeNotes
id string

The server can send multiple registries

entries lengthvarint
entries
array
key string
value
optional
anonymousNbt



12
packet feature flags
configuration / toClient / packet_feature_flags (0x0c)

MC: ClientboundUpdateEnabledFeaturesPacket

Field NameField TypeNotes
features lengthvarint
features
array
string



13
packet tags
configuration / toClient / packet_tags (0x0d)

MC: ClientboundUpdateTagsPacket

Field NameField TypeNotes
tags lengthvarint
tags
array
tagType string
tags tags



Type
packet
configuration / toClient / packet

Field NameField TypeNotes
name
varint enum
0cookie request
1custom payload
2disconnect
3finish configuration
4keep alive
5ping
6reset chat
7registry data
8remove resource pack
9add resource pack
10store cookie
11transfer
12feature flags
13tags
14select known packs
15custom report details
16server links
params

if name
is cookie request packet_common_cookie_request
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 reset chat packet_reset_chat
is registry data packet_registry_data
is remove resource pack packet_common_remove_resource_pack
is add resource pack packet_common_add_resource_pack
is store cookie packet_common_store_cookie
is transfer packet_common_transfer
is feature flags packet_feature_flags
is tags packet_tags
is select known packs packet_common_select_known_packs
is custom report details packet_common_custom_report_details
is server links packet_common_server_links



Table of Contents

KeyName
Typepacket_settings
0x2packet_custom_payload
0x3packet_finish_configuration
0x4packet_keep_alive
0x5packet_pong
0x6packet_resource_pack_receive
Typepacket


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

MC: ServerboundClientInformationPacket

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



2
packet custom payload
configuration / toServer / packet_custom_payload (0x02)

MC: ServerboundCustomPayloadPacket

Field NameField TypeNotes
channel string
data restBuffer



3
packet finish configuration
configuration / toServer / packet_finish_configuration (0x03)

MC: ServerboundFinishConfigurationPacket

Field NameField TypeNotes



4
packet keep alive
configuration / toServer / packet_keep_alive (0x04)

Empty MC: ServerboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



5
packet pong
configuration / toServer / packet_pong (0x05)

MC: ServerboundPongPacket

Field NameField TypeNotes
id i32



6
packet resource pack receive
configuration / toServer / packet_resource_pack_receive (0x06)

MC: ServerboundResourcePackPacket

Field NameField TypeNotes
uuid UUID
result varint



Type
packet
configuration / toServer / packet

Field NameField TypeNotes
name
varint enum
0settings
1cookie response
2custom payload
3finish configuration
4keep alive
5pong
6resource pack receive
7select known packs
8custom report details
9server links
params

if name
is settings packet_settings
is cookie response packet_common_cookie_response
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
is select known packs packet_common_select_known_packs
is custom report details packet_common_custom_report_details
is server links packet_common_server_links



Table of Contents

KeyName
TypeSpawnInfo
0x1packet_spawn_entity
0x2packet_spawn_entity_experience_orb
0x3packet_animation
0x4packet_statistics
0x5packet_acknowledge_player_digging
0x6packet_block_break_animation
0x7packet_tile_entity_data
0x8packet_block_action
0x9packet_block_change
0xapacket_boss_bar
0xbpacket_difficulty
0xcpacket_chunk_batch_finished
0xdpacket_chunk_batch_start
0xepacket_chunk_biomes
0xfpacket_clear_titles
0x10packet_tab_complete
0x11packet_declare_commands
0x12packet_close_window
0x13packet_window_items
0x14packet_craft_progress_bar
0x15packet_set_slot
0x17packet_set_cooldown
0x18packet_chat_suggestions
0x19packet_custom_payload
0x1apacket_damage_event
0x1bpacket_debug_sample
0x1cpacket_hide_message
0x1dpacket_kick_disconnect
TypeChatTypeParameterType
TypeChatType
TypeChatTypes
0x1epacket_profileless_chat
0x1fpacket_entity_status
0x20packet_sync_entity_position
0x21packet_explosion
0x22packet_unload_chunk
0x23packet_game_state_change
0x24packet_open_horse_window
0x25packet_hurt_animation
0x26packet_initialize_world_border
0x27packet_keep_alive
0x28packet_map_chunk
0x29packet_world_event
0x2apacket_world_particles
0x2bpacket_update_light
0x2cpacket_login
0x2dpacket_map
0x2epacket_trade_list
0x2fpacket_rel_entity_move
0x30packet_entity_move_look
0x31packet_move_minecart
0x32packet_entity_look
0x33packet_vehicle_move
0x34packet_open_book
0x35packet_open_window
0x36packet_open_sign_entity
0x37packet_ping
0x38packet_ping_response
0x39packet_craft_recipe_response
0x3apacket_abilities
0x3bpacket_player_chat
0x3cpacket_end_combat_event
0x3dpacket_enter_combat_event
0x3epacket_death_combat_event
0x3fpacket_player_remove
0x40packet_player_info
0x41packet_face_player
0x42packet_position
0x43packet_player_rotation
0x44packet_recipe_book_add
0x45packet_recipe_book_remove
0x46packet_recipe_book_settings
0x47packet_entity_destroy
0x48packet_remove_entity_effect
0x49packet_reset_score
0x4cpacket_respawn
0x4dpacket_entity_head_rotation
0x4epacket_multi_block_change
0x4fpacket_select_advancement_tab
0x50packet_server_data
0x51packet_action_bar
0x52packet_world_border_center
0x53packet_world_border_lerp_size
0x54packet_world_border_size
0x55packet_world_border_warning_delay
0x56packet_world_border_warning_reach
0x57packet_camera
0x58packet_update_view_position
0x59packet_update_view_distance
0x5apacket_set_cursor_item
0x5bpacket_spawn_position
0x5cpacket_scoreboard_display_objective
0x5dpacket_entity_metadata
0x5epacket_attach_entity
0x5fpacket_entity_velocity
0x60packet_entity_equipment
0x61packet_experience
0x62packet_update_health
0x63packet_held_item_slot
0x64packet_scoreboard_objective
0x65packet_set_passengers
0x66packet_set_player_inventory
0x67packet_teams
0x68packet_scoreboard_score
0x69packet_simulation_distance
0x6apacket_set_title_subtitle
0x6bpacket_update_time
0x6cpacket_set_title_text
0x6dpacket_set_title_time
0x6epacket_entity_sound_effect
0x6fpacket_sound_effect
0x70packet_start_configuration
0x71packet_stop_sound
0x73packet_system_chat
0x74packet_playerlist_header
0x75packet_nbt_query_response
0x76packet_collect
0x77packet_entity_teleport
0x78packet_set_ticking_state
0x79packet_step_tick
0x7bpacket_advancements
0x7cpacket_entity_update_attributes
0x7dpacket_entity_effect
0x7epacket_declare_recipes
0x7fpacket_tags
0x80packet_set_projectile_power
Typepacket


Type
SpawnInfo
play / toClient / SpawnInfo

World state information for spawn and respawn packets World state information for spawn and respawn packets

Field NameField TypeNotes
dimension varint
name string
hashedSeed i64
gamemode
i8 enum
0survival
1creative
2adventure
3spectator
previousGamemode u8
isDebug bool
isFlat bool
death
optional
dimensionName string
location position
portalCooldown varint
seaLevel varint



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

MC: ClientboundAddEntityPacket

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)

MC: ClientboundAddExperienceOrbPacket

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



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

MC: ClientboundAnimatePacket

Field NameField TypeNotes
entityId varint
animation u8



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

MC: ClientboundAwardStatsPacket

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



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

MC: ClientboundBlockChangedAckPacket

Field NameField TypeNotes
sequenceId varint



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

MC: ClientboundBlockDestructionPacket

Field NameField TypeNotes
entityId varint
location position
destroyStage i8



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

MC: ClientboundBlockEntityDataPacket

Field NameField TypeNotes
location position
action varint
nbtData anonOptionalNbt



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

MC: ClientboundBlockEventPacket

Field NameField TypeNotes
location position
byte1 u8
byte2 u8
blockId varint



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

MC: ClientboundBlockUpdatePacket

Field NameField TypeNotes
location position
type varint



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

MC: ClientboundBossEventPacket

Field NameField TypeNotes
entityUUID UUID
action varint
title

if action
is 0 anonymousNbt
is 3 anonymousNbt
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)

MC: ClientboundChangeDifficultyPacket

Field NameField TypeNotes
difficulty u8
difficultyLocked bool



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

MC: ClientboundChunkBatchFinishedPacket

Field NameField TypeNotes
batchSize varint



13
packet chunk batch start
play / toClient / packet_chunk_batch_start (0x0d)

MC: ClientboundChunkBatchStartPacket

Field NameField TypeNotes



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

Empty MC: ClientboundChunksBiomesPacket

Field NameField TypeNotes
biomes lengthvarint
biomes
array
position packedChunkPos
data ByteArray



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

MC: ClientboundClearTitlesPacket

Field NameField TypeNotes
reset bool



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

MC: ClientboundCommandSuggestionsPacket

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



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

MC: ClientboundCommandsPacket

Field NameField TypeNotes
nodes lengthvarint
nodes
array
command_node
rootIndex varint



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

MC: ClientboundContainerClosePacket

Field NameField TypeNotes
windowId ContainerID



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

MC: ClientboundContainerSetContentPacket

Field NameField TypeNotes
windowId ContainerID
stateId varint
items lengthvarint
items
array
Slot
carriedItem Slot



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

MC: ClientboundContainerSetDataPacket

Field NameField TypeNotes
windowId ContainerID
property i16
value i16



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

MC: ClientboundContainerSetSlotPacket

Field NameField TypeNotes
windowId ContainerID
stateId varint
slot i16
item Slot



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

MC: ClientboundCooldownPacket

Field NameField TypeNotes
cooldownGroup string

TODO: figure out what this is

cooldownTicks varint



24
packet chat suggestions
play / toClient / packet_chat_suggestions (0x18)

MC: ClientboundCustomChatCompletionsPacket

Field NameField TypeNotes
action varint
entries lengthvarint
entries
array
string



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

MC: ClientboundCustomPayloadPacket

Field NameField TypeNotes
channel string
data restBuffer



26
packet damage event
play / toClient / packet_damage_event (0x1a)

MC: ClientboundDamageEventPacket

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



27
packet debug sample
play / toClient / packet_debug_sample (0x1b)

MC: ClientboundDebugSamplePacket

Field NameField TypeNotes
sample lengthvarint
sample
array
i64
type varint



28
packet hide message
play / toClient / packet_hide_message (0x1c)

MC: ClientboundDeleteChatPacket

Field NameField TypeNotes
id varint
signature

if id
default void



29
packet kick disconnect
play / toClient / packet_kick_disconnect (0x1d)

MC: ClientboundDisconnectPacket

Field NameField TypeNotes
reason anonymousNbt




Field NameField TypeNotes
ChatTypeParameterType
varint enum
0content
1sender
2target



Type
ChatType
play / toClient / ChatType

Field NameField TypeNotes
translationKey string
parameters lengthvarint
parameters
array
ChatTypeParameterType
style anonymousNbt



Type
ChatTypes
play / toClient / ChatTypes

Field NameField TypeNotes
registryIndex varint

Either the extra data is retrieved from the registry (via this ID+1 if non-zero), or it's supplied inline in the chat packet

🔁

if registryIndex
is 0
chat ChatType
narration ChatType
default void



30
packet profileless chat
play / toClient / packet_profileless_chat (0x1e)

MC: ClientboundDisguisedChatPacket

Field NameField TypeNotes
message anonymousNbt
type ChatTypes
name anonymousNbt
target
optional
anonymousNbt



31
packet entity status
play / toClient / packet_entity_status (0x1f)

MC: ClientboundEntityEventPacket

Field NameField TypeNotes
entityId i32
entityStatus i8



32
packet sync entity position
play / toClient / packet_sync_entity_position (0x20)

MC: ClientboundEntityPositionSyncPacket

Field NameField TypeNotes
entityId varint
x f64
y f64
z f64
dx f64
dy f64
dz f64
yaw f32
pitch f32
onGround bool



33
packet explosion
play / toClient / packet_explosion (0x21)

MC: ClientboundExplodePacket

Field NameField TypeNotes
center vec3f
playerKnockback
optional
vec3f
explosionParticle Particle
soundId varint
🔁

if soundId
is 0
soundName string
range
optional
f32
default



34
packet unload chunk
play / toClient / packet_unload_chunk (0x22)

MC: ClientboundForgetLevelChunkPacket

Field NameField TypeNotes
chunkZ i32
chunkX i32



35
packet game state change
play / toClient / packet_game_state_change (0x23)

MC: ClientboundGameEventPacket

Field NameField TypeNotes
reason u8
gameMode f32



36
packet open horse window
play / toClient / packet_open_horse_window (0x24)

MC: ClientboundHorseScreenOpenPacket

Field NameField TypeNotes
windowId ContainerID
nbSlots varint
entityId i32



37
packet hurt animation
play / toClient / packet_hurt_animation (0x25)

MC: ClientboundHurtAnimationPacket

Field NameField TypeNotes
entityId varint
yaw f32



38
packet initialize world border
play / toClient / packet_initialize_world_border (0x26)

MC: ClientboundInitializeBorderPacket

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



39
packet keep alive
play / toClient / packet_keep_alive (0x27)

MC: ClientboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



40
packet map chunk
play / toClient / packet_map_chunk (0x28)

MC: ClientboundLevelChunkWithLightPacket

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
__1897 lengthvarint
__1897
array
u8
blockLight lengthvarint
blockLight
array
__1899 lengthvarint
__1899
array
u8



41
packet world event
play / toClient / packet_world_event (0x29)

MC: ClientboundLevelEventPacket

Field NameField TypeNotes
effectId i32
location position
data i32
global bool



42
packet world particles
play / toClient / packet_world_particles (0x2a)

MC: ClientboundLevelParticlesPacket

Field NameField TypeNotes
longDistance bool
x f64
y f64
z f64
offsetX f32
offsetY f32
offsetZ f32
velocityOffset f32
amount i32
particle Particle



43
packet update light
play / toClient / packet_update_light (0x2b)

MC: ClientboundLightUpdatePacket

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
__1927 lengthvarint
__1927
array
u8
blockLight lengthvarint
blockLight
array
__1929 lengthvarint
__1929
array
u8



44
packet login
play / toClient / packet_login (0x2c)

MC: ClientboundLoginPacket

Field NameField TypeNotes
entityId i32
isHardcore bool
worldNames lengthvarint
worldNames
array
string
maxPlayers varint
viewDistance varint
simulationDistance varint
reducedDebugInfo bool
enableRespawnScreen bool
doLimitedCrafting bool
worldState SpawnInfo
enforcesSecureChat bool



45
packet map
play / toClient / packet_map (0x2d)

MC: ClientboundMapItemDataPacket

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



46
packet trade list
play / toClient / packet_trade_list (0x2e)

MC: ClientboundMerchantOffersPacket

Field NameField TypeNotes
windowId ContainerID
trades lengthvarint
trades
array
inputItem1
itemId varint
itemCount varint
addedComponentCount varint
Length for components below is addedComponentCount from above
components
array
SlotComponent
outputItem Slot
inputItem2
optional
itemId varint
itemCount varint
addedComponentCount varint
Length for components below is addedComponentCount from above
components
array
SlotComponent
tradeDisabled bool
nbTradeUses i32
maximumNbTradeUses i32
xp i32
specialPrice i32
priceMultiplier f32
demand i32
villagerLevel varint
experience varint
isRegularVillager bool
canRestock bool



47
packet rel entity move
play / toClient / packet_rel_entity_move (0x2f)

MC: ClientboundMoveEntityPacket.Pos

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



48
packet entity move look
play / toClient / packet_entity_move_look (0x30)

MC: ClientboundMoveEntityPacket.PosRot

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



49
packet move minecart
play / toClient / packet_move_minecart (0x31)

MC: ClientboundMoveMinecartPacket

Field NameField TypeNotes
entityId varint
steps lengthvarint
steps
array
position vec3f
movement vec3f
yaw f32
pitch f32
weight f32



50
packet entity look
play / toClient / packet_entity_look (0x32)

MC: ClientboundMoveEntityPacket.Rot

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



51
packet vehicle move
play / toClient / packet_vehicle_move (0x33)

MC: ClientboundMoveVehiclePacket

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



52
packet open book
play / toClient / packet_open_book (0x34)

MC: ClientboundOpenBookPacket

Field NameField TypeNotes
hand varint



53
packet open window
play / toClient / packet_open_window (0x35)

MC: ClientboundOpenScreenPacket

Field NameField TypeNotes
windowId varint
inventoryType varint
windowTitle anonymousNbt



54
packet open sign entity
play / toClient / packet_open_sign_entity (0x36)

MC: ClientboundOpenSignEditorPacket

Field NameField TypeNotes
location position
isFrontText bool



55
packet ping
play / toClient / packet_ping (0x37)

MC: ClientboundPingPacket

Field NameField TypeNotes
id i32



56
packet ping response
play / toClient / packet_ping_response (0x38)

MC: ClientboundPongResponsePacket

Field NameField TypeNotes
id i64



57
packet craft recipe response
play / toClient / packet_craft_recipe_response (0x39)

MC: ClientboundPlaceGhostRecipePacket

Field NameField TypeNotes
windowId ContainerID
recipeDisplay RecipeDisplay



58
packet abilities
play / toClient / packet_abilities (0x3a)

MC: ClientboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



59
packet player chat
play / toClient / packet_player_chat (0x3b)

MC: ClientboundPlayerChatPacket

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

if filterType
is 2 lengthvarint
is 2
array
i64
default void
type ChatTypes
networkName anonymousNbt
networkTargetName
optional
anonymousNbt



60
packet end combat event
play / toClient / packet_end_combat_event (0x3c)

MC: ClientboundPlayerCombatEndPacket

Field NameField TypeNotes
duration varint



61
packet enter combat event
play / toClient / packet_enter_combat_event (0x3d)

MC: ClientboundPlayerCombatEnterPacket

Field NameField TypeNotes



62
packet death combat event
play / toClient / packet_death_combat_event (0x3e)

Empty MC: ClientboundPlayerCombatKillPacket

Field NameField TypeNotes
playerId varint
message anonymousNbt



63
packet player remove
play / toClient / packet_player_remove (0x3f)

MC: ClientboundPlayerInfoRemovePacket

Field NameField TypeNotes
players lengthvarint
players
array
UUID



64
packet player info
play / toClient / packet_player_info (0x40)

MC: ClientboundPlayerInfoUpdatePacket

Field NameField TypeNotes
data lengthvarint
data
array
uuid UUID
player

if ../action/add player
is true game_profile
default void
chatSession

if ../action/initialize chat
is true chat_session
default void
gamemode

if ../action/update game mode
is true varint
default void
listed

if ../action/update listed
is true varint
default void
latency

if ../action/update latency
is true varint
default void
displayName

if ../action/update display name
is true anonOptionalNbt
default void
listPriority

if ../action/update priority
is true varint
default void



65
packet face player
play / toClient / packet_face_player (0x41)

MC: ClientboundPlayerLookAtPacket

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 varint
default void



66
packet position
play / toClient / packet_position (0x42)

https://github.com/extremeheat/extractedminecraftdata/blob/client1.21.2/client/net/minecraft/world/entity/Relative.java#L82 PositionUpdateRelatives: ["bitfield", [

unused bits on top

{ "name": "unused", "size": 23, "signed": false }, { "name": "yawDelta", "size": 1, "signed": false }, { "name": "dz", "size": 1, "signed": false }, { "name": "dy", "size": 1, "signed": false }, { "name": "dx", "size": 1, "signed": false }, { "name": "pitch", "size": 1, "signed": false }, { "name": "yaw", "size": 1, "signed": false }, { "name": "z", "size": 1, "signed": false }, { "name": "y", "size": 1, "signed": false }, { "name": "x", "size": 1, "signed": false }, ]] MC: ClientboundPlayerPositionPacket

Field NameField TypeNotes
teleportId varint
x f64
y f64
z f64
dx f64
dy f64
dz f64
yaw f32
pitch f32
flags PositionUpdateRelatives



67
packet player rotation
play / toClient / packet_player_rotation (0x43)

MC: ClientboundPlayerRotationPacket

Field NameField TypeNotes
yaw f32
pitch f32



68
packet recipe book add
play / toClient / packet_recipe_book_add (0x44)

MC: ClientboundRecipeBookAddPacket

Field NameField TypeNotes
entries lengthvarint
entries
array
recipe
displayId varint

RecipeDisplayEntry

display RecipeDisplay
group optvarint
category
varint enum
0crafting building blocks

This ID corresponds to the "recipebookcategory" registry

1crafting redstone
2crafting equipment
3crafting misc
4furnace food
5furnace blocks
6furnace misc
7blast furnace blocks
8blast furnace misc
9smoker food
10stonecutter
11smithing
12campfire
craftingRequirements lengthvarint
craftingRequirements
array
IDSet
replace bool



69
packet recipe book remove
play / toClient / packet_recipe_book_remove (0x45)

MC: ClientboundRecipeBookRemovePacket

Field NameField TypeNotes
recipeIds lengthvarint
recipeIds
array
varint



70
packet recipe book settings
play / toClient / packet_recipe_book_settings (0x46)

MC: ClientboundRecipeBookSettingsPacket

Field NameField TypeNotes
craftingGuiOpen bool
craftingFilteringCraftable bool
smeltingGuiOpen bool
smeltingFilteringCraftable bool
blastGuiOpen bool
blastFilteringCraftable bool
smokerGuiOpen bool
smokerFilteringCraftable bool



71
packet entity destroy
play / toClient / packet_entity_destroy (0x47)

MC: ClientboundRemoveEntitiesPacket

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



72
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x48)

MC: ClientboundRemoveMobEffectPacket

Field NameField TypeNotes
entityId varint
effectId varint



73
packet reset score
play / toClient / packet_reset_score (0x49)

MC: ClientboundResetScorePacket

Field NameField TypeNotes
entity name string
objective name
optional
string



76
packet respawn
play / toClient / packet_respawn (0x4c)

MC: ClientboundRespawnPacket

Field NameField TypeNotes
worldState SpawnInfo
copyMetadata u8

Bit field: 0b1 - KEEPATTRIBUTEMODIFIERS, 0b10 - KEEPENTITYDATA




77
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x4d)

MC: ClientboundRotateHeadPacket

Field NameField TypeNotes
entityId varint
headYaw i8



78
packet multi block change
play / toClient / packet_multi_block_change (0x4e)

MC: ClientboundSectionBlocksUpdatePacket

Field NameField TypeNotes
records lengthvarint
records
array
varint



79
packet select advancement tab
play / toClient / packet_select_advancement_tab (0x4f)

MC: ClientboundSelectAdvancementsTabPacket

Field NameField TypeNotes
id
optional
string



80
packet server data
play / toClient / packet_server_data (0x50)

MC: ClientboundServerDataPacket

Field NameField TypeNotes
motd anonymousNbt
iconBytes
optional
ByteArray



81
packet action bar
play / toClient / packet_action_bar (0x51)

MC: ClientboundSetActionBarTextPacket

Field NameField TypeNotes
text anonymousNbt



82
packet world border center
play / toClient / packet_world_border_center (0x52)

MC: ClientboundSetBorderCenterPacket

Field NameField TypeNotes
x f64
z f64



83
packet world border lerp size
play / toClient / packet_world_border_lerp_size (0x53)

MC: ClientboundSetBorderLerpSizePacket

Field NameField TypeNotes
oldDiameter f64
newDiameter f64
speed varint



84
packet world border size
play / toClient / packet_world_border_size (0x54)

MC: ClientboundSetBorderSizePacket

Field NameField TypeNotes
diameter f64



85
packet world border warning delay
play / toClient / packet_world_border_warning_delay (0x55)

MC: ClientboundSetBorderWarningDelayPacket

Field NameField TypeNotes
warningTime varint



86
packet world border warning reach
play / toClient / packet_world_border_warning_reach (0x56)

MC: ClientboundSetBorderWarningDistancePacket

Field NameField TypeNotes
warningBlocks varint



87
packet camera
play / toClient / packet_camera (0x57)

MC: ClientboundSetCameraPacket

Field NameField TypeNotes
cameraId varint



88
packet update view position
play / toClient / packet_update_view_position (0x58)

MC: ClientboundSetChunkCacheCenterPacket

Field NameField TypeNotes
chunkX varint
chunkZ varint



89
packet update view distance
play / toClient / packet_update_view_distance (0x59)

MC: ClientboundSetChunkCacheRadiusPacket

Field NameField TypeNotes
viewDistance varint



90
packet set cursor item
play / toClient / packet_set_cursor_item (0x5a)

MC: ClientboundSetCursorItemPacket

Field NameField TypeNotes
contents
optional
Slot



91
packet spawn position
play / toClient / packet_spawn_position (0x5b)

MC: ClientboundSetDefaultSpawnPositionPacket

Field NameField TypeNotes
location position
angle f32



92
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x5c)

MC: ClientboundSetDisplayObjectivePacket

Field NameField TypeNotes
position varint
name string



93
packet entity metadata
play / toClient / packet_entity_metadata (0x5d)

MC: ClientboundSetEntityDataPacket

Field NameField TypeNotes
entityId varint
metadata entityMetadata



94
packet attach entity
play / toClient / packet_attach_entity (0x5e)

MC: ClientboundSetEntityLinkPacket

Field NameField TypeNotes
entityId i32
vehicleId i32



95
packet entity velocity
play / toClient / packet_entity_velocity (0x5f)

MC: ClientboundSetEntityMotionPacket

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



96
packet entity equipment
play / toClient / packet_entity_equipment (0x60)

MC: ClientboundSetEquipmentPacket

Field NameField TypeNotes
entityId varint



97
packet experience
play / toClient / packet_experience (0x61)

MC: ClientboundSetExperiencePacket

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



98
packet update health
play / toClient / packet_update_health (0x62)

MC: ClientboundSetHealthPacket

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



99
packet held item slot
play / toClient / packet_held_item_slot (0x63)

MC: ClientboundSetHeldSlotPacket

Field NameField TypeNotes
slot i8



100
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x64)

MC: ClientboundSetObjectivePacket

Field NameField TypeNotes
name string
action i8
displayText

if action
is 0 anonymousNbt
is 2 anonymousNbt
default void
type

if action
is 0 varint
is 2 varint
default void
number format

if action
default void
styling

if action
if 0

if number format
is 1 anonymousNbt
is 2 anonymousNbt
default void
if 2

if number format
is 1 anonymousNbt
is 2 anonymousNbt
default void
default void



101
packet set passengers
play / toClient / packet_set_passengers (0x65)

MC: ClientboundSetPassengersPacket

Field NameField TypeNotes
entityId varint
passengers lengthvarint
passengers
array
varint



102
packet set player inventory
play / toClient / packet_set_player_inventory (0x66)

MC: ClientboundSetPlayerInventoryPacket

Field NameField TypeNotes
slotId varint
contents
optional
Slot



103
packet teams
play / toClient / packet_teams (0x67)

MC: ClientboundSetPlayerTeamPacket

Field NameField TypeNotes
team string
mode i8
name

if mode
is 0 anonymousNbt
is 2 anonymousNbt
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 anonymousNbt
is 2 anonymousNbt
default void
suffix

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



104
packet scoreboard score
play / toClient / packet_scoreboard_score (0x68)

MC: ClientboundSetScorePacket

Field NameField TypeNotes
itemName string
scoreName string
value varint
display name
optional
anonymousNbt
number format
optional
varint
styling

if number format
is 1 anonymousNbt
is 2 anonymousNbt
default void



105
packet simulation distance
play / toClient / packet_simulation_distance (0x69)

MC: ClientboundSetSimulationDistancePacket

Field NameField TypeNotes
distance varint



106
packet set title subtitle
play / toClient / packet_set_title_subtitle (0x6a)

MC: ClientboundSetSubtitleTextPacket

Field NameField TypeNotes
text anonymousNbt



107
packet update time
play / toClient / packet_update_time (0x6b)

MC: ClientboundSetTimePacket

Field NameField TypeNotes
age i64
time i64
tickDayTime bool



108
packet set title text
play / toClient / packet_set_title_text (0x6c)

MC: ClientboundSetTitleTextPacket

Field NameField TypeNotes
text anonymousNbt



109
packet set title time
play / toClient / packet_set_title_time (0x6d)

MC: ClientboundSetTitlesAnimationPacket

Field NameField TypeNotes
fadeIn i32
stay i32
fadeOut i32



110
packet entity sound effect
play / toClient / packet_entity_sound_effect (0x6e)

MC: ClientboundSoundEntityPacket

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



111
packet sound effect
play / toClient / packet_sound_effect (0x6f)

MC: ClientboundSoundPacket

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



112
packet start configuration
play / toClient / packet_start_configuration (0x70)

MC: ClientboundStartConfigurationPacket

Field NameField TypeNotes



113
packet stop sound
play / toClient / packet_stop_sound (0x71)

Empty MC: ClientboundStopSoundPacket

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



115
packet system chat
play / toClient / packet_system_chat (0x73)

MC: ClientboundSystemChatPacket

Field NameField TypeNotes
content anonymousNbt
isActionBar bool



116
packet playerlist header
play / toClient / packet_playerlist_header (0x74)

MC: ClientboundTabListPacket

Field NameField TypeNotes
header anonymousNbt
footer anonymousNbt



117
packet nbt query response
play / toClient / packet_nbt_query_response (0x75)

MC: ClientboundTagQueryPacket

Field NameField TypeNotes
transactionId varint
nbt anonOptionalNbt



118
packet collect
play / toClient / packet_collect (0x76)

MC: ClientboundTakeItemEntityPacket

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint
pickupItemCount varint



119
packet entity teleport
play / toClient / packet_entity_teleport (0x77)

MC: ClientboundTeleportEntityPacket

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



120
packet set ticking state
play / toClient / packet_set_ticking_state (0x78)

MC: ClientboundTickingStatePacket

Field NameField TypeNotes
tick rate f32
is frozen bool



121
packet step tick
play / toClient / packet_step_tick (0x79)

MC: ClientboundTickingStepPacket

Field NameField TypeNotes
tick steps varint



123
packet advancements
play / toClient / packet_advancements (0x7b)

MC: ClientboundUpdateAdvancementsPacket

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

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



124
packet entity update attributes
play / toClient / packet_entity_update_attributes (0x7c)

MC: ClientboundUpdateAttributesPacket

Field NameField TypeNotes
entityId varint
properties lengthvarint
properties
array
key
varint enum
0generic.armor
1generic.armor toughness
2generic.attack damage
3generic.attack knockback
4generic.attack speed
5player.block break speed
6player.block interaction range
7player.entity interaction range
8generic.fall damage multiplier
9generic.flying speed
10generic.follow range
11generic.gravity
12generic.jump strength
13generic.knockback resistance
14generic.luck
15generic.max absorption
16generic.max health
17generic.movement speed
18generic.safe fall distance
19generic.scale
20zombie.spawn reinforcements
21generic.step height
value f64
modifiers lengthvarint
modifiers
array
uuid string
amount f64
operation i8



125
packet entity effect
play / toClient / packet_entity_effect (0x7d)

MC: ClientboundUpdateMobEffectPacket

Field NameField TypeNotes
entityId varint
effectId varint
amplifier varint
duration varint
flags u8

a bitfield of 0x01 for ambient, 0x02 for show particles flags: ["bitfield", [ { "name": "unused", "size": 4 }, { "name": "ambient", "size": 1 }, { "name": "showParticles", "size": 1 }, { "name": "showIcon", "size": 1 }, { "name": "blend", "size": 1 } ]]




126
packet declare recipes
play / toClient / packet_declare_recipes (0x7e)

MC: ClientboundUpdateRecipesPacket

Field NameField TypeNotes
recipes lengthvarint
recipes
array
name string
items lengthvarint
items
array
varint
stoneCutterRecipes lengthvarint
stoneCutterRecipes
array
input IDSet
slotDisplay SlotDisplay



127
packet tags
play / toClient / packet_tags (0x7f)

MC: ClientboundUpdateTagsPacket

Field NameField TypeNotes
tags lengthvarint
tags
array
tagType string
tags tags



128
packet set projectile power
play / toClient / packet_set_projectile_power (0x80)

MC: ClientboundProjectilePowerPacket

Field NameField TypeNotes
id varint
accelerationPower f64



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
22cookie request
23set cooldown
24chat suggestions
25custom payload
26damage event
27debug sample
28hide message
29kick disconnect
30profileless chat
31entity status
32sync entity position
33explosion
34unload chunk
35game state change
36open horse window
37hurt animation
38initialize world border
39keep alive
40map chunk
41world event
42world particles
43update light
44login
45map
46trade list
47rel entity move
48entity move look
49move minecart
50entity look
51vehicle move
52open book
53open window
54open sign entity
55ping
56ping response
57craft recipe response
58abilities
59player chat
60end combat event
61enter combat event
62death combat event
63player remove
64player info
65face player
66position
67player rotation
68recipe book add
69recipe book remove
70recipe book settings
71entity destroy
72remove entity effect
73reset score
74remove resource pack
75add resource pack
76respawn
77entity head rotation
78multi block change
79select advancement tab
80server data
81action bar
82world border center
83world border lerp size
84world border size
85world border warning delay
86world border warning reach
87camera
88update view position
89update view distance
90set cursor item
91spawn position
92scoreboard display objective
93entity metadata
94attach entity
95entity velocity
96entity equipment
97experience
98update health
99held item slot
100scoreboard objective
101set passengers
102set player inventory
103teams
104scoreboard score
105simulation distance
106set title subtitle
107update time
108set title text
109set title time
110entity sound effect
111sound effect
112start configuration
113stop sound
114store cookie
115system chat
116playerlist header
117nbt query response
118collect
119entity teleport
120set ticking state
121step tick
122transfer
123advancements
124entity update attributes
125entity effect
126declare recipes
127tags
128set projectile power
129custom report details
130server links
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 cookie request packet_common_cookie_request
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 debug sample packet_debug_sample
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 sync entity position packet_sync_entity_position
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 move minecart packet_move_minecart
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 player rotation packet_player_rotation
is recipe book add packet_recipe_book_add
is recipe book remove packet_recipe_book_remove
is recipe book settings packet_recipe_book_settings
is entity destroy packet_entity_destroy
is remove entity effect packet_remove_entity_effect
is reset score packet_reset_score
is remove resource pack packet_common_remove_resource_pack
is add resource pack packet_common_add_resource_pack
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 update view position packet_update_view_position
is update view distance packet_update_view_distance
is set cursor item packet_set_cursor_item
is held item slot packet_held_item_slot
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 set player inventory packet_set_player_inventory
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 store cookie packet_common_store_cookie
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 set ticking state packet_set_ticking_state
is step tick packet_step_tick
is transfer packet_common_transfer
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
is set projectile power packet_set_projectile_power
is custom report details packet_common_custom_report_details
is server links packet_common_server_links



Table of Contents

KeyName
Typepacket_teleport_confirm
0x1packet_query_block_nbt
0x2packet_select_bundle_item
0x3packet_set_difficulty
0x4packet_message_acknowledgement
0x5packet_chat_command
0x6packet_chat_command_signed
0x7packet_chat_message
0x8packet_chat_session_update
0x9packet_chunk_batch_received
0xapacket_client_command
0xbpacket_tick_end
0xcpacket_settings
0xdpacket_tab_complete
0xepacket_configuration_acknowledged
0xfpacket_enchant_item
0x10packet_window_click
0x11packet_close_window
0x12packet_set_slot_state
0x14packet_custom_payload
Typepacket_debug_sample_subscription
0x16packet_edit_book
0x17packet_query_entity_nbt
0x18packet_use_entity
0x19packet_generate_structure
0x1apacket_keep_alive
0x1bpacket_lock_difficulty
0x1cpacket_position
0x1dpacket_position_look
0x1epacket_look
0x1fpacket_flying
0x20packet_vehicle_move
0x21packet_steer_boat
0x22packet_pick_item
0x23packet_ping_request
0x24packet_craft_recipe_request
0x25packet_abilities
0x26packet_block_dig
0x27packet_entity_action
0x28packet_player_input
0x29packet_pong
0x2apacket_recipe_book
0x2bpacket_displayed_recipe
0x2cpacket_name_item
0x2dpacket_resource_pack_receive
0x2epacket_advancement_tab
0x2fpacket_select_trade
0x30packet_set_beacon_effect
0x31packet_held_item_slot
0x32packet_update_command_block
0x33packet_update_command_block_minecart
0x34packet_set_creative_slot
0x35packet_update_jigsaw_block
0x36packet_update_structure_block
0x37packet_update_sign
0x38packet_arm_animation
0x39packet_spectate
0x3apacket_block_place
0x3bpacket_use_item
Typepacket


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

MC: ServerboundAcceptTeleportationPacket

Field NameField TypeNotes
teleportId varint



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

MC: ServerboundBlockEntityTagQueryPacket

Field NameField TypeNotes
transactionId varint
location position



2
packet select bundle item
play / toServer / packet_select_bundle_item (0x02)

MC: ServerboundSelectBundleItemPacket

Field NameField TypeNotes
slotId varint
selectedItemIndex varint



3
packet set difficulty
play / toServer / packet_set_difficulty (0x03)

MC: ServerboundChangeDifficultyPacket

Field NameField TypeNotes
newDifficulty u8



4
packet message acknowledgement
play / toServer / packet_message_acknowledgement (0x04)

MC: ServerboundChatAckPacket

Field NameField TypeNotes
count varint



5
packet chat command
play / toServer / packet_chat_command (0x05)

MC: ServerboundChatCommandPacket

Field NameField TypeNotes
command string



6
packet chat command signed
play / toServer / packet_chat_command_signed (0x06)

MC: ServerboundChatCommandSignedPacket

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



7
packet chat message
play / toServer / packet_chat_message (0x07)

MC: ServerboundChatPacket

Field NameField TypeNotes
message string
timestamp i64
salt i64
offset varint



8
packet chat session update
play / toServer / packet_chat_session_update (0x08)

MC: ServerboundChatSessionUpdatePacket

Field NameField TypeNotes
sessionUUID UUID
expireTime i64
publicKey ByteArray
signature ByteArray



9
packet chunk batch received
play / toServer / packet_chunk_batch_received (0x09)

MC: ServerboundChunkBatchReceivedPacket

Field NameField TypeNotes
chunksPerTick f32



10
packet client command
play / toServer / packet_client_command (0x0a)

MC: ServerboundClientCommandPacket

Field NameField TypeNotes
actionId varint



11
packet tick end
play / toServer / packet_tick_end (0x0b)

MC: ServerboundClientTickEndPacket

Field NameField TypeNotes



12
packet settings
play / toServer / packet_settings (0x0c)

Empty MC: ServerboundClientInformationPacket

Field NameField TypeNotes
locale string
viewDistance i8
chatFlags varint
chatColors bool
skinParts u8
mainHand varint
enableTextFiltering bool
enableServerListing bool
particleStatus
varint enum
0all
1decreased
2minimal



13
packet tab complete
play / toServer / packet_tab_complete (0x0d)

MC: ServerboundCommandSuggestionPacket

Field NameField TypeNotes
transactionId varint
text string



14
packet configuration acknowledged
play / toServer / packet_configuration_acknowledged (0x0e)

MC: ServerboundConfigurationAcknowledgedPacket

Field NameField TypeNotes



15
packet enchant item
play / toServer / packet_enchant_item (0x0f)

Empty MC: ServerboundContainerButtonClickPacket

Field NameField TypeNotes
windowId ContainerID
enchantment i8



16
packet window click
play / toServer / packet_window_click (0x10)

MC: ServerboundContainerClickPacket

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



17
packet close window
play / toServer / packet_close_window (0x11)

MC: ServerboundContainerClosePacket

Field NameField TypeNotes
windowId ContainerID



18
packet set slot state
play / toServer / packet_set_slot_state (0x12)

MC: ServerboundContainerSlotStateChangedPacket

Field NameField TypeNotes
slot id varint
window id ContainerID
state bool



20
packet custom payload
play / toServer / packet_custom_payload (0x14)

MC: ServerboundCustomPayloadPacket

Field NameField TypeNotes
channel string
data restBuffer



Type
packet debug sample subscription
play / toServer / packet_debug_sample_subscription

MC: ServerboundDebugSampleSubscriptionPacket

Field NameField TypeNotes
type varint



22
packet edit book
play / toServer / packet_edit_book (0x16)

MC: ServerboundEditBookPacket

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



23
packet query entity nbt
play / toServer / packet_query_entity_nbt (0x17)

MC: ServerboundEntityTagQuery

Field NameField TypeNotes
transactionId varint
entityId varint



24
packet use entity
play / toServer / packet_use_entity (0x18)

MC: ServerboundInteractPacket

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



25
packet generate structure
play / toServer / packet_generate_structure (0x19)

MC: ServerboundJigsawGeneratePacket

Field NameField TypeNotes
location position
levels varint
keepJigsaws bool



26
packet keep alive
play / toServer / packet_keep_alive (0x1a)

MC: ServerboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



27
packet lock difficulty
play / toServer / packet_lock_difficulty (0x1b)

MC: ServerboundLockDifficultyPacket

Field NameField TypeNotes
locked bool



28
packet position
play / toServer / packet_position (0x1c)

MC: ServerboundMovePlayerPacket.Pos

Field NameField TypeNotes
x f64
y f64
z f64
flags MovementFlags



29
packet position look
play / toServer / packet_position_look (0x1d)

MC: ServerboundMovePlayerPacket.PosRot

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



30
packet look
play / toServer / packet_look (0x1e)

MC: ServerboundMovePlayerPacket.Rot

Field NameField TypeNotes
yaw f32
pitch f32
flags MovementFlags



31
packet flying
play / toServer / packet_flying (0x1f)

MC: ServerboundMovePlayerPacket.StatusOnly

Field NameField TypeNotes
flags MovementFlags



32
packet vehicle move
play / toServer / packet_vehicle_move (0x20)

MC: ServerboundMoveVehiclePacket

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



33
packet steer boat
play / toServer / packet_steer_boat (0x21)

MC: ServerboundPaddleBoatPacket

Field NameField TypeNotes
leftPaddle bool
rightPaddle bool



34
packet pick item
play / toServer / packet_pick_item (0x22)

MC: ServerboundPickItemPacket

Field NameField TypeNotes
slot varint



35
packet ping request
play / toServer / packet_ping_request (0x23)

MC: ServerboundPingRequestPacket

Field NameField TypeNotes
id i64



36
packet craft recipe request
play / toServer / packet_craft_recipe_request (0x24)

MC: ServerboundPlaceRecipePacket

Field NameField TypeNotes
windowId ContainerID
recipeId varint
makeAll bool



37
packet abilities
play / toServer / packet_abilities (0x25)

MC: ServerboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8



38
packet block dig
play / toServer / packet_block_dig (0x26)

MC: ServerboundPlayerActionPacket

Field NameField TypeNotes
status varint
location position
face i8
sequence varint



39
packet entity action
play / toServer / packet_entity_action (0x27)

MC: ServerboundPlayerCommandPacket

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



40
packet player input
play / toServer / packet_player_input (0x28)

MC: ServerboundPlayerInputPacket previously: packetsteervehicle

Field NameField TypeNotes



41
packet pong
play / toServer / packet_pong (0x29)

MC: ServerboundPongPacket

Field NameField TypeNotes
id i32



42
packet recipe book
play / toServer / packet_recipe_book (0x2a)

MC: ServerboundRecipeBookChangeSettingsPacket

Field NameField TypeNotes
bookId varint
bookOpen bool
filterActive bool



43
packet displayed recipe
play / toServer / packet_displayed_recipe (0x2b)

MC: ServerboundRecipeBookSeenRecipePacket

Field NameField TypeNotes
recipeId varint



44
packet name item
play / toServer / packet_name_item (0x2c)

MC: ServerboundRenameItemPacket

Field NameField TypeNotes
name string



45
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x2d)

MC: ServerboundResourcePackPacket

Field NameField TypeNotes
uuid UUID
result varint



46
packet advancement tab
play / toServer / packet_advancement_tab (0x2e)

MC: ServerboundSeenAdvancementsPacket

Field NameField TypeNotes
action varint
tabId

if action
is 0 string
is 1 void



47
packet select trade
play / toServer / packet_select_trade (0x2f)

MC: ServerboundSelectTradePacket

Field NameField TypeNotes
slot varint



48
packet set beacon effect
play / toServer / packet_set_beacon_effect (0x30)

MC: ServerboundSetBeaconPacket

Field NameField TypeNotes
primary effect
optional
varint
secondary effect
optional
varint



49
packet held item slot
play / toServer / packet_held_item_slot (0x31)

MC: ServerboundSetCarriedItemPacket

Field NameField TypeNotes
slotId i16



50
packet update command block
play / toServer / packet_update_command_block (0x32)

MC: ServerboundSetCommandBlockPacket

Field NameField TypeNotes
location position
command string
mode varint
flags u8



51
packet update command block minecart
play / toServer / packet_update_command_block_minecart (0x33)

MC: ServerboundSetCommandMinecartPacket

Field NameField TypeNotes
entityId varint
command string
track output bool



52
packet set creative slot
play / toServer / packet_set_creative_slot (0x34)

MC: ServerboundSetCreativeModeSlotPacket

Field NameField TypeNotes
slot i16
item Slot



53
packet update jigsaw block
play / toServer / packet_update_jigsaw_block (0x35)

MC: ServerboundSetJigsawBlockPacket

Field NameField TypeNotes
location position
name string
target string
pool string
finalState string
jointType string
selection priority varint
placement priority varint



54
packet update structure block
play / toServer / packet_update_structure_block (0x36)

MC: ServerboundSetStructureBlockPacket

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



55
packet update sign
play / toServer / packet_update_sign (0x37)

MC: ServerboundSignUpdatePacket

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



56
packet arm animation
play / toServer / packet_arm_animation (0x38)

MC: ServerboundSwingPacket

Field NameField TypeNotes
hand varint



57
packet spectate
play / toServer / packet_spectate (0x39)

MC: ServerboundTeleportToEntityPacket

Field NameField TypeNotes
target UUID



58
packet block place
play / toServer / packet_block_place (0x3a)

MC: ServerboundUseItemOnPacket

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



59
packet use item
play / toServer / packet_use_item (0x3b)

MC: ServerboundUseItemPacket

Field NameField TypeNotes
hand varint
sequence varint
rotation vec2f



Type
packet
play / toServer / packet

Field NameField TypeNotes
name
varint enum
0teleport confirm
1query block nbt
2select bundle item
3set difficulty
4message acknowledgement
5chat command
6chat command signed
7chat message
8chat session update
9chunk batch received
10client command
11tick end
12settings
13tab complete
14configuration acknowledged
15enchant item

Maybe rename enchant_item if it is used for other things too

16window click
17close window
18set slot state
19cookie response
20custom payload
21debug sample subscription
22edit book
23query entity nbt
24use entity
25generate structure
26keep alive
27lock difficulty
28position
29position look
30look
31flying
32vehicle move
33steer boat
34pick item
35ping request
36craft recipe request
37abilities
38block dig
39entity action
40player input
41pong
42recipe book
43displayed recipe
44name item
45resource pack receive
46advancement tab
47select trade
48set beacon effect
49held item slot
50update command block
51update command block minecart
52set creative slot
53update jigsaw block
54update structure block
55update sign
56arm animation
57spectate
58block place
59use item
params

if name
is teleport confirm packet_teleport_confirm
is query block nbt packet_query_block_nbt
is select bundle item packet_select_bundle_item
is set difficulty packet_set_difficulty
is message acknowledgement packet_message_acknowledgement
is chat command packet_chat_command
is chat command signed packet_chat_command_signed
is chat message packet_chat_message
is chat session update packet_chat_session_update
is chunk batch received packet_chunk_batch_received
is client command packet_client_command
is tick end packet_tick_end
is settings packet_settings
is tab complete packet_tab_complete
is configuration acknowledged packet_configuration_acknowledged
is enchant item packet_enchant_item
is window click packet_window_click
is close window packet_close_window
is set slot state packet_set_slot_state
is cookie response packet_common_cookie_response
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 ping request packet_ping_request
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 player input packet_player_input
is pong packet_pong
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