Table of Contents

KeyName
Typevec3f
Typevec4f
Typevec3f64
TypeSlotComponentType
TypeSlotComponent
TypeSlot
TypeFireworkExplosion
TypeBookPage
TypeEffectDetail
TypeBlockSet
TypeBlockProperty
TypeBlockPredicate
TypeParticle
Typeingredient
TypesoundSource
TypepackedChunkPos
TypepreviousMessages
TypeentityMetadataEntry
Typeminecraft_simple_recipe_format
Typeminecraft_smelting_format
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


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




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




Field NameField TypeNotes
type SlotComponentType
data

if type
is custom data anonymousNbt

TODO: look into how nbt works here

is max stack size varint
is max damage varint
is damage varint
is unbreakable bool
is custom name anonymousNbt
is item name anonymousNbt
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
uniqueId UUID
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

Name Type Description Nutrition VarInt Non-negative Saturation Modifier Float How much saturation will be given after consuming the item. Can Always Eat Boolean Whether the item can always be eaten, even at full hunger. Seconds To Eat Float How long it takes to consume the item. Using converts to Slot Data This specifies the item produced after consuming the current item. In the Notchian server, this is used for stews, which turn into bowls. Set this to Air if the item should be consumed normally without leaving any other item after. Number of effects VarInt Number of elements in the following array. Effect Type ID Array Potion Effect The potion effect. See Potion Effect. Probability Float The probability for this effect to be chosen.

saturationModifier f32
canAlwaysEat bool
secondsToEat f32
usingConvertsTo Slot
effects lengthvarint
effects
array
effect varint
probability f32
is fire resistant void
is tool
rules lengthvarint

Name Type Description Number of Rules VarInt The number of elements in the following array. Rule Blocks Array Block Set The block this rule applies to. See Block Set. Has Speed Boolean
Speed Optional Float The speed at which the tool breaks this rules' blocks. Only present if Has Speed is true. Has Correct Drop For Blocks Boolean
Correct Drop For Blocks Optional Boolean Whether items should drop only if this is the correct tool. Only present if Has Correct Drop For Blocks is true. Default Mining Speed Float The mining speed in case none of the previous rule were matched. Damage Per Block VarInt The amount of damage the item takes per block break.

rules
array
blocks lengthvarint
blocks
array
BlockSet
hasSpeed bool
speed f32
hasCorrectDropForBlocks bool
correctDropForBlocks bool
defaultMiningSpeed f32
damagePerBlock varint
is stored enchantments
enchantments lengthvarint

Name Type Description Number of enchantments VarInt Number of elements in the following array. Enchantment Type ID Array VarInt Enum The ID of the enchantment in the enchantment registry. Level VarInt The level of the enchantment. Show In Tooltip Boolean Whether the list of enchantments should be shown on the item's tooltip.

enchantments
array
id varint
level varint
showInTooltip bool
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
hasPotionId bool

Name Type Description Has Potion ID Boolean Whether this potion has an ID in the potion registry. If true, it has the default effects associated with the potion type. Potion ID Optional VarInt The ID of the potion type in the potion registry. Only present if Has Potion ID is true. Has Custom Color Boolean Whether this potion has a custom color. If false, it uses the default color associated with the potion type. Custom Color Optional Int The RGB components of the color, encoded as an integer. Only present if Has Custom Color is true. Number Of Custom Effects VarInt The number of elements in the following array. Custom Effects Array of Potion Effect Any custom effects the potion might have. See Potion Effect.

potionId optvarint
hasCustomColor bool
customColor optvarint
customEffects lengthvarint
customEffects
array
effect varint
details EffectDetail
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 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 vec3f
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 i8
🔁

if itemCount
is 0 void
default
itemId varint
addedComponentCount varint

https://wiki.vg/SlotData#Structuredcomponents

  • public static final DataComponentType CUSTOM_DATA = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final IntComponentType MAXSTACKSIZE = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final IntComponentType MAX_DAMAGE = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final IntComponentType DAMAGE = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final BooleanComponentType UNBREAKABLE = new BooleanComponentType(ByteBuf::readBoolean, ByteBuf::writeBoolean, BooleanDataComponent::new);
  • public static final DataComponentType CUSTOM_NAME = new DataComponentType<>(ItemCodecHelper::readComponent, ItemCodecHelper::writeComponent, ObjectDataComponent::new);
  • public static final DataComponentType ITEM_NAME = new DataComponentType<>(ItemCodecHelper::readComponent, ItemCodecHelper::writeComponent, ObjectDataComponent::new);
  • public static final DataComponentType> LORE = new DataComponentType<>(listReader(ItemCodecHelper::readComponent), listWriter(ItemCodecHelper::writeComponent), ObjectDataComponent::new);
  • public static final IntComponentType RARITY = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType ENCHANTMENTS = new DataComponentType<>(ItemCodecHelper::readItemEnchantments, ItemCodecHelper::writeItemEnchantments, ObjectDataComponent::new);
  • public static final DataComponentType CANPLACEON = new DataComponentType<>(ItemCodecHelper::readAdventureModePredicate, ItemCodecHelper::writeAdventureModePredicate, ObjectDataComponent::new);
  • public static final DataComponentType CAN_BREAK = new DataComponentType<>(ItemCodecHelper::readAdventureModePredicate, ItemCodecHelper::writeAdventureModePredicate, ObjectDataComponent::new);
  • public static final DataComponentType ATTRIBUTE_MODIFIERS = new DataComponentType<>(ItemCodecHelper::readItemAttributeModifiers, ItemCodecHelper::writeItemAttributeModifiers, ObjectDataComponent::new);
  • public static final IntComponentType CUSTOMMODELDATA = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType HIDEADDITIONALTOOLTIP = new DataComponentType<>(unitReader(), unitWriter(), ObjectDataComponent::new);
  • public static final DataComponentType HIDE_TOOLTIP = new DataComponentType<>(unitReader(), unitWriter(), ObjectDataComponent::new);
  • public static final IntComponentType REPAIR_COST = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType CREATIVESLOTLOCK = new DataComponentType<>(unitReader(), unitWriter(), ObjectDataComponent::new);
  • public static final BooleanComponentType ENCHANTMENTGLINTOVERRIDE = new BooleanComponentType(ByteBuf::readBoolean, ByteBuf::writeBoolean, BooleanDataComponent::new);
  • public static final DataComponentType INTANGIBLE_PROJECTILE = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final DataComponentType FOOD = new DataComponentType<>(ItemCodecHelper::readFoodProperties, ItemCodecHelper::writeFoodProperties, ObjectDataComponent::new);
  • public static final DataComponentType FIRE_RESISTANT = new DataComponentType<>(unitReader(), unitWriter(), ObjectDataComponent::new);
  • public static final DataComponentType TOOL = new DataComponentType<>(ItemCodecHelper::readToolData, ItemCodecHelper::writeToolData, ObjectDataComponent::new);
  • public static final DataComponentType STORED_ENCHANTMENTS = new DataComponentType<>(ItemCodecHelper::readItemEnchantments, ItemCodecHelper::writeItemEnchantments, ObjectDataComponent::new);
  • public static final DataComponentType DYED_COLOR = new DataComponentType<>(ItemCodecHelper::readDyedItemColor, ItemCodecHelper::writeDyedItemColor, ObjectDataComponent::new);
  • public static final IntComponentType MAP_COLOR = new IntComponentType((helper, input) -> input.readInt(), (helper, output, value) -> output.writeInt(value), IntDataComponent::new);
  • public static final IntComponentType MAP_ID = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType MAP_DECORATIONS = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final IntComponentType MAPPOSTPROCESSING = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType> CHARGED_PROJECTILES = new DataComponentType<>(listReader(ItemCodecHelper::readItemStack), listWriter(ItemCodecHelper::writeItemStack), ObjectDataComponent::new);
  • public static final DataComponentType> BUNDLE_CONTENTS = new DataComponentType<>(listReader(ItemCodecHelper::readItemStack), listWriter(ItemCodecHelper::writeItemStack), ObjectDataComponent::new);
  • public static final DataComponentType POTION_CONTENTS = new DataComponentType<>(ItemCodecHelper::readPotionContents, ItemCodecHelper::writePotionContents, ObjectDataComponent::new);
  • public static final DataComponentType> SUSPICIOUSSTEWEFFECTS = new DataComponentType<>(listReader(ItemCodecHelper::readStewEffect), listWriter(ItemCodecHelper::writeStewEffect), ObjectDataComponent::new);
  • public static final DataComponentType WRITABLEBOOKCONTENT = new DataComponentType<>(ItemCodecHelper::readWritableBookContent, ItemCodecHelper::writeWritableBookContent, ObjectDataComponent::new);
  • public static final DataComponentType WRITTENBOOKCONTENT = new DataComponentType<>(ItemCodecHelper::readWrittenBookContent, ItemCodecHelper::writeWrittenBookContent, ObjectDataComponent::new);
  • public static final DataComponentType TRIM = new DataComponentType<>(ItemCodecHelper::readArmorTrim, ItemCodecHelper::writeArmorTrim, ObjectDataComponent::new);
  • public static final DataComponentType DEBUGSTICKSTATE = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final DataComponentType ENTITY_DATA = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final DataComponentType BUCKETENTITYDATA = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final DataComponentType BLOCKENTITYDATA = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
  • public static final DataComponentType> INSTRUMENT = new DataComponentType<>(ItemCodecHelper::readInstrument, ItemCodecHelper::writeInstrument, ObjectDataComponent::new);
  • public static final IntComponentType OMINOUSBOTTLEAMPLIFIER = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType RECIPES = new DataComponentType<>(ItemCodecHelper::readRecipes, ItemCodecHelper::writeRecipes, ObjectDataComponent::new);
  • public static final DataComponentType LODESTONE_TRACKER = new DataComponentType<>(ItemCodecHelper::readLodestoneTarget, ItemCodecHelper::writeLodestoneTarget, ObjectDataComponent::new);
  • public static final DataComponentType FIREWORK_EXPLOSION = new DataComponentType<>(ItemCodecHelper::readFireworkExplosion, ItemCodecHelper::writeFireworkExplosion, ObjectDataComponent::new);
  • public static final DataComponentType FIREWORKS = new DataComponentType<>(ItemCodecHelper::readFireworks, ItemCodecHelper::writeFireworks, ObjectDataComponent::new);
  • public static final DataComponentType PROFILE = new DataComponentType<>(ItemCodecHelper::readResolvableProfile, ItemCodecHelper::writeResolvableProfile, ObjectDataComponent::new);
  • public static final DataComponentType NOTEBLOCKSOUND = new DataComponentType<>(ItemCodecHelper::readResourceLocation, ItemCodecHelper::writeResourceLocation, ObjectDataComponent::new);
  • public static final DataComponentType> BANNER_PATTERNS = new DataComponentType<>(listReader(ItemCodecHelper::readBannerPatternLayer), listWriter(ItemCodecHelper::writeBannerPatternLayer), ObjectDataComponent::new);
  • public static final IntComponentType BASE_COLOR = new IntComponentType(ItemCodecHelper::readVarInt, ItemCodecHelper::writeVarInt, IntDataComponent::new);
  • public static final DataComponentType> POT_DECORATIONS = new DataComponentType<>(listReader(ItemCodecHelper::readVarInt), listWriter(ItemCodecHelper::writeVarInt), ObjectDataComponent::new);
  • public static final DataComponentType> CONTAINER = new DataComponentType<>(listReader(ItemCodecHelper::readOptionalItemStack), listWriter(MinecraftCodecHelper::writeOptionalItemStack), ObjectDataComponent::new);
  • public static final DataComponentType BLOCK_STATE = new DataComponentType<>(ItemCodecHelper::readBlockStateProperties, ItemCodecHelper::writeBlockStateProperties, ObjectDataComponent::new);
  • public static final DataComponentType> BEES = new DataComponentType<>(listReader(ItemCodecHelper::readBeehiveOccupant), listWriter(ItemCodecHelper::writeBeehiveOccupant), ObjectDataComponent::new);
  • public static final DataComponentType LOCK = new DataComponentType<>(ItemCodecHelper::readLock, ItemCodecHelper::writeLock, ObjectDataComponent::new);
  • public static final DataComponentType CONTAINER_LOOT = new DataComponentType<>(ItemCodecHelper::readAnyTag, ItemCodecHelper::writeAnyTag, ObjectDataComponent::new);
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
BlockSet
Datatype

Field NameField TypeNotes
type varint
name

if type
is 0 string
default void
blockIds

if type
is 0 void

TODO: This will require a custom type ; we need type - 1 length of blockIds





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
blockSet lengthvarint
blockSet
array
BlockSet
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
46item slime
47item cobweb
48item snowball
49large smoke
50lava
51mycelium
52note
53poof
54portal
55rain
56smoke
57white smoke
58sneeze
59spit
60squid ink
61sweep attack
62totem of undying
63underwater
64splash
65witch
66bubble pop
67current down
68bubble column up
69nautilus
70dolphin
71campfire cosy smoke
72campfire signal smoke
73dripping honey
74falling honey
75landing honey
76falling nectar
77falling spore blossom
78ash
79crimson spore
80warped spore
81spore blossom air
82dripping obsidian tear
83falling obsidian tear
84landing obsidian tear
85reverse portal
86white ash
87small flame
88snowflake
89dripping dripstone lava
90falling dripstone lava
91dripping dripstone water
92falling dripstone water
93glow squid ink
94glow
95wax on
96wax off
97electric spark
98scrape
99shriek
100egg crack
101dust plume
102trial spawner detected player
103trial spawner detected player ominous
104vault connection
105dust pillar
106ominous spawning
107raid omen
108trial omen
data

if type
is block or block marker or falling dust or dust pillar 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 string
entityId varint



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 wolf variant varint
is frog variant varint
is painting variant varint
is sniffer state varint
is armadillo state varint
is vector3 vec3f
is quaternion vec4f




Field NameField TypeNotes
category varint




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



Type
tags
Datatype

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




Field NameField TypeNotes
y i16
type varint
nbtData anonOptionalNbt



Type
chat session
Datatype

Field NameField TypeNotes
uuid UUID
publicKey
expireTime i64



Type
game profile
Datatype

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



Type
command node
Datatype

Field NameField TypeNotes
children lengthvarint
children
array
varint
redirectNode

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

if flags/command node type
is 0 void
is 1
name string
is 2
name string
parser
varint enum
0brigadier:bool
1brigadier:float
2brigadier:double
3brigadier:integer
4brigadier:long
5brigadier:string
6minecraft:entity
7minecraft:game profile
8minecraft:block pos
9minecraft:column pos
10minecraft:vec3
11minecraft:vec2
12minecraft:block state
13minecraft:block predicate
14minecraft:item stack
15minecraft:item predicate
16minecraft:color
17minecraft:component
18minecraft: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



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: ClientboundGameProfilePacket

Field NameField TypeNotes
uuid UUID
username string
properties lengthvarint
properties
array
name string
value string
signature
optional
string
strictErrorHandling bool



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
0x8packet_remove_resource_pack
0x9packet_add_resource_pack
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



8
packet remove resource pack
configuration / toClient / packet_remove_resource_pack (0x08)

MC: ClientboundResourcePackPopPacket

Field NameField TypeNotes
uuid
optional
UUID



9
packet add resource pack
configuration / toClient / packet_add_resource_pack (0x09)

MC: ClientboundResourcePackPushPacket

Field NameField TypeNotes
uuid UUID
url string
hash string
forced bool
promptMessage
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
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_remove_resource_pack
is add resource pack packet_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



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



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



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
0x1epacket_profileless_chat
0x1fpacket_entity_status
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_entity_look
0x31packet_vehicle_move
0x32packet_open_book
0x33packet_open_window
0x34packet_open_sign_entity
0x35packet_ping
0x36packet_ping_response
0x37packet_craft_recipe_response
0x38packet_abilities
0x39packet_player_chat
0x3apacket_end_combat_event
0x3bpacket_enter_combat_event
0x3cpacket_death_combat_event
0x3dpacket_player_remove
0x3epacket_player_info
0x3fpacket_face_player
0x40packet_position
0x41packet_unlock_recipes
0x42packet_entity_destroy
0x43packet_remove_entity_effect
0x44packet_reset_score
0x45packet_remove_resource_pack
0x46packet_add_resource_pack
0x47packet_respawn
0x48packet_entity_head_rotation
0x49packet_multi_block_change
0x4apacket_select_advancement_tab
0x4bpacket_server_data
0x4cpacket_action_bar
0x4dpacket_world_border_center
0x4epacket_world_border_lerp_size
0x4fpacket_world_border_size
0x50packet_world_border_warning_delay
0x51packet_world_border_warning_reach
0x52packet_camera
0x53packet_held_item_slot
0x54packet_update_view_position
0x55packet_update_view_distance
0x56packet_spawn_position
0x57packet_scoreboard_display_objective
0x58packet_entity_metadata
0x59packet_attach_entity
0x5apacket_entity_velocity
0x5bpacket_entity_equipment
0x5cpacket_experience
0x5dpacket_update_health
0x5epacket_scoreboard_objective
0x5fpacket_set_passengers
0x60packet_teams
0x61packet_scoreboard_score
0x62packet_simulation_distance
0x63packet_set_title_subtitle
0x64packet_update_time
0x65packet_set_title_text
0x66packet_set_title_time
0x67packet_entity_sound_effect
0x68packet_sound_effect
0x69packet_start_configuration
0x6apacket_stop_sound
0x6cpacket_system_chat
0x6dpacket_playerlist_header
0x6epacket_nbt_query_response
0x6fpacket_collect
0x70packet_entity_teleport
0x71packet_set_ticking_state
0x72packet_step_tick
0x74packet_advancements
0x75packet_entity_update_attributes
0x76packet_entity_effect
0x77packet_declare_recipes
0x78packet_tags
Typepacket_set_projectile_power
Typepacket


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



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 u8



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

MC: ClientboundContainerSetContentPacket

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



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

MC: ClientboundContainerSetDataPacket

Field NameField TypeNotes
windowId u8
property i16
value i16



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

MC: ClientboundContainerSetSlotPacket

Field NameField TypeNotes
windowId i8
stateId varint
slot i16
item Slot



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

MC: ClientboundCooldownPacket

Field NameField TypeNotes
itemID varint
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



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

MC: ClientboundDisguisedChatPacket

Field NameField TypeNotes
message anonymousNbt
type varint
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 explosion
play / toClient / packet_explosion (0x20)

MC: ClientboundExplodePacket

Field NameField TypeNotes
x f64
y f64
z f64
radius f32
affectedBlockOffsets lengthvarint
affectedBlockOffsets
array
x i8
y i8
z i8
playerMotionX f32
playerMotionY f32
playerMotionZ f32
block interaction type varint
small explosion particle Particle
large explosion particle Particle
soundId varint
🔁

if soundId
is 0
soundName string
range
optional
f32
default



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 u8
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 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
__1722 lengthvarint
__1722
array
u8
blockLight lengthvarint
blockLight
array
__1724 lengthvarint
__1724
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
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
__1752 lengthvarint
__1752
array
u8
blockLight lengthvarint
blockLight
array
__1754 lengthvarint
__1754
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 varint
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



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 entity look
play / toClient / packet_entity_look (0x30)

MC: ClientboundMoveEntityPacket.Rot

Field NameField TypeNotes
entityId varint
yaw i8
pitch i8
onGround bool



49
packet vehicle move
play / toClient / packet_vehicle_move (0x31)

MC: ClientboundMoveVehiclePacket

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



50
packet open book
play / toClient / packet_open_book (0x32)

MC: ClientboundOpenBookPacket

Field NameField TypeNotes
hand varint



51
packet open window
play / toClient / packet_open_window (0x33)

MC: ClientboundOpenScreenPacket

Field NameField TypeNotes
windowId varint
inventoryType varint
windowTitle anonymousNbt



52
packet open sign entity
play / toClient / packet_open_sign_entity (0x34)

MC: ClientboundOpenSignEditorPacket

Field NameField TypeNotes
location position
isFrontText bool



53
packet ping
play / toClient / packet_ping (0x35)

MC: ClientboundPingPacket

Field NameField TypeNotes
id i32



54
packet ping response
play / toClient / packet_ping_response (0x36)

MC: ClientboundPongResponsePacket

Field NameField TypeNotes
id i64



55
packet craft recipe response
play / toClient / packet_craft_recipe_response (0x37)

MC: ClientboundPlaceGhostRecipePacket

Field NameField TypeNotes
windowId i8
recipe string



56
packet abilities
play / toClient / packet_abilities (0x38)

MC: ClientboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8
flyingSpeed f32
walkingSpeed f32



57
packet player chat
play / toClient / packet_player_chat (0x39)

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 varint
networkName anonymousNbt
networkTargetName
optional
anonymousNbt



58
packet end combat event
play / toClient / packet_end_combat_event (0x3a)

MC: ClientboundPlayerCombatEndPacket

Field NameField TypeNotes
duration varint



59
packet enter combat event
play / toClient / packet_enter_combat_event (0x3b)

MC: ClientboundPlayerCombatEnterPacket

Field NameField TypeNotes



60
packet death combat event
play / toClient / packet_death_combat_event (0x3c)

Empty MC: ClientboundPlayerCombatKillPacket

Field NameField TypeNotes
playerId varint
message anonymousNbt



61
packet player remove
play / toClient / packet_player_remove (0x3d)

MC: ClientboundPlayerInfoRemovePacket

Field NameField TypeNotes
players lengthvarint
players
array
UUID



62
packet player info
play / toClient / packet_player_info (0x3e)

MC: ClientboundPlayerInfoUpdatePacket

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

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

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

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

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

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

if ../action
default void



63
packet face player
play / toClient / packet_face_player (0x3f)

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



64
packet position
play / toClient / packet_position (0x40)

MC: ClientboundPlayerPositionPacket

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



65
packet unlock recipes
play / toClient / packet_unlock_recipes (0x41)

MC: ClientboundRecipePacket

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

if action
is 0 lengthvarint
is 0
array
string
default void



66
packet entity destroy
play / toClient / packet_entity_destroy (0x42)

MC: ClientboundRemoveEntitiesPacket

Field NameField TypeNotes
entityIds lengthvarint
entityIds
array
varint



67
packet remove entity effect
play / toClient / packet_remove_entity_effect (0x43)

MC: ClientboundRemoveMobEffectPacket

Field NameField TypeNotes
entityId varint
effectId varint



68
packet reset score
play / toClient / packet_reset_score (0x44)

MC: ClientboundResetScorePacket

Field NameField TypeNotes
entity name string
objective name
optional
string



69
packet remove resource pack
play / toClient / packet_remove_resource_pack (0x45)

MC: ClientboundResourcePackPopPacket

Field NameField TypeNotes
uuid
optional
UUID



70
packet add resource pack
play / toClient / packet_add_resource_pack (0x46)

MC: ClientboundResourcePackPushPacket

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



71
packet respawn
play / toClient / packet_respawn (0x47)

MC: ClientboundRespawnPacket

Field NameField TypeNotes
worldState SpawnInfo
copyMetadata bool



72
packet entity head rotation
play / toClient / packet_entity_head_rotation (0x48)

MC: ClientboundRotateHeadPacket

Field NameField TypeNotes
entityId varint
headYaw i8



73
packet multi block change
play / toClient / packet_multi_block_change (0x49)

MC: ClientboundSectionBlocksUpdatePacket

Field NameField TypeNotes
records lengthvarint
records
array
varint



74
packet select advancement tab
play / toClient / packet_select_advancement_tab (0x4a)

MC: ClientboundSelectAdvancementsTabPacket

Field NameField TypeNotes
id
optional
string



75
packet server data
play / toClient / packet_server_data (0x4b)

MC: ClientboundServerDataPacket

Field NameField TypeNotes
motd anonymousNbt
iconBytes
optional
ByteArray



76
packet action bar
play / toClient / packet_action_bar (0x4c)

MC: ClientboundSetActionBarTextPacket

Field NameField TypeNotes
text anonymousNbt



77
packet world border center
play / toClient / packet_world_border_center (0x4d)

MC: ClientboundSetBorderCenterPacket

Field NameField TypeNotes
x f64
z f64



78
packet world border lerp size
play / toClient / packet_world_border_lerp_size (0x4e)

MC: ClientboundSetBorderLerpSizePacket

Field NameField TypeNotes
oldDiameter f64
newDiameter f64
speed varint



79
packet world border size
play / toClient / packet_world_border_size (0x4f)

MC: ClientboundSetBorderSizePacket

Field NameField TypeNotes
diameter f64



80
packet world border warning delay
play / toClient / packet_world_border_warning_delay (0x50)

MC: ClientboundSetBorderWarningDelayPacket

Field NameField TypeNotes
warningTime varint



81
packet world border warning reach
play / toClient / packet_world_border_warning_reach (0x51)

MC: ClientboundSetBorderWarningDistancePacket

Field NameField TypeNotes
warningBlocks varint



82
packet camera
play / toClient / packet_camera (0x52)

MC: ClientboundSetCameraPacket

Field NameField TypeNotes
cameraId varint



83
packet held item slot
play / toClient / packet_held_item_slot (0x53)

MC: ClientboundSetCarriedItemPacket

Field NameField TypeNotes
slot i8



84
packet update view position
play / toClient / packet_update_view_position (0x54)

MC: ClientboundSetChunkCacheCenterPacket

Field NameField TypeNotes
chunkX varint
chunkZ varint



85
packet update view distance
play / toClient / packet_update_view_distance (0x55)

MC: ClientboundSetChunkCacheRadiusPacket

Field NameField TypeNotes
viewDistance varint



86
packet spawn position
play / toClient / packet_spawn_position (0x56)

MC: ClientboundSetDefaultSpawnPositionPacket

Field NameField TypeNotes
location position
angle f32



87
packet scoreboard display objective
play / toClient / packet_scoreboard_display_objective (0x57)

MC: ClientboundSetDisplayObjectivePacket

Field NameField TypeNotes
position varint
name string



88
packet entity metadata
play / toClient / packet_entity_metadata (0x58)

MC: ClientboundSetEntityDataPacket

Field NameField TypeNotes
entityId varint
metadata entityMetadata



89
packet attach entity
play / toClient / packet_attach_entity (0x59)

MC: ClientboundSetEntityLinkPacket

Field NameField TypeNotes
entityId i32
vehicleId i32



90
packet entity velocity
play / toClient / packet_entity_velocity (0x5a)

MC: ClientboundSetEntityMotionPacket

Field NameField TypeNotes
entityId varint
velocityX i16
velocityY i16
velocityZ i16



91
packet entity equipment
play / toClient / packet_entity_equipment (0x5b)

MC: ClientboundSetEquipmentPacket

Field NameField TypeNotes
entityId varint



92
packet experience
play / toClient / packet_experience (0x5c)

MC: ClientboundSetExperiencePacket

Field NameField TypeNotes
experienceBar f32
level varint
totalExperience varint



93
packet update health
play / toClient / packet_update_health (0x5d)

MC: ClientboundSetHealthPacket

Field NameField TypeNotes
health f32
food varint
foodSaturation f32



94
packet scoreboard objective
play / toClient / packet_scoreboard_objective (0x5e)

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



95
packet set passengers
play / toClient / packet_set_passengers (0x5f)

MC: ClientboundSetPassengersPacket

Field NameField TypeNotes
entityId varint
passengers lengthvarint
passengers
array
varint



96
packet teams
play / toClient / packet_teams (0x60)

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



97
packet scoreboard score
play / toClient / packet_scoreboard_score (0x61)

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



98
packet simulation distance
play / toClient / packet_simulation_distance (0x62)

MC: ClientboundSetSimulationDistancePacket

Field NameField TypeNotes
distance varint



99
packet set title subtitle
play / toClient / packet_set_title_subtitle (0x63)

MC: ClientboundSetSubtitleTextPacket

Field NameField TypeNotes
text anonymousNbt



100
packet update time
play / toClient / packet_update_time (0x64)

MC: ClientboundSetTimePacket

Field NameField TypeNotes
age i64
time i64



101
packet set title text
play / toClient / packet_set_title_text (0x65)

MC: ClientboundSetTitleTextPacket

Field NameField TypeNotes
text anonymousNbt



102
packet set title time
play / toClient / packet_set_title_time (0x66)

MC: ClientboundSetTitlesAnimationPacket

Field NameField TypeNotes
fadeIn i32
stay i32
fadeOut i32



103
packet entity sound effect
play / toClient / packet_entity_sound_effect (0x67)

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



104
packet sound effect
play / toClient / packet_sound_effect (0x68)

MC: ClientboundSoundPacket

Field NameField TypeNotes
soundId varint
soundEvent

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



105
packet start configuration
play / toClient / packet_start_configuration (0x69)

MC: ClientboundStartConfigurationPacket

Field NameField TypeNotes



106
packet stop sound
play / toClient / packet_stop_sound (0x6a)

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



108
packet system chat
play / toClient / packet_system_chat (0x6c)

MC: ClientboundSystemChatPacket

Field NameField TypeNotes
content anonymousNbt
isActionBar bool



109
packet playerlist header
play / toClient / packet_playerlist_header (0x6d)

MC: ClientboundTabListPacket

Field NameField TypeNotes
header anonymousNbt
footer anonymousNbt



110
packet nbt query response
play / toClient / packet_nbt_query_response (0x6e)

MC: ClientboundTagQueryPacket

Field NameField TypeNotes
transactionId varint
nbt anonOptionalNbt



111
packet collect
play / toClient / packet_collect (0x6f)

MC: ClientboundTakeItemEntityPacket

Field NameField TypeNotes
collectedEntityId varint
collectorEntityId varint
pickupItemCount varint



112
packet entity teleport
play / toClient / packet_entity_teleport (0x70)

MC: ClientboundTeleportEntityPacket

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



113
packet set ticking state
play / toClient / packet_set_ticking_state (0x71)

MC: ClientboundTickingStatePacket

Field NameField TypeNotes
tick rate f32
is frozen bool



114
packet step tick
play / toClient / packet_step_tick (0x72)

MC: ClientboundTickingStepPacket

Field NameField TypeNotes
tick steps varint



116
packet advancements
play / toClient / packet_advancements (0x74)

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



117
packet entity update attributes
play / toClient / packet_entity_update_attributes (0x75)

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 UUID
amount f64
operation i8



118
packet entity effect
play / toClient / packet_entity_effect (0x76)

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 } ]]




119
packet declare recipes
play / toClient / packet_declare_recipes (0x77)

MC: ClientboundUpdateRecipesPacket

Field NameField TypeNotes
recipes lengthvarint
recipes
array
name string
type
varint enum
0minecraft:crafting shaped
1minecraft:crafting shapeless
2minecraft:crafting special armordye
3minecraft:crafting special bookcloning
4minecraft:crafting special mapcloning
5minecraft:crafting special mapextending
6minecraft:crafting special firework rocket
7minecraft:crafting special firework star
8minecraft:crafting special firework star fade
9minecraft:crafting special tippedarrow
10minecraft:crafting special bannerduplicate
11minecraft:crafting special shielddecoration
12minecraft:crafting special shulkerboxcoloring
13minecraft:crafting special suspiciousstew
14minecraft:crafting special repairitem
15minecraft:smelting
16minecraft:blasting
17minecraft:smoking
18minecraft:campfire cooking
19minecraft:stonecutting
20minecraft:smithing transform
21minecraft:smithing trim
22minecraft:crafting decorated pot
data

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



120
packet tags
play / toClient / packet_tags (0x78)

MC: ClientboundUpdateTagsPacket

Field NameField TypeNotes
tags lengthvarint
tags
array
tagType string
tags tags



Type
packet set projectile power
play / toClient / packet_set_projectile_power

MC: ClientboundProjectilePowerPacket

Field NameField TypeNotes
id varint
power vec3f64



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
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
48entity look
49vehicle move
50open book
51open window
52open sign entity
53ping
54ping response
55craft recipe response
56abilities
57player chat
58end combat event
59enter combat event
60death combat event
61player remove
62player info
63face player
64position
65unlock recipes
66entity destroy
67remove entity effect
68reset score
69remove resource pack
70add resource pack
71respawn
72entity head rotation
73multi block change
74select advancement tab
75server data
76action bar
77world border center
78world border lerp size
79world border size
80world border warning delay
81world border warning reach
82camera
83held item slot
84update view position
85update view distance
86spawn position
87scoreboard display objective
88entity metadata
89attach entity
90entity velocity
91entity equipment
92experience
93update health
94scoreboard objective
95set passengers
96teams
97scoreboard score
98simulation distance
99set title subtitle
100update time
101set title text
102set title time
103entity sound effect
104sound effect
105start configuration
106stop sound
107store cookie
108system chat
109playerlist header
110nbt query response
111collect
112entity teleport
113set ticking state
114step tick
115transfer
116advancements
117entity update attributes
118entity effect
119declare recipes
120tags
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 explosion packet_explosion
is unload chunk packet_unload_chunk
is game state change packet_game_state_change
is open horse window packet_open_horse_window
is hurt animation packet_hurt_animation
is initialize world border packet_initialize_world_border
is keep alive packet_keep_alive
is map chunk packet_map_chunk
is world event packet_world_event
is world particles packet_world_particles
is update light packet_update_light
is login packet_login
is map packet_map
is trade list packet_trade_list
is rel entity move packet_rel_entity_move
is entity move look packet_entity_move_look
is entity look packet_entity_look
is vehicle move packet_vehicle_move
is open book packet_open_book
is open window packet_open_window
is open sign entity packet_open_sign_entity
is ping packet_ping
is ping response packet_ping_response
is craft recipe response packet_craft_recipe_response
is abilities packet_abilities
is player chat packet_player_chat
is end combat event packet_end_combat_event
is enter combat event packet_enter_combat_event
is death combat event packet_death_combat_event
is player remove packet_player_remove
is player info packet_player_info
is face player packet_face_player
is position packet_position
is unlock recipes packet_unlock_recipes
is entity destroy packet_entity_destroy
is remove entity effect packet_remove_entity_effect
is reset score packet_reset_score
is remove resource pack packet_remove_resource_pack
is add resource pack packet_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 held item slot packet_held_item_slot
is update view position packet_update_view_position
is update view distance packet_update_view_distance
is spawn position packet_spawn_position
is scoreboard display objective packet_scoreboard_display_objective
is entity metadata packet_entity_metadata
is attach entity packet_attach_entity
is entity velocity packet_entity_velocity
is entity equipment packet_entity_equipment
is experience packet_experience
is update health packet_update_health
is scoreboard objective packet_scoreboard_objective
is set passengers packet_set_passengers
is teams packet_teams
is scoreboard score packet_scoreboard_score
is simulation distance packet_simulation_distance
is set title subtitle packet_set_title_subtitle
is update time packet_update_time
is set title text packet_set_title_text
is set title time packet_set_title_time
is entity sound effect packet_entity_sound_effect
is sound effect packet_sound_effect
is start configuration packet_start_configuration
is stop sound packet_stop_sound
is 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



Table of Contents

KeyName
Typepacket_teleport_confirm
0x1packet_query_block_nbt
0x2packet_set_difficulty
0x3packet_message_acknowledgement
0x4packet_chat_command
0x5packet_chat_command_signed
0x6packet_chat_message
0x7packet_chat_session_update
0x8packet_chunk_batch_received
0x9packet_client_command
0xapacket_settings
0xbpacket_tab_complete
0xcpacket_configuration_acknowledged
0xdpacket_enchant_item
0xepacket_window_click
0xfpacket_close_window
0x10packet_set_slot_state
0x12packet_custom_payload
Typepacket_debug_sample_subscription
0x14packet_edit_book
0x15packet_query_entity_nbt
0x16packet_use_entity
0x17packet_generate_structure
0x18packet_keep_alive
0x19packet_lock_difficulty
0x1apacket_position
0x1bpacket_position_look
0x1cpacket_look
0x1dpacket_flying
0x1epacket_vehicle_move
0x1fpacket_steer_boat
0x20packet_pick_item
0x21packet_ping_request
0x22packet_craft_recipe_request
0x23packet_abilities
0x24packet_block_dig
0x25packet_entity_action
0x26packet_steer_vehicle
0x27packet_pong
0x28packet_recipe_book
0x29packet_displayed_recipe
0x2apacket_name_item
0x2bpacket_resource_pack_receive
0x2cpacket_advancement_tab
0x2dpacket_select_trade
0x2epacket_set_beacon_effect
0x2fpacket_held_item_slot
0x30packet_update_command_block
0x31packet_update_command_block_minecart
0x32packet_set_creative_slot
0x33packet_update_jigsaw_block
0x34packet_update_structure_block
0x35packet_update_sign
0x36packet_arm_animation
0x37packet_spectate
0x38packet_block_place
0x39packet_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 set difficulty
play / toServer / packet_set_difficulty (0x02)

MC: ServerboundChangeDifficultyPacket

Field NameField TypeNotes
newDifficulty u8



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

MC: ServerboundChatAckPacket

Field NameField TypeNotes
count varint



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

MC: ServerboundChatCommandPacket

Field NameField TypeNotes
command string



5
packet chat command signed
play / toServer / packet_chat_command_signed (0x05)

MC: ServerboundChatCommandSignedPacket

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



6
packet chat message
play / toServer / packet_chat_message (0x06)

MC: ServerboundChatPacket

Field NameField TypeNotes
message string
timestamp i64
salt i64
offset varint



7
packet chat session update
play / toServer / packet_chat_session_update (0x07)

MC: ServerboundChatSessionUpdatePacket

Field NameField TypeNotes
sessionUUID UUID
expireTime i64
publicKey ByteArray
signature ByteArray



8
packet chunk batch received
play / toServer / packet_chunk_batch_received (0x08)

MC: ServerboundChunkBatchReceivedPacket

Field NameField TypeNotes
chunksPerTick f32



9
packet client command
play / toServer / packet_client_command (0x09)

MC: ServerboundClientCommandPacket

Field NameField TypeNotes
actionId varint



10
packet settings
play / toServer / packet_settings (0x0a)

MC: ServerboundClientInformationPacket

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



11
packet tab complete
play / toServer / packet_tab_complete (0x0b)

MC: ServerboundCommandSuggestionPacket

Field NameField TypeNotes
transactionId varint
text string



12
packet configuration acknowledged
play / toServer / packet_configuration_acknowledged (0x0c)

MC: ServerboundConfigurationAcknowledgedPacket

Field NameField TypeNotes



13
packet enchant item
play / toServer / packet_enchant_item (0x0d)

Empty MC: ServerboundContainerButtonClickPacket

Field NameField TypeNotes
windowId i8
enchantment i8



14
packet window click
play / toServer / packet_window_click (0x0e)

MC: ServerboundContainerClickPacket

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



15
packet close window
play / toServer / packet_close_window (0x0f)

MC: ServerboundContainerClosePacket

Field NameField TypeNotes
windowId u8



16
packet set slot state
play / toServer / packet_set_slot_state (0x10)

MC: ServerboundContainerSlotStateChangedPacket

Field NameField TypeNotes
slot id varint
window id varint
state bool



18
packet custom payload
play / toServer / packet_custom_payload (0x12)

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



20
packet edit book
play / toServer / packet_edit_book (0x14)

MC: ServerboundEditBookPacket

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



21
packet query entity nbt
play / toServer / packet_query_entity_nbt (0x15)

MC: ServerboundEntityTagQuery

Field NameField TypeNotes
transactionId varint
entityId varint



22
packet use entity
play / toServer / packet_use_entity (0x16)

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



23
packet generate structure
play / toServer / packet_generate_structure (0x17)

MC: ServerboundJigsawGeneratePacket

Field NameField TypeNotes
location position
levels varint
keepJigsaws bool



24
packet keep alive
play / toServer / packet_keep_alive (0x18)

MC: ServerboundKeepAlivePacket

Field NameField TypeNotes
keepAliveId i64



25
packet lock difficulty
play / toServer / packet_lock_difficulty (0x19)

MC: ServerboundLockDifficultyPacket

Field NameField TypeNotes
locked bool



26
packet position
play / toServer / packet_position (0x1a)

MC: ServerboundMovePlayerPacket.Pos

Field NameField TypeNotes
x f64
y f64
z f64
onGround bool



27
packet position look
play / toServer / packet_position_look (0x1b)

MC: ServerboundMovePlayerPacket.PosRot

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



28
packet look
play / toServer / packet_look (0x1c)

MC: ServerboundMovePlayerPacket.Rot

Field NameField TypeNotes
yaw f32
pitch f32
onGround bool



29
packet flying
play / toServer / packet_flying (0x1d)

MC: ServerboundMovePlayerPacket.StatusOnly

Field NameField TypeNotes
onGround bool



30
packet vehicle move
play / toServer / packet_vehicle_move (0x1e)

MC: ServerboundMoveVehiclePacket

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



31
packet steer boat
play / toServer / packet_steer_boat (0x1f)

MC: ServerboundPaddleBoatPacket

Field NameField TypeNotes
leftPaddle bool
rightPaddle bool



32
packet pick item
play / toServer / packet_pick_item (0x20)

MC: ServerboundPickItemPacket

Field NameField TypeNotes
slot varint



33
packet ping request
play / toServer / packet_ping_request (0x21)

MC: ServerboundPingRequestPacket

Field NameField TypeNotes
id i64



34
packet craft recipe request
play / toServer / packet_craft_recipe_request (0x22)

MC: ServerboundPlaceRecipePacket

Field NameField TypeNotes
windowId i8
recipe string
makeAll bool



35
packet abilities
play / toServer / packet_abilities (0x23)

MC: ServerboundPlayerAbilitiesPacket

Field NameField TypeNotes
flags i8



36
packet block dig
play / toServer / packet_block_dig (0x24)

MC: ServerboundPlayerActionPacket

Field NameField TypeNotes
status varint
location position
face i8
sequence varint



37
packet entity action
play / toServer / packet_entity_action (0x25)

MC: ServerboundPlayerCommandPacket

Field NameField TypeNotes
entityId varint
actionId varint
jumpBoost varint



38
packet steer vehicle
play / toServer / packet_steer_vehicle (0x26)

MC: ServerboundPlayerInputPacket

Field NameField TypeNotes
sideways f32
forward f32
jump u8



39
packet pong
play / toServer / packet_pong (0x27)

MC: ServerboundPongPacket

Field NameField TypeNotes
id i32



40
packet recipe book
play / toServer / packet_recipe_book (0x28)

MC: ServerboundRecipeBookChangeSettingsPacket

Field NameField TypeNotes
bookId varint
bookOpen bool
filterActive bool



41
packet displayed recipe
play / toServer / packet_displayed_recipe (0x29)

MC: ServerboundRecipeBookSeenRecipePacket

Field NameField TypeNotes
recipeId string



42
packet name item
play / toServer / packet_name_item (0x2a)

MC: ServerboundRenameItemPacket

Field NameField TypeNotes
name string



43
packet resource pack receive
play / toServer / packet_resource_pack_receive (0x2b)

MC: ServerboundResourcePackPacket

Field NameField TypeNotes
uuid UUID
result varint



44
packet advancement tab
play / toServer / packet_advancement_tab (0x2c)

MC: ServerboundSeenAdvancementsPacket

Field NameField TypeNotes
action varint
tabId

if action
is 0 string
is 1 void



45
packet select trade
play / toServer / packet_select_trade (0x2d)

MC: ServerboundSelectTradePacket

Field NameField TypeNotes
slot varint



46
packet set beacon effect
play / toServer / packet_set_beacon_effect (0x2e)

MC: ServerboundSetBeaconPacket

Field NameField TypeNotes
primary effect
optional
varint
secondary effect
optional
varint



47
packet held item slot
play / toServer / packet_held_item_slot (0x2f)

MC: ServerboundSetCarriedItemPacket

Field NameField TypeNotes
slotId i16



48
packet update command block
play / toServer / packet_update_command_block (0x30)

MC: ServerboundSetCommandBlockPacket

Field NameField TypeNotes
location position
command string
mode varint
flags u8



49
packet update command block minecart
play / toServer / packet_update_command_block_minecart (0x31)

MC: ServerboundSetCommandMinecartPacket

Field NameField TypeNotes
entityId varint
command string
track output bool



50
packet set creative slot
play / toServer / packet_set_creative_slot (0x32)

MC: ServerboundSetCreativeModeSlotPacket

Field NameField TypeNotes
slot i16
item Slot



51
packet update jigsaw block
play / toServer / packet_update_jigsaw_block (0x33)

MC: ServerboundSetJigsawBlockPacket

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



52
packet update structure block
play / toServer / packet_update_structure_block (0x34)

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



53
packet update sign
play / toServer / packet_update_sign (0x35)

MC: ServerboundSignUpdatePacket

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



54
packet arm animation
play / toServer / packet_arm_animation (0x36)

MC: ServerboundSwingPacket

Field NameField TypeNotes
hand varint



55
packet spectate
play / toServer / packet_spectate (0x37)

MC: ServerboundTeleportToEntityPacket

Field NameField TypeNotes
target UUID



56
packet block place
play / toServer / packet_block_place (0x38)

MC: ServerboundUseItemOnPacket

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



57
packet use item
play / toServer / packet_use_item (0x39)

MC: ServerboundUseItemPacket

Field NameField TypeNotes
hand varint
sequence varint



Type
packet
play / toServer / packet

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

if name
is teleport confirm packet_teleport_confirm
is query block nbt packet_query_block_nbt
is set difficulty packet_set_difficulty
is message acknowledgement packet_message_acknowledgement
is chat command packet_chat_command
is chat 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 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 steer vehicle packet_steer_vehicle
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