Table of Contents

KeyName
Typevec2f
Typevec3f
Typevec4f
Typevec3f64
Typevec3i
TypeSlotComponentType
TypeSlotComponent
TypeItemSoundEvent
TypeItemFireworkExplosion
TypeItemEffectDetail
TypeItemPotionEffect
TypeItemBlockProperty
TypeExactComponentMatcher
TypeDataComponentMatchers
TypeItemBlockPredicate
TypeItemBookPage
TypeItemWrittenBookPage
TypeItemConsumeEffect
TypeArmorTrimMaterial
TypeArmorTrimPattern
TypeInstrumentData
TypeJukeboxSongData
TypeBannerPattern
TypeBannerPatternLayer
TypeUntrustedSlotComponent
TypeUntrustedSlot
TypeSlot
TypeHashedSlot
TypeParticle
Typeingredient
TypesoundSource
TypepackedChunkPos
TypepreviousMessages
TypeentityMetadataEntry
TypeEntityMetadataPaintingVariant
Typetags
TypechunkBlockEntity
Typechat_session?
Typegame_profile
Typecommand_node
Typepacket_common_settings
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
vec3i
Datatype

Field NameField TypeNotes
x varint
y varint
z varint




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
15tooltip display
16repair cost
17creative slot lock
18enchantment glint override
19intangible projectile
20food
21consumable
22use remainder
23use cooldown
24damage resistant
25tool
26weapon
27enchantable
28equippable
29repairable
30glider
31tooltip style
32death protection
33blocks attacks
34stored enchantments
35dyed color
36map color
37map id
38map decorations
39map post processing
40potion duration scale
41charged projectiles
42bundle contents
43potion contents
44suspicious stew effects
45writable book content
46written book content
47trim
48debug stick state
49entity data
50bucket entity data
51block entity data
52instrument
53provides trim material
54ominous bottle amplifier
55jukebox playable
56provides banner patterns
57recipes
58lodestone tracker
59firework explosion
60fireworks
61profile
62note block sound
63banner patterns
64base color
65pot decorations
66container
67block state
68bees
69lock
70container loot
71break sound
72villager/variant
73wolf/variant
74wolf/sound variant
75wolf/collar
76fox/variant
77salmon/size
78parrot/variant
79tropical fish/pattern
80tropical fish/base color
81tropical fish/pattern color
82mooshroom/variant
83rabbit/variant
84pig/variant
85cow/variant
86chicken/variant
87frog/variant
88horse/variant
89painting/variant
90llama/variant
91axolotl/variant
92cat/variant
93cat/collar
94sheep/color
95shulker/color




Instead of sending NBT for items over the network, Minecraft since 1.20.5 sends a list of components that make up the item. This saves bandwidth by not encoding tag names.

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 void
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
is can place on or can break
predicates lengthvarint
predicates
array
ItemBlockPredicate
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
10saddle
showTooltip bool
is custom model data
floats lengthvarint
floats
array
f32
flags lengthvarint
flags
array
bool
strings lengthvarint
strings
array
string
colors lengthvarint
colors
array
i32
is tooltip display
hideTooltip bool
hiddenComponents lengthvarint
hiddenComponents
array
varint
is repair cost varint
is creative slot lock void
is enchantment glint override bool
is intangible projectile void
is blocks attacks
blockDelaySeconds f32
disableCooldownScale f32
damageReductions lengthvarint
damageReductions
array
horizontalBlockingAngle f32
type
optional
IDSet
base f32
factor f32
itemDamage
threshold f32
base f32
factor f32
bypassedBy
optional
string
blockSound
optional
ItemSoundHolder
disableSound
optional
ItemSoundHolder
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
10bundle
sound ItemSoundHolder
makes particles bool
effects lengthvarint
effects
array
ItemConsumeEffect
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
canDestroyBlocksInCreative bool
is weapon
itemDamagePerAttack varint
disableBlockingForSeconds f32
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
7saddle
sound ItemSoundHolder
model
optional
string
cameraOverlay
optional
string
allowedEntities
optional
IDSet
dispensable bool
swappable bool
damageable bool
equipOnInteract bool
is repairable
items IDSet
is glider void
is tooltip style string
is death protection
effects lengthvarint
effects
array
ItemConsumeEffect
is stored enchantments
enchantments lengthvarint
enchantments
array
id varint

The ID of the enchantment in the enchantment registry.

level varint
is dyed color i32
is map color i32
is map id varint
is map decorations anonymousNbt
is map post processing varint
is potion duration scale f32
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
i32

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

customEffects lengthvarint
customEffects
array
ItemPotionEffect
customName
optional
string
is suspicious stew effects
effects lengthvarint
effects
array
effect varint

The ID of the effect in the potion effect type registry.

duration varint

The duration of the effect.

is writable book content
pages lengthvarint

Max 100 pages

pages
array
ItemBookPage
is written book content
rawTitle string
filteredTitle
optional
string
author string
generation varint
pages lengthvarint
pages
array
ItemWrittenBookPage
resolved bool
is trim
is debug stick state anonymousNbt
is entity data anonymousNbt
is bucket entity data anonymousNbt
is block entity data anonymousNbt
is provides trim material
hasHolder bool
material

if hasHolder
is false string
is ominous bottle amplifier varint
is jukebox playable
hasHolder bool
song

if hasHolder
is false string
is provides banner patterns string
is recipes anonymousNbt
is lodestone tracker
globalPosition
optional
dimension string

Specified if this lodestone points to a position; otherwise it spins randomly.

position position

The position the compass points to. Only present if Has Global Position is true.

tracked bool

Whether the component is removed when the associated lodestone is broken.

is firework explosion ItemFireworkExplosion
is fireworks
flightDuration varint
explosions lengthvarint
explosions
array
ItemFireworkExplosion
is profile
name
optional
string

If the profile has a name, max 16 characters.

uuid
optional
UUID
properties lengthvarint
properties
array
name string

Max 64 characters

value string
signature
optional
string

Max 1024 characters

is note block sound string
is banner patterns
layers lengthvarint
layers
array
BannerPatternLayer
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
properties
array
name string
value string
is bees
bees lengthvarint
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
is break sound ItemSoundHolder
is villager/variant varint
is wolf/variant varint
is wolf/sound variant varint
is wolf/collar varint
is fox/variant varint
is salmon/size varint
is parrot/variant varint
is tropical fish/pattern varint
is tropical fish/base color varint
is tropical fish/pattern color varint
is mooshroom/variant varint
is rabbit/variant varint
is pig/variant varint
is cow/variant varint
is frog/variant varint
is horse/variant varint
is llama/variant varint
is axolotl/variant varint
is cat/variant varint
is cat/collar varint
is sheep/color varint
is shulker/color varint




Field NameField TypeNotes
soundName string
fixedRange
optional
f32




Field NameField TypeNotes
shape
varint enum
0small ball
1large ball
2star
3creeper
4burst
colors lengthvarint

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

colors
array
i32
fadeColors lengthvarint

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

fadeColors
array
i32
hasTrail bool

Whether the firework has a trail.

hasTwinkle bool

Whether the firework has a twinkle effect.





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




Field NameField TypeNotes
id varint
details ItemEffectDetail




Field NameField TypeNotes
name string
isExactMatch bool
value

if isExactMatch
is true
exactValue string
is false
minValue string
maxValue string




Field NameField TypeNotes
exactMatchers ExactComponentMatcher
partialMatchers lengthvarint
partialMatchers
array
varint




Field NameField TypeNotes
properties lengthvarint
properties
array
ItemBlockProperty
nbt anonOptionalNbt
components DataComponentMatchers



Type
ItemBookPage
Datatype

Field NameField TypeNotes
content string

The raw text of the page. TextComponent, max 1024 characters.

filteredContent
optional
string




Field NameField TypeNotes
content anonymousNbt
filteredContent anonOptionalNbt




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
ItemPotionEffect
probability f32
is remove effects
effects IDSet
is clear all effects void
is teleport randomly
diameter f32
is play sound
sound ItemSoundHolder




Field NameField TypeNotes
assetBase string
overrideArmorAssets lengthvarint
overrideArmorAssets
array
key string
value string
description anonymousNbt




Field NameField TypeNotes
assetId string
description anonymousNbt
decal bool




Field NameField TypeNotes
soundEvent ItemSoundHolder
useDuration f32
range f32
description anonymousNbt




Field NameField TypeNotes
soundEvent ItemSoundHolder
description anonymousNbt
lengthInSeconds f32
comparatorOutput varint




Field NameField TypeNotes
assetId string
translationKey string




Field NameField TypeNotes
colorId varint




This represents a single component within an UntrustedSlot. The 'data' field is a varint-prefixed byte array that contains the actual component data. The code generator will need to know that it should read a varint for length, then the bytes.

Field NameField TypeNotes
type SlotComponentType
data ByteArray




An UntrustedSlot is structurally identical to a regular Slot, but it uses the special UntrustedSlotComponent type for its component list. It's optional because the player might be clearing the slot.

Field NameField TypeNotes
itemCount varint
🔁

if itemCount
is 0 void
default
itemId varint
addedComponentCount varint
removedComponentCount varint
Length for components below is addedComponentCount from above
components
array
UntrustedSlotComponent
Length for removeComponents below is removedComponentCount from above
removeComponents
array
type SlotComponentType
is false void



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



Type
HashedSlot
Datatype

Field NameField TypeNotes
itemId varint
itemCount varint
components lengthvarint
components
array
type SlotComponentType
hash i32
removeComponents lengthvarint
removeComponents
array
type SlotComponentType



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
34pale oak leaves
35tinted leaves
36sculk soul
37sculk charge
38sculk charge pop
39soul fire flame
40soul
41flash
42happy villager
43composter
44heart
45instant effect
46item
47vibration
48trail
49item slime
50item cobweb
51item snowball
52large smoke
53lava
54mycelium
55note
56poof
57portal
58rain
59smoke
60white smoke
61sneeze
62spit
63squid ink
64sweep attack
65totem of undying
66underwater
67splash
68witch
69bubble pop
70current down
71bubble column up
72nautilus
73dolphin
74campfire cosy smoke
75campfire signal smoke
76dripping honey
77falling honey
78landing honey
79falling nectar
80falling spore blossom
81ash
82crimson spore
83warped spore
84spore blossom air
85dripping obsidian tear
86falling obsidian tear
87landing obsidian tear
88reverse portal
89white ash
90small flame
91snowflake
92dripping dripstone lava
93falling dripstone lava
94dripping dripstone water
95falling dripstone water
96glow squid ink
97glow
98wax on
99wax off
100electric spark
101scrape
102shriek
103egg crack
104dust plume
105trial spawner detected player
106trial spawner detected player ominous
107vault connection
108dust pillar
109ominous spawning
110raid omen
111trial omen
112block crumble
113firefly
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
positionType
varint enum
0block
1entity
position

if positionType
is block position
is entity
entityId varint
entityEyeHeight f32
ticks varint
is trail
target vec3f64
color u8
is tinted leaves i32
is firefly void



Type
soundSource
Datatype

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




Field NameField TypeNotes
z i32
x i32




Field NameField TypeNotes
previousMessages lengthvarint
previousMessages
array
id varint
signature

if id
default void




Field NameField TypeNotes
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
23cow variant
24wolf variant
25wolf sound variant
26frog variant
27pig variant
28chicken variant
29optional global pos
30painting variant
31sniffer state
32armadillo state
33vector3
34quaternion
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 cow variant varint
is wolf variant varint
is wolf sound variant varint
is frog variant varint
is pig 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



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
name 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:resource selector
48minecraft:template mirror
49minecraft:template rotation
50minecraft:heightmap
51minecraft:loot table
52minecraft:loot predicate
53minecraft:loot modifier
54minecraft: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 or minecraft:resource or tag key or minecraft:resource or minecraft:resource key or minecraft:resource selector
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: 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




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
0x2packet_custom_payload
0x3packet_finish_configuration
0x4packet_keep_alive
0x5packet_pong
0x6packet_resource_pack_receive
Typepacket


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_common_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
TypeSlotDisplay
TypeRecipeDisplay
TypeSpawnInfo
0x1packet_spawn_entity
0x2packet_animation
0x3packet_statistics
0x4packet_acknowledge_player_digging
0x5packet_block_break_animation
0x6packet_tile_entity_data
0x7packet_block_action
0x8packet_block_change
0x9packet_boss_bar
0xapacket_difficulty
0xbpacket_chunk_batch_finished
0xcpacket_chunk_batch_start
0xdpacket_chunk_biomes
0xepacket_clear_titles
0xfpacket_tab_complete
0x10packet_declare_commands
0x11packet_close_window
0x12packet_window_items
0x13packet_craft_progress_bar
0x14packet_set_slot
0x16packet_set_cooldown
0x17packet_chat_suggestions
0x18packet_custom_payload
0x19packet_damage_event
0x1apacket_debug_sample
0x1bpacket_hide_message
0x1cpacket_kick_disconnect
TypeChatTypeParameterType
TypeChatType
TypeChatTypes
0x1dpacket_profileless_chat
0x1epacket_entity_status
0x1fpacket_sync_entity_position
0x20packet_explosion
0x21packet_unload_chunk
0x22packet_game_state_change
0x23packet_open_horse_window
0x24packet_hurt_animation
0x25packet_initialize_world_border
0x26packet_keep_alive
0x27packet_map_chunk
0x28packet_world_event
0x29packet_world_particles
0x2apacket_update_light
0x2bpacket_login
0x2cpacket_map
0x2dpacket_trade_list
0x2epacket_rel_entity_move
0x2fpacket_entity_move_look
0x30packet_move_minecart
0x31packet_entity_look
0x32packet_vehicle_move
0x33packet_open_book
0x34packet_open_window
0x35packet_open_sign_entity
0x36packet_ping
0x37packet_ping_response
0x38packet_craft_recipe_response
0x39packet_abilities
0x3apacket_player_chat
0x3bpacket_end_combat_event
0x3cpacket_enter_combat_event
0x3dpacket_death_combat_event
0x3epacket_player_remove
0x3fpacket_player_info
0x40packet_face_player
0x41packet_position
0x42packet_player_rotation
0x43packet_recipe_book_add
0x44packet_recipe_book_remove
0x45packet_recipe_book_settings
0x46packet_entity_destroy
0x47packet_remove_entity_effect
0x48packet_reset_score
0x4bpacket_respawn
0x4cpacket_entity_head_rotation
0x4dpacket_multi_block_change
0x4epacket_select_advancement_tab
0x4fpacket_server_data
0x50packet_action_bar
0x51packet_world_border_center
0x52packet_world_border_lerp_size
0x53packet_world_border_size
0x54packet_world_border_warning_delay
0x55packet_world_border_warning_reach
0x56packet_camera
0x57packet_update_view_position
0x58packet_update_view_distance
0x59packet_set_cursor_item
0x5apacket_spawn_position
0x5bpacket_scoreboard_display_objective
0x5cpacket_entity_metadata
0x5dpacket_attach_entity
0x5epacket_entity_velocity
0x5fpacket_entity_equipment
0x60packet_experience
0x61packet_update_health
0x62packet_held_item_slot
0x63packet_scoreboard_objective
0x64packet_set_passengers
0x65packet_set_player_inventory
0x66packet_teams
0x67packet_scoreboard_score
0x68packet_simulation_distance
0x69packet_set_title_subtitle
0x6apacket_update_time
0x6bpacket_set_title_text
0x6cpacket_set_title_time
0x6dpacket_entity_sound_effect
0x6epacket_sound_effect
0x6fpacket_start_configuration
0x70packet_stop_sound
0x72packet_system_chat
0x73packet_playerlist_header
0x74packet_nbt_query_response
0x75packet_collect
0x76packet_entity_teleport
0x77packet_test_instance_block_status
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
SlotDisplay
play / toClient / SlotDisplay

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 smithing trim
base SlotDisplay
material SlotDisplay
is with remainder
input SlotDisplay
remainder SlotDisplay
is composite lengthvarint
is composite
array
SlotDisplay



Type
RecipeDisplay
play / toClient / RecipeDisplay

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
SpawnInfo
play / toClient / SpawnInfo

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 animation
play / toClient / packet_animation (0x02)

MC: ClientboundAnimatePacket

Field NameField TypeNotes
entityId varint
animation u8



3
packet statistics
play / toClient / packet_statistics (0x03)

MC: ClientboundAwardStatsPacket

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



4
packet acknowledge player digging
play / toClient / packet_acknowledge_player_digging (0x04)

MC: ClientboundBlockChangedAckPacket

Field NameField TypeNotes
sequenceId varint



5
packet block break animation
play / toClient / packet_block_break_animation (0x05)

MC: ClientboundBlockDestructionPacket

Field NameField TypeNotes
entityId varint
location position
destroyStage i8



6
packet tile entity data
play / toClient / packet_tile_entity_data (0x06)

MC: ClientboundBlockEntityDataPacket

Field NameField TypeNotes
location position
action varint
nbtData anonOptionalNbt



7
packet block action
play / toClient / packet_block_action (0x07)

MC: ClientboundBlockEventPacket

Field NameField TypeNotes
location position
byte1 u8
byte2 u8
blockId varint



8
packet block change
play / toClient / packet_block_change (0x08)

MC: ClientboundBlockUpdatePacket

Field NameField TypeNotes
location position
type varint



9
packet boss bar
play / toClient / packet_boss_bar (0x09)

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



10
packet difficulty
play / toClient / packet_difficulty (0x0a)

MC: ClientboundChangeDifficultyPacket

Field NameField TypeNotes
difficulty u8
difficultyLocked bool



11
packet chunk batch finished
play / toClient / packet_chunk_batch_finished (0x0b)

MC: ClientboundChunkBatchFinishedPacket

Field NameField TypeNotes
batchSize varint



12
packet chunk batch start
play / toClient / packet_chunk_batch_start (0x0c)

MC: ClientboundChunkBatchStartPacket

Field NameField TypeNotes



13
packet chunk biomes
play / toClient / packet_chunk_biomes (0x0d)

Empty MC: ClientboundChunksBiomesPacket

Field NameField TypeNotes
biomes lengthvarint
biomes
array
position packedChunkPos
data ByteArray



14
packet clear titles
play / toClient / packet_clear_titles (0x0e)

MC: ClientboundClearTitlesPacket

Field NameField TypeNotes
reset bool



15
packet tab complete
play / toClient / packet_tab_complete (0x0f)

MC: ClientboundCommandSuggestionsPacket

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



16
packet declare commands
play / toClient / packet_declare_commands (0x10)

MC: ClientboundCommandsPacket

Field NameField TypeNotes
nodes lengthvarint
nodes
array
command_node
rootIndex varint



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

MC: ClientboundContainerClosePacket

Field NameField TypeNotes
windowId ContainerID



18
packet window items
play / toClient / packet_window_items (0x12)

MC: ClientboundContainerSetContentPacket

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



19
packet craft progress bar
play / toClient / packet_craft_progress_bar (0x13)

MC: ClientboundContainerSetDataPacket

Field NameField TypeNotes
windowId ContainerID
property i16
value i16



20
packet set slot
play / toClient / packet_set_slot (0x14)

MC: ClientboundContainerSetSlotPacket

Field NameField TypeNotes
windowId ContainerID
stateId varint
slot i16
item Slot



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

MC: ClientboundCooldownPacket

Field NameField TypeNotes
cooldownGroup string

TODO: figure out what this is

cooldownTicks varint



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

MC: ClientboundCustomChatCompletionsPacket

Field NameField TypeNotes
action varint
entries lengthvarint
entries
array
string



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

MC: ClientboundCustomPayloadPacket

Field NameField TypeNotes
channel string
data restBuffer



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

MC: ClientboundDamageEventPacket

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



26
packet debug sample
play / toClient / packet_debug_sample (0x1a)

MC: ClientboundDebugSamplePacket

Field NameField TypeNotes
sample lengthvarint
sample
array
i64
type varint



27
packet hide message
play / toClient / packet_hide_message (0x1b)

MC: ClientboundDeleteChatPacket

Field NameField TypeNotes
id varint
signature

if id
default void



28
packet kick disconnect
play / toClient / packet_kick_disconnect (0x1c)

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
chat ChatType
narration ChatType



29
packet profileless chat
play / toClient / packet_profileless_chat (0x1d)

MC: ClientboundDisguisedChatPacket

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



30
packet entity status
play / toClient / packet_entity_status (0x1e)

MC: ClientboundEntityEventPacket

Field NameField TypeNotes
entityId i32
entityStatus i8



31
packet sync entity position
play / toClient / packet_sync_entity_position (0x1f)

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



32
packet explosion
play / toClient / packet_explosion (0x20)

MC: ClientboundExplodePacket

Field NameField TypeNotes
x f64
y f64
z f64
playerKnockback
optional
vec3f
explosionParticle Particle
sound ItemSoundHolder



33
packet unload chunk
play / toClient / packet_unload_chunk (0x21)

MC: ClientboundForgetLevelChunkPacket

Field NameField TypeNotes
chunkZ i32
chunkX i32



34
packet game state change
play / toClient / packet_game_state_change (0x22)

MC: ClientboundGameEventPacket

Field NameField TypeNotes
reason u8
gameMode f32



35
packet open horse window
play / toClient / packet_open_horse_window (0x23)

MC: ClientboundHorseScreenOpenPacket

Field NameField TypeNotes
windowId ContainerID
nbSlots varint
entityId i32



36
packet hurt animation
play / toClient / packet_hurt_animation (0x24)

MC: ClientboundHurtAnimationPacket

Field NameField TypeNotes
entityId varint
yaw f32



37
packet initialize world border
play / toClient / packet_initialize_world_border (0x25)

MC: ClientboundInitializeBorderPacket

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



38
packet keep alive
play / toClient / packet_keep_alive (0x26)

MC: ClientboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



39
packet map chunk
play / toClient / packet_map_chunk (0x27)

MC: ClientboundLevelChunkWithLightPacket

Field NameField TypeNotes
x i32
z i32
heightmaps lengthvarint
heightmaps
array
type varint
data lengthvarint
data
array
i64
chunkData ByteArray
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
__1894 lengthvarint
__1894
array
u8
blockLight lengthvarint
blockLight
array
__1896 lengthvarint
__1896
array
u8



40
packet world event
play / toClient / packet_world_event (0x28)

MC: ClientboundLevelEventPacket

Field NameField TypeNotes
effectId i32
location position
data i32
global bool



41
packet world particles
play / toClient / packet_world_particles (0x29)

MC: ClientboundLevelParticlesPacket

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



42
packet update light
play / toClient / packet_update_light (0x2a)

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



43
packet login
play / toClient / packet_login (0x2b)

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



44
packet map
play / toClient / packet_map (0x2c)

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



45
packet trade list
play / toClient / packet_trade_list (0x2d)

MC: ClientboundMerchantOffersPacket

Field NameField TypeNotes
windowId ContainerID
trades lengthvarint
trades
array
inputItem1
itemId varint
itemCount varint
components ExactComponentMatcher
outputItem Slot
inputItem2
optional
itemId varint
itemCount varint
components ExactComponentMatcher
tradeDisabled bool
nbTradeUses i32
maximumNbTradeUses i32
xp i32
specialPrice i32
priceMultiplier f32
demand i32
villagerLevel varint
experience varint
isRegularVillager bool
canRestock bool



46
packet rel entity move
play / toClient / packet_rel_entity_move (0x2e)

MC: ClientboundMoveEntityPacket.Pos

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



47
packet entity move look
play / toClient / packet_entity_move_look (0x2f)

MC: ClientboundMoveEntityPacket.PosRot

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



48
packet move minecart
play / toClient / packet_move_minecart (0x30)

MC: ClientboundMoveMinecartPacket

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



49
packet entity look
play / toClient / packet_entity_look (0x31)

MC: ClientboundMoveEntityPacket.Rot

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



50
packet vehicle move
play / toClient / packet_vehicle_move (0x32)

MC: ClientboundMoveVehiclePacket

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



51
packet open book
play / toClient / packet_open_book (0x33)

MC: ClientboundOpenBookPacket

Field NameField TypeNotes
hand varint



52
packet open window
play / toClient / packet_open_window (0x34)

MC: ClientboundOpenScreenPacket

Field NameField TypeNotes
windowId varint
inventoryType varint
windowTitle anonymousNbt



53
packet open sign entity
play / toClient / packet_open_sign_entity (0x35)

MC: ClientboundOpenSignEditorPacket

Field NameField TypeNotes
location position
isFrontText bool



54
packet ping
play / toClient / packet_ping (0x36)

MC: ClientboundPingPacket

Field NameField TypeNotes
id i32



55
packet ping response
play / toClient / packet_ping_response (0x37)

MC: ClientboundPongResponsePacket

Field NameField TypeNotes
id i64



56
packet craft recipe response
play / toClient / packet_craft_recipe_response (0x38)

MC: ClientboundPlaceGhostRecipePacket

Field NameField TypeNotes
windowId ContainerID
recipeDisplay RecipeDisplay



57
packet abilities
play / toClient / packet_abilities (0x39)

MC: ClientboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



58
packet player chat
play / toClient / packet_player_chat (0x3a)

MC: ClientboundPlayerChatPacket

Field NameField TypeNotes
globalIndex varint
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 ChatTypesHolder
networkName anonymousNbt
networkTargetName
optional
anonymousNbt



59
packet end combat event
play / toClient / packet_end_combat_event (0x3b)

MC: ClientboundPlayerCombatEndPacket

Field NameField TypeNotes
duration varint



60
packet enter combat event
play / toClient / packet_enter_combat_event (0x3c)

MC: ClientboundPlayerCombatEnterPacket

Field NameField TypeNotes



61
packet death combat event
play / toClient / packet_death_combat_event (0x3d)

Empty MC: ClientboundPlayerCombatKillPacket

Field NameField TypeNotes
playerId varint
message anonymousNbt



62
packet player remove
play / toClient / packet_player_remove (0x3e)

MC: ClientboundPlayerInfoRemovePacket

Field NameField TypeNotes
players lengthvarint
players
array
UUID



63
packet player info
play / toClient / packet_player_info (0x3f)

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

if ../action/update list order
is true varint
default void
showHat

if ../action/update hat
is true bool
default void



64
packet face player
play / toClient / packet_face_player (0x40)

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



65
packet position
play / toClient / packet_position (0x41)

https://github.com/extremeheat/extractedminecraftdata/blob/client1.21.2/client/net/minecraft/world/entity/Relative.java#L82 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



66
packet player rotation
play / toClient / packet_player_rotation (0x42)

MC: ClientboundPlayerRotationPacket

Field NameField TypeNotes
yaw f32
pitch f32



67
packet recipe book add
play / toClient / packet_recipe_book_add (0x43)

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



68
packet recipe book remove
play / toClient / packet_recipe_book_remove (0x44)

MC: ClientboundRecipeBookRemovePacket

Field NameField TypeNotes
recipeIds lengthvarint
recipeIds
array
varint



69
packet recipe book settings
play / toClient / packet_recipe_book_settings (0x45)

MC: ClientboundRecipeBookSettingsPacket

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



70
packet entity destroy
play / toClient / packet_entity_destroy (0x46)

MC: ClientboundRemoveEntitiesPacket

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



71
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x47)

MC: ClientboundRemoveMobEffectPacket

Field NameField TypeNotes
entityId varint
effectId varint



72
packet reset score
play / toClient / packet_reset_score (0x48)

MC: ClientboundResetScorePacket

Field NameField TypeNotes
entity name string
objective name
optional
string



75
packet respawn
play / toClient / packet_respawn (0x4b)

MC: ClientboundRespawnPacket

Field NameField TypeNotes
worldState SpawnInfo
copyMetadata u8

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




76
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x4c)

MC: ClientboundRotateHeadPacket

Field NameField TypeNotes
entityId varint
headYaw i8



77
packet multi block change
play / toClient / packet_multi_block_change (0x4d)

MC: ClientboundSectionBlocksUpdatePacket

Field NameField TypeNotes
records lengthvarint
records
array
varint



78
packet select advancement tab
play / toClient / packet_select_advancement_tab (0x4e)

MC: ClientboundSelectAdvancementsTabPacket

Field NameField TypeNotes
id
optional
string



79
packet server data
play / toClient / packet_server_data (0x4f)

MC: ClientboundServerDataPacket

Field NameField TypeNotes
motd anonymousNbt
iconBytes
optional
ByteArray



80
packet action bar
play / toClient / packet_action_bar (0x50)

MC: ClientboundSetActionBarTextPacket

Field NameField TypeNotes
text anonymousNbt



81
packet world border center
play / toClient / packet_world_border_center (0x51)

MC: ClientboundSetBorderCenterPacket

Field NameField TypeNotes
x f64
z f64



82
packet world border lerp size
play / toClient / packet_world_border_lerp_size (0x52)

MC: ClientboundSetBorderLerpSizePacket

Field NameField TypeNotes
oldDiameter f64
newDiameter f64
speed varint



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

MC: ClientboundSetBorderSizePacket

Field NameField TypeNotes
diameter f64



84
packet world border warning delay
play / toClient / packet_world_border_warning_delay (0x54)

MC: ClientboundSetBorderWarningDelayPacket

Field NameField TypeNotes
warningTime varint



85
packet world border warning reach
play / toClient / packet_world_border_warning_reach (0x55)

MC: ClientboundSetBorderWarningDistancePacket

Field NameField TypeNotes
warningBlocks varint



86
packet camera
play / toClient / packet_camera (0x56)

MC: ClientboundSetCameraPacket

Field NameField TypeNotes
cameraId varint



87
packet update view position
play / toClient / packet_update_view_position (0x57)

MC: ClientboundSetChunkCacheCenterPacket

Field NameField TypeNotes
chunkX varint
chunkZ varint



88
packet update view distance
play / toClient / packet_update_view_distance (0x58)

MC: ClientboundSetChunkCacheRadiusPacket

Field NameField TypeNotes
viewDistance varint



89
packet set cursor item
play / toClient / packet_set_cursor_item (0x59)

MC: ClientboundSetCursorItemPacket

Field NameField TypeNotes
contents Slot



90
packet spawn position
play / toClient / packet_spawn_position (0x5a)

MC: ClientboundSetDefaultSpawnPositionPacket

Field NameField TypeNotes
location position
angle f32



91
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x5b)

MC: ClientboundSetDisplayObjectivePacket

Field NameField TypeNotes
position varint
name string



92
packet entity metadata
play / toClient / packet_entity_metadata (0x5c)

MC: ClientboundSetEntityDataPacket

Field NameField TypeNotes
entityId varint
metadata entityMetadata



93
packet attach entity
play / toClient / packet_attach_entity (0x5d)

MC: ClientboundSetEntityLinkPacket

Field NameField TypeNotes
entityId i32
vehicleId i32



94
packet entity velocity
play / toClient / packet_entity_velocity (0x5e)

MC: ClientboundSetEntityMotionPacket

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



95
packet entity equipment
play / toClient / packet_entity_equipment (0x5f)

MC: ClientboundSetEquipmentPacket

Field NameField TypeNotes
entityId varint



96
packet experience
play / toClient / packet_experience (0x60)

MC: ClientboundSetExperiencePacket

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



97
packet update health
play / toClient / packet_update_health (0x61)

MC: ClientboundSetHealthPacket

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



98
packet held item slot
play / toClient / packet_held_item_slot (0x62)

MC: ClientboundSetHeldSlotPacket

Field NameField TypeNotes
slot varint



99
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x63)

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



100
packet set passengers
play / toClient / packet_set_passengers (0x64)

MC: ClientboundSetPassengersPacket

Field NameField TypeNotes
entityId varint
passengers lengthvarint
passengers
array
varint



101
packet set player inventory
play / toClient / packet_set_player_inventory (0x65)

MC: ClientboundSetPlayerInventoryPacket

Field NameField TypeNotes
slotId varint
contents Slot



102
packet teams
play / toClient / packet_teams (0x66)

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 varint
is 2 varint
default void
collisionRule

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



103
packet scoreboard score
play / toClient / packet_scoreboard_score (0x67)

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



104
packet simulation distance
play / toClient / packet_simulation_distance (0x68)

MC: ClientboundSetSimulationDistancePacket

Field NameField TypeNotes
distance varint



105
packet set title subtitle
play / toClient / packet_set_title_subtitle (0x69)

MC: ClientboundSetSubtitleTextPacket

Field NameField TypeNotes
text anonymousNbt



106
packet update time
play / toClient / packet_update_time (0x6a)

MC: ClientboundSetTimePacket

Field NameField TypeNotes
age i64
time i64
tickDayTime bool



107
packet set title text
play / toClient / packet_set_title_text (0x6b)

MC: ClientboundSetTitleTextPacket

Field NameField TypeNotes
text anonymousNbt



108
packet set title time
play / toClient / packet_set_title_time (0x6c)

MC: ClientboundSetTitlesAnimationPacket

Field NameField TypeNotes
fadeIn i32
stay i32
fadeOut i32



109
packet entity sound effect
play / toClient / packet_entity_sound_effect (0x6d)

MC: ClientboundSoundEntityPacket

Field NameField TypeNotes
sound ItemSoundHolder
soundCategory soundSource
entityId varint
volume f32
pitch f32
seed i64



110
packet sound effect
play / toClient / packet_sound_effect (0x6e)

MC: ClientboundSoundPacket

Field NameField TypeNotes
sound ItemSoundHolder
soundCategory soundSource
x i32
y i32
z i32
volume f32
pitch f32
seed i64



111
packet start configuration
play / toClient / packet_start_configuration (0x6f)

MC: ClientboundStartConfigurationPacket

Field NameField TypeNotes



112
packet stop sound
play / toClient / packet_stop_sound (0x70)

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



114
packet system chat
play / toClient / packet_system_chat (0x72)

MC: ClientboundSystemChatPacket

Field NameField TypeNotes
content anonymousNbt
isActionBar bool



115
packet playerlist header
play / toClient / packet_playerlist_header (0x73)

MC: ClientboundTabListPacket

Field NameField TypeNotes
header anonymousNbt
footer anonymousNbt



116
packet nbt query response
play / toClient / packet_nbt_query_response (0x74)

MC: ClientboundTagQueryPacket

Field NameField TypeNotes
transactionId varint
nbt anonOptionalNbt



117
packet collect
play / toClient / packet_collect (0x75)

MC: ClientboundTakeItemEntityPacket

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint
pickupItemCount varint



118
packet entity teleport
play / toClient / packet_entity_teleport (0x76)

MC: ClientboundTeleportEntityPacket

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



119
packet test instance block status
play / toClient / packet_test_instance_block_status (0x77)

MC: ClientboundTestInstanceBlockStatusPacket

Field NameField TypeNotes
status anonymousNbt
size
optional
vec3i



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
__2546 lengthvarint
__2546
array
string
sendsTelemtryData bool
identifiers lengthvarint
identifiers
array
string
progressMapping lengthvarint
progressMapping
array
key string
value lengthvarint
value
array
criterionIdentifier string
criterionProgress
optional
i64
showAdvancements bool



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
2animation
3statistics
4acknowledge player digging
5block break animation
6tile entity data
7block action
8block change
9boss bar
10difficulty
11chunk batch finished
12chunk batch start
13chunk biomes
14clear titles
15tab complete
16declare commands
17close window
18window items
19craft progress bar
20set slot
21cookie request
22set cooldown
23chat suggestions
24custom payload
25damage event
26debug sample
27hide message
28kick disconnect
29profileless chat
30entity status
31sync entity position
32explosion
33unload chunk
34game state change
35open horse window
36hurt animation
37initialize world border
38keep alive
39map chunk
40world event
41world particles
42update light
43login
44map
45trade list
46rel entity move
47entity move look
48move minecart
49entity look
50vehicle move
51open book
52open window
53open sign entity
54ping
55ping response
56craft recipe response
57abilities
58player chat
59end combat event
60enter combat event
61death combat event
62player remove
63player info
64face player
65position
66player rotation
67recipe book add
68recipe book remove
69recipe book settings
70entity destroy
71remove entity effect
72reset score
73remove resource pack
74add resource pack
75respawn
76entity head rotation
77multi block change
78select advancement tab
79server data
80action bar
81world border center
82world border lerp size
83world border size
84world border warning delay
85world border warning reach
86camera
87update view position
88update view distance
89set cursor item
90spawn position
91scoreboard display objective
92entity metadata
93attach entity
94entity velocity
95entity equipment
96experience
97update health
98held item slot
99scoreboard objective
100set passengers
101set player inventory
102teams
103scoreboard score
104simulation distance
105set title subtitle
106update time
107set title text
108set title time
109entity sound effect
110sound effect
111start configuration
112stop sound
113store cookie
114system chat
115playerlist header
116nbt query response
117collect
118entity teleport
119test instance block status
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 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 test instance block status packet_test_instance_block_status
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
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_from_block
0x23packet_pick_item_from_entity
0x24packet_ping_request
0x25packet_craft_recipe_request
0x26packet_abilities
0x27packet_block_dig
0x28packet_entity_action
0x29packet_player_input
0x2apacket_player_loaded
0x2bpacket_pong
0x2cpacket_recipe_book
0x2dpacket_displayed_recipe
0x2epacket_name_item
0x2fpacket_resource_pack_receive
0x30packet_advancement_tab
0x31packet_select_trade
0x32packet_set_beacon_effect
0x33packet_held_item_slot
0x34packet_update_command_block
0x35packet_update_command_block_minecart
0x36packet_set_creative_slot
0x37packet_update_jigsaw_block
0x38packet_update_structure_block
0x39packet_set_test_block
0x3apacket_update_sign
0x3bpacket_arm_animation
0x3dpacket_spectate
0x3cpacket_test_instance_block_action
0x3epacket_block_place
0x3fpacket_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
checksum i8



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

MC: ServerboundChatPacket

Field NameField TypeNotes
message string
timestamp i64
salt i64
offset varint
checksum i8



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



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

Empty 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
optional
HashedSlot
cursorItem
optional
HashedSlot



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



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

MC: ServerboundPaddleBoatPacket

Field NameField TypeNotes
leftPaddle bool
rightPaddle bool



34
packet pick item from block
play / toServer / packet_pick_item_from_block (0x22)

MC: ServerboundPickItemFromBlockPacket

Field NameField TypeNotes
position position
includeData bool



35
packet pick item from entity
play / toServer / packet_pick_item_from_entity (0x23)

MC: ServerboundPickItemFromEntityPacket

Field NameField TypeNotes
entityId varint
includeData bool



36
packet ping request
play / toServer / packet_ping_request (0x24)

MC: ServerboundPingRequestPacket

Field NameField TypeNotes
id i64



37
packet craft recipe request
play / toServer / packet_craft_recipe_request (0x25)

MC: ServerboundPlaceRecipePacket

Field NameField TypeNotes
windowId ContainerID
recipeId varint
makeAll bool



38
packet abilities
play / toServer / packet_abilities (0x26)

MC: ServerboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8



39
packet block dig
play / toServer / packet_block_dig (0x27)

MC: ServerboundPlayerActionPacket

Field NameField TypeNotes
status varint
location position
face i8
sequence varint



40
packet entity action
play / toServer / packet_entity_action (0x28)

MC: ServerboundPlayerCommandPacket

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



41
packet player input
play / toServer / packet_player_input (0x29)

MC: ServerboundPlayerInputPacket previously: packetsteervehicle

Field NameField TypeNotes



42
packet player loaded
play / toServer / packet_player_loaded (0x2a)

MC: ServerboundPlayerLoadedPacket

Field NameField TypeNotes



43
packet pong
play / toServer / packet_pong (0x2b)

Empty MC: ServerboundPongPacket

Field NameField TypeNotes
id i32



44
packet recipe book
play / toServer / packet_recipe_book (0x2c)

MC: ServerboundRecipeBookChangeSettingsPacket

Field NameField TypeNotes
bookId varint
bookOpen bool
filterActive bool



45
packet displayed recipe
play / toServer / packet_displayed_recipe (0x2d)

MC: ServerboundRecipeBookSeenRecipePacket

Field NameField TypeNotes
recipeId varint



46
packet name item
play / toServer / packet_name_item (0x2e)

MC: ServerboundRenameItemPacket

Field NameField TypeNotes
name string



47
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x2f)

MC: ServerboundResourcePackPacket

Field NameField TypeNotes
uuid UUID
result varint



48
packet advancement tab
play / toServer / packet_advancement_tab (0x30)

MC: ServerboundSeenAdvancementsPacket

Field NameField TypeNotes
action varint
tabId

if action
is 0 string
is 1 void



49
packet select trade
play / toServer / packet_select_trade (0x31)

MC: ServerboundSelectTradePacket

Field NameField TypeNotes
slot varint



50
packet set beacon effect
play / toServer / packet_set_beacon_effect (0x32)

MC: ServerboundSetBeaconPacket

Field NameField TypeNotes
primary effect
optional
varint
secondary effect
optional
varint



51
packet held item slot
play / toServer / packet_held_item_slot (0x33)

MC: ServerboundSetCarriedItemPacket

Field NameField TypeNotes
slotId i16



52
packet update command block
play / toServer / packet_update_command_block (0x34)

MC: ServerboundSetCommandBlockPacket

Field NameField TypeNotes
location position
command string
mode varint
flags u8



53
packet update command block minecart
play / toServer / packet_update_command_block_minecart (0x35)

MC: ServerboundSetCommandMinecartPacket

Field NameField TypeNotes
entityId varint
command string
track output bool



54
packet set creative slot
play / toServer / packet_set_creative_slot (0x36)

MC: ServerboundSetCreativeModeSlotPacket

Field NameField TypeNotes
slot i16
item UntrustedSlot



55
packet update jigsaw block
play / toServer / packet_update_jigsaw_block (0x37)

MC: ServerboundSetJigsawBlockPacket

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



56
packet update structure block
play / toServer / packet_update_structure_block (0x38)

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 enum
0ignore entities
1show air
2show bounding box
3strict



57
packet set test block
play / toServer / packet_set_test_block (0x39)

MC: ServerboundSetTestBlockPacket

Field NameField TypeNotes
position position
mode varint
message string



58
packet update sign
play / toServer / packet_update_sign (0x3a)

MC: ServerboundSignUpdatePacket

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



59
packet arm animation
play / toServer / packet_arm_animation (0x3b)

MC: ServerboundSwingPacket

Field NameField TypeNotes
hand varint



61
packet spectate
play / toServer / packet_spectate (0x3d)

MC: ServerboundTeleportToEntityPacket

Field NameField TypeNotes
target UUID



60
packet test instance block action
play / toServer / packet_test_instance_block_action (0x3c)

MC: ServerboundTestInstanceBlockActionPacket

Field NameField TypeNotes
pos position
action varint
data
test
optional
string
size vec3i
rotation varint
ignoreEntities bool
status varint
errorMessage
optional
anonymousNbt



62
packet block place
play / toServer / packet_block_place (0x3e)

MC: ServerboundUseItemOnPacket

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



63
packet use item
play / toServer / packet_use_item (0x3f)

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 from block
35pick item from entity
36ping request
37craft recipe request
38abilities
39block dig
40entity action
41player input
42player loaded
43pong
44recipe book
45displayed recipe
46name item
47resource pack receive
48advancement tab
49select trade
50set beacon effect
51held item slot
52update command block
53update command block minecart
54set creative slot
55update jigsaw block
56update structure block
57set test block
58update sign
59arm animation
60test instance block action
61spectate
62block place
63use 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_common_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 from block packet_pick_item_from_block
is pick item from entity packet_pick_item_from_entity
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 player loaded packet_player_loaded
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 set test block packet_set_test_block
is update sign packet_update_sign
is arm animation packet_arm_animation
is test instance block action packet_test_instance_block_action
is spectate packet_spectate
is block place packet_block_place
is use item packet_use_item