Minecraft:Bedrock Edition protocol/Packets
More actions
This page documents the packets used by the Template:BE protocol. For primitive types, packet framing, transport, and login details, see Minecraft:Bedrock Edition protocol.
The packet and data type tables are based on Mojang's protocol 2193 schemas for Minecraft:26.51.<ref name="schema-release">Mojang: Protocol 2193 schema release</ref>
Packets
Login
Sends the client's protocol version and login data to the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x01 | Server | Client Network Version | Int (big endian) | |
| Connection Request | ByteArray | Serialized authentication and client-data request; not a plain JSON array. |
Play Status
Reports login status or signals that the player can spawn.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x02 | Client | Status | Int (big endian) (PlayStatus) | See PlayStatus for status values. |
Server To Client Handshake
Provides the server's handshake data for application-layer encryption.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x03 | Client | Handshake WebToken | WebToken |
Client To Server Handshake
Acknowledges the server's application-layer encryption handshake.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x04 | Server | This packet has no payload fields. | ||
Disconnect
Ends the connection and optionally supplies a reason to display.<ref>Serialization reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x05 | Client | Reason | SignedVarInt | DisconnectFailReason value. |
| Hide disconnection screen | Boolean | If true, the message fields are omitted. | ||
| Message | String | Present when Hide disconnection screen is false. | ||
| Filtered message | String | Present when Hide disconnection screen is false. |
Resource Packs Info
Lists the resource packs offered by the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x06 | Client | Resource Pack Required | Boolean | |
| Has Addon Packs | Boolean | |||
| Has Scripts | Boolean | |||
| Force Disable Vibrant Visuals | Boolean | |||
| World Template Id And Version | PackIdVersion | |||
| Resource Packs | PackInfoData[] | Maximum entries: 65535. |
Resource Pack Stack
Specifies the order in which resource and behavior packs are applied.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x07 | Client | Texture Pack Required | Boolean | |
| Texture Pack List | PackInstanceId[] | Maximum entries: 65535. | ||
| Base Game Version | String | |||
| Experiments | Experiments | |||
| Include Editor Packs | Boolean |
Resource Pack Client Response
Reports the client's progress or decision during resource-pack negotiation.<ref>Serialization reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x08 | Server | Response | VarInt | 0: cancel; 1: downloading; 2: downloading finished; 3: resource-pack stack finished. |
| Response name | String | Respectively: cancel, downloading, downloadingfinished, resourcepackstackfinished.
| ||
| Downloading packs | String[] | Present only for response 1. VarInt count followed by pack identifiers and versions, using the UUID_version form. |
Text
Sends a chat message or other in-game text.<ref>Serialization reference</ref>
Category 0 uses text types 0 (raw), 5 (tip), 6 (system), 9 (JSON whisper), 10 (JSON), and 11 (JSON announcement). Category 1 uses 1 (chat), 7 (whisper), and 8 (announcement). Category 2 uses 2 (translation), 3 (popup), and 4 (jukebox popup).
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x09 | Server & Client | Needs translation | Boolean | Whether to localize the message. |
| Category | Byte | 0: message only; 1: author and message; 2: message and parameters. | ||
| Text type | Byte | Selects the message type within its category. | ||
| Source name | String | Category 1 only. Maximum 256 bytes. | ||
| Message | String | Present in every category; nonempty, maximum 65536 bytes. | ||
| Parameters | String[] | Category 2 only. VarInt count, maximum 4 parameters. | ||
| XUID | String | Maximum 64 bytes; may be empty. | ||
| Platform chat ID | String | Maximum 256 bytes; may be empty. | ||
| Filtered message present | Boolean | Whether a filtered message follows. | ||
| Filtered message | String | Present when the preceding Boolean is true; maximum 65536 bytes. |
Set Time
Updates the world's time.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0A | Client | Time | SignedVarInt |
Start Game
Supplies the initial world and player settings when joining a game.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0B | Client | Entity ID | ActorUniqueID | |
| Runtime ID | ActorRuntimeID | |||
| Game Type | SignedVarInt | Values: GameType. | ||
| Position | Vec3 | |||
| Rotation | Vec2 | |||
| Settings | LevelSettings | |||
| Level ID | String | |||
| Level Name | String | |||
| Template Content Identity | String | |||
| Is Trial | Boolean | |||
| Movement Settings | SyncedPlayerMovementSettings | |||
| Level Current Time | Unsigned Long | |||
| Enchantment Seed | SignedVarInt | |||
| Block Properties | ServerBlockProperty[] | |||
| Multiplayer Correlation Id | String | |||
| Enable Item Stack Net Manager | Boolean | |||
| Server Version | String | |||
| Player Property Data | NBT | |||
| Server Block Type Registry Checksum | Unsigned Long | |||
| World Template ID | mce::UUID | |||
| Server Enabled ClientSide Generation | Boolean | |||
| BlockNetworkIds Are Hashes | Boolean | |||
| NetworkPermissions | NetworkPermissions | |||
| Server Configuration Join Info | server_config | Optional or conditional; see source for presence encoding. | ||
| Server Telemetry Data | ServerTelemetryData |
Add Player
Adds another player entity to the client world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0C | Client | UUID | mce::UUID | |
| Player Name | String | |||
| Target Runtime ID | ActorRuntimeID | |||
| Platform Chat Id | String | |||
| Position | Vec3 | |||
| Velocity | Vec3 | |||
| Rotation | Vec2 | |||
| Y-Head Rotation | Float | |||
| Carried Item | NetworkItemStackDescriptor | |||
| Player Game Type | SignedVarInt | Values: GameType. | ||
| Entity Data | SynchedActorDataList | |||
| Synched Properties | PropertySyncData | |||
| Abilities Data | SerializedAbilitiesData | |||
| Actor Links | ActorLink[] | |||
| Device Id | String | |||
| Build Platform | Int | Values: BuildPlatform. |
Add Actor
Adds an entity to the client world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0D | Client | Target Actor ID | ActorUniqueID | |
| Target Runtime ID | ActorRuntimeID | |||
| Actor Type | String | |||
| Position | Vec3 | |||
| Velocity | Vec3 | |||
| Rotation | Vec2 | |||
| Y Head Rotation | Float | |||
| Y Body Rotation | Float | |||
| Attributes List | SyncedAttribute[] | |||
| Actor Data | SynchedActorDataList | |||
| Synched Properties | PropertySyncData | |||
| Actor Links | ActorLink[] |
Remove Actor
Removes an entity from the client world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0E | Client | Target Actor ID | ActorUniqueID |
Add Item Actor
Adds a dropped item entity to the client world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x0F | Client | Target Actor ID | ActorUniqueID | |
| Target Runtime ID | ActorRuntimeID | |||
| Item | NetworkItemStackDescriptor | |||
| Position | Vec3 | |||
| Velocity | Vec3 | |||
| Entity Data | SynchedActorDataList | |||
| Is From Fishing | Boolean |
Server Player Post Move Position
Reports the player's server position after movement processing.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x10 | Client | Pos | Vec3 |
Take Item Actor
Animates an entity picking up an item entity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x11 | Client | Item Runtime ID | ActorRuntimeID | |
| Actor Runtime ID | ActorRuntimeID |
Move Actor Absolute
Updates an entity's absolute position and rotation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x12 | Client | Move Data | MoveActorAbsoluteData |
Move Player
Updates or corrects a player's position and rotation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13 | Client | Player Runtime ID | ActorRuntimeID | |
| Position | Vec3 | |||
| Rotation | Vec2 | |||
| Y-Head Rotation | Float | |||
| Position Mode | Byte | Values: Normal, Respawn, Teleport, OnlyHeadRot. | ||
| On Ground | Boolean | |||
| Riding Runtime ID | ActorRuntimeID | |||
| Teleport Data | MovePlayerTeleportData | Optional or conditional; see source for presence encoding. | ||
| Tick | PlayerInputTick |
Update Block
Updates a block's state on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15 | Client | Block Position | BlockPos | |
| Block Runtime ID | VarInt | |||
| Flags | VarInt | |||
| Layer | VarInt |
Add Painting
Adds a painting entity to the client world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x16 | Client | Target Actor ID | ActorUniqueID | |
| Target Runtime ID | ActorRuntimeID | |||
| Position | Vec3 | |||
| Direction | SignedVarInt | |||
| Motif | String |
Level Event
Triggers a world event, such as a particle effect or weather change.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x19 | Client | Event Id | SignedVarInt | Values: Level Events. |
| Position | Vec3 | |||
| Data | SignedVarInt |
Block Event
Triggers a block event, such as a chest opening animation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1A | Client | Block Position | BlockPos | |
| Event Type | SignedVarInt | |||
| Event Value | SignedVarInt |
Actor Event
Triggers an entity event, such as a hurt animation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1B | Server & Client | Target Runtime ID | ActorRuntimeID | |
| Event ID | Byte | Values: Entity events. | ||
| Data | SignedVarInt | |||
| Fire At Position | Vec3 | Optional or conditional; see source for presence encoding. |
Mob Effect
Adds, updates, or removes an entity status effect.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1C | Client | Target Runtime ID | ActorRuntimeID | |
| Event ID | Byte | Values: MobEffectPacketPayload::Event. | ||
| Effect ID | SignedVarInt | |||
| Effect Amplifier | SignedVarInt | |||
| Show Particles | Boolean | |||
| Effect Duration Ticks | SignedVarInt | |||
| Tick | PlayerInputTick | |||
| Ambient | Boolean |
Update Attributes
Updates an entity's attributes, such as health or movement speed.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1D | Client | Target Runtime ID | ActorRuntimeID | |
| Attribute List | AttributeData[] | |||
| Tick | PlayerInputTick |
Inventory Transaction
Reports an inventory transaction or item interaction.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1E | Server | Legacy Request ID | ItemStackLegacyRequestId | |
| Legacy Set Item Slots | LegacySetSlot[] | Present for a valid Legacy Request ID. | ||
| Transaction | Variant | Alternatives: NormalTransactionData, InventoryMismatchData, ItemUseInventoryTransaction, ItemUseOnActorInventoryTransaction, ItemReleaseInventoryTransaction. See source for the selector encoding. |
Mob Equipment
Updates an entity's held item or selected inventory slot.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x1F | Server & Client | Target Runtime ID | ActorRuntimeID | |
| Item | NetworkItemStackDescriptor | |||
| Slot | Byte | |||
| Selected Slot | Byte | |||
| Container ID | Byte |
Mob Armor Equipment
Updates the armor equipped by an entity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x20 | Client | Target Runtime ID | ActorRuntimeID | |
| Head | NetworkItemStackDescriptor | |||
| Torso | NetworkItemStackDescriptor | |||
| Legs | NetworkItemStackDescriptor | |||
| Feet | NetworkItemStackDescriptor | |||
| Body | NetworkItemStackDescriptor |
Interact
Reports a player's interaction with an entity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x21 | Server | Action | Byte | Values: InteractPacketPayload Action. |
| Target Runtime ID | ActorRuntimeID | |||
| Position | Vec3 | Optional or conditional; see source for presence encoding. |
Block Pick Request
Requests the item corresponding to a picked block.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x22 | Server | Position | BlockPos | |
| With Data? | Boolean | |||
| Max Slots | Byte |
Actor Pick Request
Requests the item corresponding to a picked entity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x23 | Server | Actor ID | Long | |
| Max Slots | Byte | |||
| With Data | Boolean |
Player Action
Reports a player action, such as starting to break a block.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x24 | Server | Player Runtime ID | ActorRuntimeID | |
| Action | SignedVarInt | Values: PlayerActionType. | ||
| Block Position | BlockPos | |||
| Result Pos | BlockPos | |||
| Face | SignedVarInt |
Hurt Armor
Applies damage to armor.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x26 | Client | Cause | SignedVarInt | |
| Damage | SignedVarInt | |||
| Armor Slots | VarLong |
Set Actor Data
Updates an entity's metadata and properties.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x27 | Client | Target Runtime ID | ActorRuntimeID | |
| Actor Data | SynchedActorDataList | |||
| Synched Properties | PropertySyncData | |||
| Tick | PlayerInputTick |
Set Actor Motion
Sets an entity's velocity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x28 | Client | Target Runtime ID | ActorRuntimeID | |
| Motion | Vec3 | |||
| Tick | PlayerInputTick |
Set Actor Link
Updates a link between entities, such as a rider and its mount.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x29 | Server & Client | Link | ActorLink |
Set Health
Updates the player's health.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2A | Client | Health | SignedVarInt |
Set Spawn Position
Sets a player or world spawn position.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2B | Client | Spawn Position Type | SignedVarInt | Values: SpawnPositionType. |
| Block Position | BlockPos | |||
| Dimension type | DimensionType | |||
| Spawn Block Pos | BlockPos |
Animate
Triggers an entity animation, such as an arm swing.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2C | Server & Client | Action | Byte | Values: AnimatePacketPayload Action. |
| Target Actor Runtime ID | ActorRuntimeID | |||
| Data | Float | |||
| Swing Source | Byte | Values: ActorSwingSource. Optional or conditional; see source for presence encoding. |
Respawn
Coordinates the player's respawn between client and server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2D | Server & Client | Position | Vec3 | |
| State | Byte | Values: PlayerRespawnState. | ||
| Player Runtime Id | ActorRuntimeID |
Container Open
Opens a container interface on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2E | Client | Container Id | Byte | |
| Container Type | Byte | |||
| Position | BlockPos | |||
| Target Actor ID | ActorUniqueID |
Container Close
Closes a container and synchronizes its closure.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x2F | Server & Client | Container Id | Byte | |
| Container Type | Byte | |||
| Server Initiated Close | Boolean |
Player Hotbar
Updates the player's selected hotbar slot.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x30 | Client | Selected Slot | VarInt | |
| Container ID | Byte | |||
| Should select slot? | Boolean |
Inventory Content
Updates the full contents of an inventory.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x31 | Client | Container Id | VarInt | |
| Slots | NetworkItemStackDescriptor[] | |||
| Full Container Name | FullContainerName | |||
| Storage Item | NetworkItemStackDescriptor |
Inventory Slot
Updates a single inventory slot.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x32 | Client | Container Id | Byte | |
| Slot | VarInt | |||
| Full Container Name | FullContainerName | Optional or conditional; see source for presence encoding. | ||
| Storage Item | NetworkItemStackDescriptor | Optional or conditional; see source for presence encoding. | ||
| Item | NetworkItemStackDescriptor |
Container Set Data
Updates a container property, such as furnace progress.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x33 | Client | Container ID | Byte | |
| ID | SignedVarInt | |||
| Value | SignedVarInt |
Crafting Data
Sends crafting recipes and related recipe data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x34 | Client | Shaped Recipes | ShapedRecipePayload[] | |
| Shapeless Recipes | ShapelessRecipePayload[] | |||
| Multi Recipes | MultiRecipePayload[] | |||
| User Data Shapeless Recipes | ShapelessRecipePayload[] | |||
| Shapeless Chemistry Recipes | ShapelessRecipePayload[] | |||
| Shaped Chemistry Recipes | ShapedRecipePayload[] | |||
| Smithing Transform Recipes | SmithingTransformRecipePayload[] | |||
| Smithing Trim Recipes | SmithingTrimRecipePayload[] | |||
| Potion Mixes | PotionMixDataEntry[] | |||
| Container Mixes | ContainerMixDataEntry[] | |||
| Material Reducers | MaterialReducerDataEntry[] | |||
| Clear Recipes | Boolean |
Gui Data Pick Item
Selects the hotbar slot containing a picked item.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x36 | Client | Item Name | String | |
| Item Effect Name | String | |||
| Slot | Int |
Block Actor Data
Updates a block entity's NBT data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x38 | Client | Block Position | BlockPos | |
| Actor Data Tags | NBT |
Level Chunk
Sends chunk data to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3A | Client | Chunk Position | ChunkPos | |
| Dimension Id | DimensionType | |||
| Sub-chunks Count | VarInt | |||
| Client Request SubChunk Limit | SignedVarInt | Optional or conditional; see source for presence encoding. | ||
| Cache Enabled | Boolean | |||
| Cache Metadata | LevelChunkPacketPayload SubChunkMetadata[] | Maximum entries: 65. | ||
| Serialized Chunk Data | String |
Set Commands Enabled
Sets whether commands are enabled.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3B | Client | Commands Enabled | Boolean |
Set Difficulty
Updates the world's difficulty.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3C | Client | Difficulty | VarInt |
Change Dimension
Starts the player's transition to another dimension.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3D | Client | Dimension ID | DimensionType | |
| Position | Vec3 | |||
| Respawn | Boolean | |||
| Loading Screen Id | Unsigned Int |
Set Player Game Type
Changes the player's game mode.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3E | Server | Player Game Type | SignedVarInt | Values: GameType. |
Player List
Adds or removes entries in the player list.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x3F | Client | Entries | Variant[] | Optional or conditional; see source for presence encoding. Maximum entries: 1000. |
Simple Event
Signals a simple event, such as unlocking world-template settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x40 | Server | Type | Unsigned Short | Values: Subtype. |
Legacy Telemetry Event
Sends a legacy telemetry event to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x41 | Client | Target Actor ID | ActorUniqueID | |
| Event Type | SignedVarInt | Values: LegacyTelemetryEventPacketPayload::Type. | ||
| Use Player ID | Boolean | |||
| Event Data | Variant | Alternatives: Achievement, Interaction, PortalCreated, PortalUsed, MobKilled, CauldronUsed, PlayerDied, BossKilled, SlashCommand, MobBorn, POICauldronUsed, ComposterUsed, BellUsed, ActorDefinition, RaidUpdate, TargetBlockHit, PiglinBarter, PlayerWaxedOrUnwaxedCopper, CodeBuilderRuntimeAction, CodeBuilderScoreboard, ItemUsed, Empty. See source for the selector encoding. |
Spawn Experience Orb
Spawns an experience orb on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x42 | Client | Position | Vec3 | |
| XP Value | SignedVarInt |
Clientbound Map Item Data
Updates a map's pixels, decorations, and related data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x43 | Client | Map ID | ActorUniqueID | |
| Dimension | Byte | |||
| Is Locked | Boolean | |||
| Map Origin | BlockPos | |||
| Creation Map IDs | ActorUniqueID[] | Optional or conditional; see source for presence encoding. Maximum entries: 65535. | ||
| Scale | Signed Byte | Optional or conditional; see source for presence encoding. | ||
| Tracked Actor IDs | MapItemTrackedActor UniqueId[] | Optional or conditional; see source for presence encoding. Maximum entries: 65535. | ||
| Decorations | MapDecoration[] | Optional or conditional; see source for presence encoding. Maximum entries: 65535. | ||
| Width | SignedVarInt | Optional or conditional; see source for presence encoding. | ||
| Height | SignedVarInt | Optional or conditional; see source for presence encoding. | ||
| Start X | SignedVarInt | Optional or conditional; see source for presence encoding. | ||
| Start Y | SignedVarInt | Optional or conditional; see source for presence encoding. | ||
| Pixels | Unsigned Int[] | Optional or conditional; see source for presence encoding. Maximum entries: 16384. |
Map Info Request
Requests data for a map.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x44 | Server | Map Unique ID | ActorUniqueID | |
| Client Pixels List | (anonymous namespace)::MapInfoRequestPacketAnon::ClientPixelsProxy[] | Count uses a fixed-width encoding; see source. Maximum entries: 16384. |
Request Chunk Radius
Requests a chunk view radius from the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x45 | Server | Chunk Radius | SignedVarInt | |
| Max ChunkRadius | Byte |
Chunk Radius Updated
Reports the chunk radius accepted by the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x46 | Client | Chunk Radius | SignedVarInt |
Game Rules Changed
Updates the world's game rules.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x48 | Client | Rule Data | GameRulesChangedPacketData |
Camera
Associates an Education Edition camera with its target player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x49 | Client | Camera ID | ActorUniqueID | |
| Target Player ID | ActorUniqueID |
Boss Event
Updates a boss bar and its associated state.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4A | Server & Client | Target Actor ID | ActorUniqueID | |
| Event Type | Byte | Values: BossEventUpdateType. | ||
| Name | String | Maximum length: 256. | ||
| FilteredName | String | Maximum length: 256. | ||
| Health Percent | Float | |||
| Color | Byte | Values: BossBarColor. | ||
| Overlay | Byte | Values: BossBarOverlay. |
Show Credits
Controls the display of the credits screen.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4B | Server & Client | Player Runtime ID | ActorRuntimeID | |
| Credits State | SignedVarInt |
Available Commands
Sends the available commands and their argument definitions.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4C | Client | Enum Values | String[] | |
| Chained Subcommand Values | String[] | |||
| Post Fixes | String[] | |||
| Enum Data | AvailableCommandsPacketEnumData[] | |||
| Chained Subcommand Data | AvailableCommandsPacketChainedSubcommandData[] | Maximum entries: 16. | ||
| Commands | AvailableCommandsPacketCommandData[] | |||
| Soft Enums | AvailableCommandsPacketSoftEnumData[] | |||
| Constraints | AvailableCommandsPacketConstrainedValueData[] |
Command Request
Requests execution of a command.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4D | Server | Command | String | Maximum length: 1000. |
| Origin | CommandOriginData | |||
| IsInternal | Boolean | |||
| Version | Int | Values: CurrentCmdVersion. |
Command Block Update
Updates the settings and command of a command block or command block minecart.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4E | Server | Target | Variant | Alternatives: EntityCommandTarget, BlockCommandData. See source for the selector encoding. |
| Command | String | |||
| Last Output | String | |||
| Name | String | |||
| FilteredName | String | |||
| Track Output | Boolean | |||
| Tick Delay | Int | |||
| Execute On First Tick | Boolean |
Command Output
Returns the result of a command.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x4F | Client | Origin Data | CommandOriginData | |
| Output | CommandOutput |
Update Trade
Sends trading offers and related merchant information.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x50 | Client | Container Id | Byte | |
| Type | Byte | |||
| Size | SignedVarInt | |||
| Trader Tier | SignedVarInt | |||
| Entity Unique Id | ActorUniqueID | |||
| Last Trading Player | ActorUniqueID | |||
| Display Name | String | |||
| Use New Trade Screen | Boolean | |||
| Using Economy Trade | Boolean | |||
| Data | NBT |
Update Equip
Sends equipment inventory information, such as a horse's inventory.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x51 | Client | Container Id | Byte | |
| Type | Byte | |||
| Size | SignedVarInt | |||
| Entity Unique Id | ActorUniqueID | |||
| Data | NBT |
Resource Pack Data Info
Describes a resource pack before its contents are downloaded.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x52 | Client | Resource Name | String | |
| Chunk Size | Unsigned Int | |||
| Number of Chunks | Unsigned Int | |||
| File Size | Unsigned Long | |||
| File Hash | String | |||
| Is Premium Pack | Boolean | |||
| Pack Type | Byte |
Resource Pack Chunk Data
Sends a chunk of resource-pack data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x53 | Client | Resource Name | String | |
| Chunk ID | Unsigned Int | |||
| Byte Offset | Unsigned Long | |||
| Chunk Data | String |
Resource Pack Chunk Request
Requests a chunk of a resource-pack download.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x54 | Server | Resource Name | String | |
| Chunk | Int |
Transfer
Directs the client to connect to another server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x55 | Client | Server Address | String | |
| Server Port | Unsigned Short | |||
| Reload World | Boolean | |||
| Gatherings Configuration | gatheringsConfig | Optional or conditional; see source for presence encoding. |
Play Sound
Plays a named sound at a specified position.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x56 | Client | Name | String | |
| Position | BlockPos | |||
| Volume | Float | |||
| Pitch | Float | |||
| Loop Count | SignedVarInt | |||
| Bypass Listener Range Check | Boolean | |||
| Server Sound Handle | ServerSoundHandle | Optional or conditional; see source for presence encoding. | ||
| Playback Position Seconds | Float | Optional or conditional; see source for presence encoding. |
Stop Sound
Stops a specified sound or all sounds.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x57 | Client | Sound Name | String | |
| Stop All Sounds? | Boolean | |||
| Stop Music (Legacy) | Boolean |
Set Title
Controls titles, subtitles, and action-bar text.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x58 | Client | Title Type | SignedVarInt | Values: SetTitlePacket TitleType. |
| Title Text | String | |||
| Fade In Time | SignedVarInt | |||
| Stay Time | SignedVarInt | |||
| Fade Out Time | SignedVarInt | |||
| Xuid | String | |||
| Platform Online Id | String | |||
| Filtered Title Message | String |
Add Behavior Tree
Adds behavior-tree data on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x59 | Client | Behavior Tree Structure (JSON) | String |
Structure Block Update
Sends changes made in the structure block interface.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5A | Server | Block Position | BlockPos | |
| Structure Data | StructureEditorData | |||
| Trigger? | Boolean | |||
| IsWaterlogged | Boolean |
Show Store Offer
Opens a specified store offer.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5B | Client | Offer Id | mce::UUID | |
| Redirect Type | Byte | Values: ShowStoreOfferRedirectType. |
Purchase Receipt
Sends purchase receipts to the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5C | Server | PurchaseReceipts | String[] | Maximum entries: 10000. |
Player Skin
Updates a player's skin.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5D | Server & Client | UUID | mce::UUID | |
| Serialized Skin | SerializedSkin | |||
| Localized New Skin Name | String | |||
| Localized Old Skin Name | String |
Sub Client Login
Begins login for a split-screen player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5E | Server | Sub Client Connection Request | String |
Automation Client Connect
Requests a WebSocket connection for automation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x5F | Client | Web Socket Data | WebSocketPacketData |
Set Last Hurt By
Identifies the entity that last hurt the player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x60 | Client | LastHurtBy | SignedVarInt | Values: ActorType. |
Book Edit
Sends changes to a book and quill.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x61 | Server | Book Slot | SignedVarInt | |
| Operation | Variant | Alternatives: BookEditAction::ReplacePage, BookEditAction::AddPage, BookEditAction::DeletePage, BookEditAction::SwapPages, BookEditAction::Finalize. See source for the selector encoding. |
Npc Request
Reports an interaction with an NPC.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x62 | Server | NPC Runtime ID | ActorRuntimeID | |
| Request Type | Byte | Values: NpcRequestPacketPayload RequestType. | ||
| Actions | String | |||
| Action Index | Byte | |||
| Scene Name | String |
Photo Transfer
Transfers Education Edition photo data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x63 | Client | Photo Name | String | |
| Photo Data | String | Maximum length: 20971520. | ||
| Book ID | String | |||
| Type | Byte | Values: PhotoType. | ||
| Source Type | Byte | Values: PhotoType. | ||
| Owner ID | Long | |||
| New Photo Name | String |
Modal Form Request
Displays a server-provided form on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x64 | Client | Form ID | VarInt | |
| Form UI JSON | String |
Modal Form Response
Returns the player's response to a server form.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x65 | Server | Form ID | VarInt | |
| JSON Response | Json::Value | |||
| Form Cancel Reason | Byte | Values: ModalFormCancelReason. |
Server Settings Request
Requests the server's settings form.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x66 | Server | This packet has no payload fields. | ||
Server Settings Response
Provides the server's settings form.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x67 | Client | Form ID | VarInt | |
| Form UI JSON | String |
Show Profile
Opens a player's platform profile.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x68 | Client | Player XUID | String |
Set Default Game Type
Changes the world's default game mode.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x69 | Server | Default Game Type | SignedVarInt | Values: Survival, Creative, Adventure, Default, Spectator, WorldDefault. |
Remove Objective
Removes a scoreboard objective.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6A | Client | Objective Name | String |
Set Display Objective
Selects a scoreboard objective for display.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6B | Client | DisplaySlotName | String | |
| ObjectiveName | String | |||
| ObjectiveDisplayName | String | |||
| CriteriaName | String | |||
| SortOrder | SignedVarInt |
Set Score
Adds, updates, or removes scoreboard scores.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6C | Client | Score Info | Variant[] | Optional or conditional; see source for presence encoding. |
Lab Table
Reports an interaction with an Education Edition lab table.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6D | Server | Type | Byte | Values: LabTablePacketPayload::Type. |
| Position | BlockPos | |||
| Reaction | Byte | Values: LabTableReactionType. |
Update Block Synced
Updates a block while synchronizing its associated moving entity.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6E | Client | Block Position | BlockPos | |
| Block Runtime ID | VarInt | |||
| Flags | VarInt | |||
| Layer | VarInt | |||
| Unique Actor Id | VarLong | |||
| Actor Sync Message | VarLong |
Move Actor Delta
Updates an entity's position or rotation using deltas.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x6F | Client | Move Data | MoveActorDeltaData |
Set Scoreboard Identity
Adds or removes scoreboard identity mappings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x70 | Client | Scoreboard Identity Packet Type | Byte | Values: Update, Remove. |
| Scoreboard Identity Info | ScoreboardIdentityPacketInfo[] |
Set Local Player As Initialized
Notifies the server that the local player has finished initializing.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x71 | Server | Player ID | ActorRuntimeID |
Update Soft Enum
Updates the values of a command soft enum.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x72 | Client | Enum Name | String | |
| Values | String[] | |||
| Update Type | Byte | Values: SoftEnumUpdateType. |
Network Stack Latency
Measures network latency by exchanging a timestamp.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x73 | Server & Client | Creation Time | Unsigned Long | |
| Is From Server | Boolean |
Spawn Particle Effect
Spawns a particle effect on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x76 | Client | Dimension Id | Byte | |
| Actor Id | ActorUniqueID | |||
| Position | Vec3 | |||
| Effect Name | String | |||
| Molang Variables | MolangVariableMap |
Available Actor Identifiers
Sends the available entity identifiers.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x77 | Client | Identifier List | NBT |
Network Chunk Publisher Update
Updates the center and radius of the client's chunk view.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x79 | Client | New position for view | BlockPos | |
| New radius for view | VarInt | |||
| Server Built Chunks List | ChunkPos[] | Count uses a fixed-width encoding; see source. Maximum entries: 9216. |
Biome Definition List
Sends the world's biome definitions.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x7A | Client | Map of Biome names to data | Structure | |
| String list | BiomeStringList |
Level Sound Event
Triggers a sound event in the world.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x7B | Server & Client | Sound Event | SoundEventIdentifier | |
| Position | Vec3 | |||
| Data | SignedVarInt | |||
| Actor Identifier | String | |||
| Is Baby | Boolean | |||
| Is Global | Boolean | |||
| Actor Unique Id | Long | |||
| Fire At Position | Vec3 |
Level Event Generic
Triggers a world event with structured event data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x7C | Client | Event Id | SignedVarInt | |
| __[[CTD]]__ | Event-specific NBT tags | Raw remaining payload; no outer compound wrapper. |
Lectern Update
Updates the page and state of a lectern.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x7D | Client | New page to show | Byte | |
| Total Pages | Byte | |||
| Position of Lectern to update | BlockPos |
Client Cache Status
Declares whether the client supports the blob cache.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x81 | Server | Is cache supported? | Boolean |
On Screen Texture Animation
Displays an on-screen texture animation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x82 | Client | Effect Id | Unsigned Int |
Map Create Locked Copy
Requests a locked copy of a map.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x83 | Client | Original Map Id | ActorUniqueID | |
| New Map Id | ActorUniqueID |
Structure Template Data Request
Requests structure template data from the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x84 | Client | Structure Name | String | Maximum length: 256. |
| Structure Position | BlockPos | |||
| Structure Settings | StructureSettings | |||
| Requested Operation | Byte | Values: StructureTemplateRequestOperation. |
Structure Template Data Response
Returns structure template data or the result of a structure operation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x85 | Server & Client | Structure Name | String | |
| Structure's NBT | NBT | |||
| Response Type | Byte | Values: StructureTemplateResponseType. |
Client Cache Blob Status
Reports which cached blobs the client has or needs.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x87 | Server | Missing Ids | Unsigned Long[] | Maximum entries: 4095. |
| Found Ids | Unsigned Long[] | Maximum entries: 4095. |
Client Cache Miss Response
Sends cached blobs that the client is missing.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x88 | Client | Missing Blobs | MissingBlobData[] | Maximum entries: 4095. |
Education Settings
Synchronizes Education Edition settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x89 | Client | Education Level Settings | EducationLevelSettings |
Emote
Notifies other players that an emote is being performed.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8A | Server & Client | Actor Runtime Id | ActorRuntimeID | |
| Emote Id | String | |||
| Emote Length Ticks | VarInt | |||
| Xuid | String | |||
| PlatformId | String | |||
| Flags | Byte |
Multiplayer Settings
Synchronizes multiplayer settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8B | Client | PacketType | SignedVarInt | Values: MultiplayerSettingsPacketType. |
Settings Command
Requests a settings change through a command.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8C | Server | Command | String | |
| Suppress Output? | Boolean |
Anvil Damage
Requests damage to an anvil after use.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8D | Server | Block Position | BlockPos |
Completed Using Item
Notifies the client that an item-use action has finished.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8E | Client | Item Id | Short | |
| Item Use Method | Int |
Network Settings
Sets the connection's compression and networking options.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x8F | Client | Compression Threshold | Unsigned Short | |
| CompressionAlgorithm | Unsigned Short | Values: PacketCompressionAlgorithm. | ||
| Client Throttle Enabled | Boolean | |||
| Client Throttle Threshold | Byte | |||
| Client Throttle Scalar | Float |
Player Auth Input
Sends player inputs and movement for server-authoritative processing.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x90 | Server | Player Rotation | Vec2 | |
| Position | Vec3 | |||
| Move Vector | Vec2 | |||
| Player Head Rotation | Float | |||
| Input Data | Variable-length bitset | Input flags packed in 7-bit groups, with a continuation bit. | ||
| Input Mode | VarInt | Values: InputMode. | ||
| Play Mode | VarInt | Values: ClientPlayMode. | ||
| New Interaction Model | SignedVarInt | Values: NewInteractionModel. | ||
| Interact Rotation | Vec2 | |||
| Client Tick | PlayerInputTick | |||
| Pos Delta | Vec3 | |||
| Item Use Transaction | Optional PackedItemUseLegacyInventoryTransaction | Boolean presence byte followed by the value when present. | ||
| Item Stack Request | Optional ItemStackRequest | Boolean presence byte followed by the value when present. | ||
| Player Block Actions | Optional PlayerBlockActionData[] | Boolean presence byte followed by the value when present. | ||
| Vehicle Rotation | Optional Vec2 | Boolean presence byte followed by the value when present. | ||
| Client Predicted Vehicle | Optional ActorUniqueID | Boolean presence byte followed by the value when present. | ||
| Analog Move Vector | Vec2 | |||
| Camera Orientation | Vec3 | |||
| Raw Move Vector | Vec2 |
Creative Content
Sends the contents of the creative inventory.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x91 | Client | Groups | CreativeGroupInfoPayload[] | |
| Entries | CreativeItemEntryPayload[] |
Player Enchant Options
Sends the available enchanting options.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x92 | Client | Options | ItemEnchantOption[] | Maximum entries: 3. |
Item Stack Request
Requests inventory changes using server-authoritative item stack operations.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x93 | Server | Requests | ItemStackRequest[] | Maximum entries: 100. |
Item Stack Response
Reports the results of item stack requests.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x94 | Client | Responses | ItemStackResponseInfo[] |
Player Armor Damage
Updates damage to the player's armor.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x95 | Client | Armor Slot and Damage Pairs | ArmorSlotAndDamagePair[] | Maximum entries: 5. |
Code Builder
Controls the Education Edition Code Builder interface.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x96 | Client | URL | String | |
| Should open code builder | Boolean |
Update Player Game Type
Updates a player's game mode for other clients.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x97 | Client | Player Game Type | SignedVarInt | Values: GameType. |
| Target player | ActorUniqueID | |||
| Tick | PlayerInputTick |
Emote List
Lists a player's equipped emotes.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x98 | Server & Client | Runtime id | ActorRuntimeID | |
| Emote piece ids | mce::UUID[] |
Position Tracking DB Server Broadcast
Sends a position-tracking database update, including lodestone information.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x99 | Client | Action | Byte | Values: PositionTrackingDBServerBroadcastPacketPayload::Action. |
| Id | PositionTrackingId | |||
| Position tracking data | NBT |
Position Tracking DB Client Request
Requests information from the position-tracking database.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9A | Client | Action | Byte | Values: PositionTrackingDBClientRequestPacketPayload::Action. |
| Id | PositionTrackingId |
Debug Info
Sends server debug information for display on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9B | Client | Actor Id | ActorUniqueID | |
| Data | String |
Packet Violation Warning
Reports a malformed packet detected by the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9C | Server & Client | Violation Type | SignedVarInt | Values: PacketViolationType. |
| Violation Severity | SignedVarInt | Values: PacketViolationSeverity. | ||
| Violation PacketId | SignedVarInt | |||
| Violation Context | String |
Motion Prediction Hints
Supplies entity motion and ground-state hints for prediction.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9D | Server & Client | mRuntimeId | ActorRuntimeID | |
| mMotion | Vec3 | |||
| mOnGround | Boolean |
Animate Entity
Triggers a specified entity animation on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9E | Client | mAnimation | String | |
| mNextState | String | |||
| mStopExpression | String | |||
| mStopExpressionVersion | Int | |||
| mController | String | |||
| mBlendOutTime | Float | |||
| mRuntimeIds | ActorRuntimeID[] |
Camera Shake
Starts or stops a camera-shake effect.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x9F | Client | Intensity | Float | |
| Seconds | Float | |||
| Shake Type | Byte | Values: CameraShakeType. | ||
| Shake Action | Byte | Values: CameraShakeAction. |
Player Fog
Updates the player's fog stack.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA0 | Client | Fog Stack | String[] |
Correct Player Move Prediction
Corrects movement that differs from the server's prediction.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA1 | Client | PredictionType | Byte | Values: RewindType. |
| Pos | Vec3 | |||
| Pos Delta | Vec3 | |||
| Rotation | Vec2 | |||
| VehicleAngularVelocity | Float | Optional or conditional; see source for presence encoding. | ||
| On Ground | Boolean | |||
| Tick | PlayerInputTick |
Item Registry
Sends the item registry and item component data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA2 | Client | Item Data | ItemData[] |
Clientbound Debug Renderer
Adds or removes client debug-rendering objects.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA4 | Client | Type | Byte | Values: Invalid, ClearDebugMarkers, AddDebugMarkerCube. |
| DebugMarkerData | DebugMarkerData | Optional or conditional; see source for presence encoding. |
Sync Actor Property
Synchronizes entity property definitions.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA5 | Client | Property Data | NBT |
Add Volume Entity
Adds a volume entity and its components to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA6 | Client | Entity Network Id | EntityNetId | |
| Components | NBT | |||
| JSON Identifier | String | |||
| Instance Name | String | |||
| Min Bounds | BlockPos | |||
| Max Bounds | BlockPos | |||
| Dimension Type | DimensionType | |||
| Engine Version | String |
Remove Volume Entity
Removes a volume entity from the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA7 | Client | Entity Network Id | EntityNetId | |
| Dimension Type | DimensionType |
Simulation Type
Sets the simulation type used by toolbox mode.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA8 | Client | Sim Type | Byte | Values: SimulationType. |
Npc Dialogue
Opens or updates an NPC dialogue window.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xA9 | Server & Client | Npc Id Raw Id | Unsigned Long | |
| Npc Dialogue Action Type | SignedVarInt | Values: NpcDialogueActionType. | ||
| Dialogue | String | |||
| Scene Name | String | |||
| Npc Name | String | |||
| Action JSON | String |
Edu Uri Resource
Sends Education Edition shared URI resource settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xAA | Client | Edu Shared URI Resource | EduSharedUriResource |
Create Photo
Creates a photo item from an Education Edition portfolio image.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xAB | Server | Raw ID | Unsigned Long | |
| Photo Name | String | |||
| Photo Item Name | String |
Update Sub Chunk Blocks
Updates multiple blocks within a subchunk.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xAC | Client | Sub Chunk Block Position | BlockPos | |
| Blocks Changed | UpdateSubChunkBlocksChangedInfo |
Sub Chunk
Returns a batch of requested subchunk data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xAE | Client | Cache Enabled | Boolean | |
| Dimension Type | DimensionType | |||
| Center Pos | SubChunkPos | |||
| SubChunk Data | SubChunkPacketData[] | Maximum entries: 8192. |
Sub Chunk Request
Requests a batch of subchunks from the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xAF | Server | Dimension Type | DimensionType | |
| SubChunk Position Offset List | SubChunkPosOffset[] | Maximum entries: 8192. | ||
| Center Pos | SubChunkPos |
Player Start Item Cooldown
Starts an item cooldown for the player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB0 | Client | Item Category | String | |
| Duration Ticks | SignedVarInt |
Script Message
Exchanges custom script messages between client and server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB1 | Server | Message Id | String | |
| Message Value | String |
Code Builder Source
Exchanges Education Edition Code Builder source information.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB2 | Server | Operation | Byte | Values: CodeBuilderStorageQueryOptions Operation. |
| Category | Byte | Values: CodeBuilderStorageQueryOptions Category. | ||
| CodeStatus | Byte | Values: CodeBuilderExecutionState CodeStatus. |
Ticking Areas Load Status
Reports whether ticking areas are still being preloaded.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB3 | Client | Waiting For Preload | Boolean |
Dimension Data
Sends the properties of data-driven dimensions.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB4 | Client | Definitions | Structure |
Agent Action Event
Reports an Education Edition agent action.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB5 | Client | Request Id | String | |
| Action | Int | Values: AgentActionType. | ||
| Response | Json::Value |
Change Mob Property
Changes a mob property.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB6 | Client | Actor Id | ActorUniqueID | |
| Property Name | String | |||
| BoolComponent Value | Boolean | |||
| StringComponent Value | String | |||
| IntComponent Value | SignedVarInt | |||
| FloatComponent Value | Float |
Lesson Progress
Reports progress through an Education Edition lesson.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB7 | Client | Lesson Action | SignedVarInt | |
| Score | SignedVarInt | |||
| Activity Id | String |
Request Ability
Requests a change to a player ability.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB8 | Server | Ability | SignedVarInt | |
| Value Type | Byte | Values: RequestAbilityPacketPayload::Type. | ||
| Bool | Boolean | |||
| Float | Float |
Request Permissions
Requests a change to the player's permission level.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xB9 | Server | Target Player Id's Raw ID | Long | |
| Player Permission Level | SignedVarInt | |||
| Custom Permission Flags | Unsigned Short |
Toast Request
Displays a toast notification.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBA | Client | Title | String | |
| Content | String |
Update Abilities
Updates a player's abilities and permissions.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBB | Client | Data | SerializedAbilitiesData |
Update Adventure Settings
Updates the player's adventure settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBC | Client | Adventure Settings | AdventureSettings |
Death Info
Provides information about the player's death.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBD | Client | Death Cause Message | DeathCauseMessageType |
Editor Network
Exchanges serialized Minecraft Editor data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBE | Server | Route To Manager | Boolean | |
| Raw Variant Name | String | |||
| Raw Variant Data | String |
Feature Registry
Sends registered world-generation features to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xBF | Client | FeaturesDataList | FeatureRegistry::FeatureBinaryJsonFormat[] |
Server Stats
Reports server performance statistics to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC0 | Client | ServerTime | Float | |
| NetworkTime | Float |
Request Network Settings
Requests the server's networking settings for a protocol version.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC1 | Server | ClientNetworkVersion | Int (big endian) |
Game Test Request
Requests a GameTest operation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC2 | Server & Client | MaxTestsPerBatch | SignedVarInt | |
| RepeatCount | SignedVarInt | |||
| Rotation | Byte | Values: Rotation. | ||
| StopOnFailure | Boolean | |||
| TestPos | BlockPos | |||
| TestsPerRow | SignedVarInt | |||
| TestName | String |
Game Test Results
Reports the results of GameTests.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC3 | Server | Succeeded | Boolean | |
| Error | String | |||
| TestName | String |
Update Client Input Locks
Updates which player inputs are locked.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC4 | Server | Input Lock ComponentData | VarInt |
Camera Presets
Sends camera presets to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC6 | Client | Camera Presets | CameraPresets |
Unlocked Recipes
Updates the player's unlocked recipes.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0xC7 | Client | Packet Type | Unsigned Int | Values: UnlockedRecipesPacketPayload::PacketType. |
| Unlocked Recipes List | String[] |
Camera Instruction
Changes the client's camera using a camera instruction.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x12C | Client | Camera Instruction | CameraInstruction |
Trim Data
Sends the available armor trim patterns and materials.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x12E | Client | TrimPattern List | TrimPattern[] | |
| TrimMaterial List | TrimMaterial[] |
Open Sign
Opens the sign editing interface.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x12F | Server | Pos | BlockPos | |
| Is Front Side | Boolean |
Agent Animation
Displays an Education Edition agent animation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x130 | Client | Agent Animation | Byte | Values: Agent Animation. |
| Runtime Id | ActorRuntimeID |
Refresh Entitlements
Requests a refresh of the player's content entitlements.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x131 | Client | This packet has no payload fields. | ||
Player Toggle Crafter Slot Request
Requests a change to a crafter slot's enabled state.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x132 | Server | Pos X | Int | |
| Pos Y | Int | |||
| Pos Z | Int | |||
| Slot Index | Byte | |||
| Is Disabled | Boolean |
Set Player Inventory Options
Updates the player's inventory interface options.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x133 | Server | Inventory Options | InventoryOptions |
Set Hud
Changes the visibility of HUD elements.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x134 | Client | Hud Element | Int[] | |
| Hud Visible | SignedVarInt | Values: HudVisibility. |
Award Achievement
Awards an achievement by its identifier.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x135 | Client | AchievementID | Int |
Clientbound Close Form
Closes the client's open server forms.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x136 | Client | This packet has no payload fields. | ||
Serverbound Loading Screen
Reports the client's loading-screen state.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x138 | Server | Loading Screen Packet Type | SignedVarInt | Values: StartLoadingScreen, EndLoadingScreen. |
| Loading Screen Id | Unsigned Int |
Jigsaw Structure Data
Sends the jigsaw structure rules used for world generation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x139 | Client | Jigsaw Structure Data Tag | NBT |
Current Structure Feature
Identifies the structure feature currently occupied by the player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13A | Client | Current Structure Feature | String |
Serverbound Diagnostics
Sends client performance diagnostics when telemetry is enabled.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13B | Server | AvgFps | Float | |
| AvgServerSimTickTimeMS | Float | |||
| AvgClientSimTickTimeMS | Float | |||
| AvgBeginFrameTimeMS | Float | |||
| AvgInputTimeMS | Float | |||
| AvgRenderTimeMS | Float | |||
| AvgEndFrameTimeMS | Float | |||
| AvgRemainderTimePercent | Float | |||
| AvgUnaccountedTimePercent | Float | |||
| Memory Category Values | MemoryCategoryCounter[] | |||
| Entity Diagnostics | EntityDiagnosticTimingInfo[] | |||
| System Diagnostics | SystemDiagnosticTimingInfo[] | |||
| System Categories | SystemCategory[] | |||
| Whisker Scopes | WhiskerScopeDataSummary[] |
Camera Aim Assist
Configures camera aim assistance.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13C | Client | Preset Id | String | |
| View Angle | Vec2 | |||
| Distance | Float | |||
| Target Mode | Byte | Values: CameraAimAssistPacketPayload TargetMode. | ||
| Action | Byte | Values: CameraAimAssistPacketPayload Action. | ||
| Show Debug Render | Boolean |
Container Registry Cleanup
Removes unused entries from the client's dynamic container registry.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13D | Client | Removed Containers | FullContainerName[] |
Movement Effect
Updates a movement effect on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x13E | Client | Target Runtime ID | ActorRuntimeID | |
| Effect ID | SignedVarInt | Values: MovementEffectType. | ||
| Effect Duration | SignedVarInt | |||
| Tick | PlayerInputTick |
Camera Aim Assist Presets
Sends camera aim-assist presets and categories.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x140 | Client | Camera Aim-Assist Presets | CameraAimAssistCategoryDefinition[] | |
| Camera Aim-Assist Categories | CameraAimAssistPresetDefinition[] | |||
| Operation | Byte | Values: CameraAimAssistPresetsPacketOperation. |
Client Camera Aim Assist
Reports client-side camera aim-assist activation.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x141 | Server | Camera Preset Id | String | |
| Action | Byte | Values: ClientCameraAimAssistPacketAction. | ||
| Allow aim assist | Boolean |
Client Movement Prediction Sync
Synchronizes client movement prediction information with the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x142 | Server | Actor Data Flag | ActorDataFlagComponent | |
| Actor Bounding Box | ActorDataBoundingBoxComponent | |||
| Movement Attributes | MovementAttributesComponent | |||
| Actor Unique ID | ActorUniqueID | |||
| Actor Flying State | Boolean |
Update Client Options
Sends the player's client settings to the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x143 | Server | Graphics Mode Change | Byte | Values: GraphicsMode. |
| Filter Profanity Change | Boolean |
Player Video Capture
Starts or stops player video capture.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x144 | Client | Start Video Capture | Variant | Alternatives: Start Video Capture, Stop Video Capture. See source for the selector encoding. |
| Stop Video Capture | Variant | Alternatives: Start Video Capture, Stop Video Capture. See source for the selector encoding. |
Player Update Entity Overrides
Updates entity overrides associated with a player.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x145 | Client | Target ID | ActorUniqueID | |
| Property Index | VarInt | |||
| Update | Variant | Alternatives: ClearOverride, RemoveOverride, IntOverride, FloatOverride. See source for the selector encoding. |
Player Location
Updates locator information for a player or hides their location.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x146 | Client | Target Actor ID | ActorUniqueID | |
| Location | Variant | Alternatives: CoordinatesLocation, HiddenLocation. See source for the selector encoding. |
Clientbound Control Scheme Set
Selects the player's control scheme.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x147 | Client | Control Scheme | Byte | Values: Control Scheme. |
Primitive Shapes
Sends scripted drawing shapes for the client to render.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x148 | Client | Array of primitive shapes (can be a mix of new, updated or removed) | PrimitiveShapeDataPayload[] | Maximum entries: 1048576. |
Serverbound Pack Setting Change
Reports changes to pack settings.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x149 | Server | PackId | mce::UUID | |
| PackSettingName | String | Maximum length: 128. | ||
| PackSettingValue | Variant | Alternatives: Float, Boolean, String, String[]. See source for the selector encoding. |
Clientbound Data Store
Sends data-store updates to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14A | Client | Updates | Variant[] | Maximum entries: 500. |
Graphics Override Parameter
Updates rendering settings overridden by server scripts.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14B | Client | Parameter Keyframe Values | Structure | |
| Float Value | Float | |||
| Vec3 Value | Vec3 | |||
| Biome Identifier | String | Maximum length: 255. | ||
| Player Identifier | String | Optional or conditional; see source for presence encoding. Maximum length: 255. | ||
| Identifier for Parameter | Byte | Values: GraphicsOverrideParameterType. | ||
| Reset Parameter | Boolean |
Serverbound Data Store
Sends a data-store update to the server.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14C | Server | Update | Data Store Update |
Clientbound Data Driven UI Show Screen
Opens a data-driven interface screen.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14D | Client | ScreenId | String | Maximum length: 500. |
| FormId | Unsigned Int | |||
| DataInstanceId | Unsigned Int | Optional or conditional; see source for presence encoding. |
Clientbound Data Driven UI Close Screen
Closes data-driven interface screens.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14E | Client | FormId | Unsigned Int | Optional or conditional; see source for presence encoding. |
Clientbound Data Driven UI Reload
Reloads the client's data-driven interface.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x14F | Client | This packet has no payload fields. | ||
Clientbound Texture Shift
Updates texture-shift settings on the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x150 | Client | Action ID | Byte | Values: ClientboundTextureShiftPacketPayload::Action. |
| Collection Name | String | |||
| From Step | String | |||
| To Step | String | |||
| All Steps | String[] | |||
| Current Length In Ticks | VarLong | |||
| Total Length In Ticks | VarLong | |||
| Enabled | Boolean |
Voxel Shapes
Sends the voxel shapes used by the world's behavior packs.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x151 | Client | Shapes | VoxelShapes::SerializableVoxelShape[] | |
| Name Map | Structure | |||
| Custom Shape Count | Unsigned Short |
Camera Spline
Sends spline data for camera movement.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x152 | Client | Camera Data Splines | CameraSplineDefinition[] |
Camera Aim Assist Actor Priority
Sends entity priorities for camera aim assistance.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x153 | Client | Camera Aim-Assist Actor Priority List | AimAssistActorPriorityData[] |
Resource Packs Ready For Validation
Notifies the server that the client has loaded its resource packs.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x154 | Server | This packet has no payload fields. | ||
Locator Bar
Updates the information displayed on the locator bar.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x155 | Client | Waypoints | LocatorBarWaypointPayload[] | Maximum entries: 40000. |
Party Changed
Reports additional client party metadata.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x156 | Server | party_info | PlayerPartyInfo |
Serverbound Data Driven Screen Closed
Notifies the server that a data-driven screen was closed.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x157 | Server | FormId | Unsigned Int | |
| CloseReason | Byte | Values: DataDrivenScreenClosedReason. |
Sync World Clocks
Synchronizes world clocks with the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x158 | Client | Data | Variant | Alternatives: SyncStateData, InitializeRegistryData, AddTimeMarkerData, RemoveTimeMarkerData. See source for the selector encoding. |
Clientbound Attribute Layer Sync
Synchronizes attribute layers with the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x159 | Client | Data | Variant | Alternatives: UpdateAttributeLayersData, UpdateAttributeLayerSettingsData, UpdateEnvironmentAttributesData, RemoveEnvironmentAttributesData. See source for the selector encoding. |
Server Store Info
Provides the server's store entry-point configuration.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15A | Client | client_store_entry_point_configuration | clientStoreEntryPointConfig |
Server Presence Info
Provides the server's presence configuration.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15B | Client | presence_configuration | presenceConfig |
Clientbound Update Sound Data
Updates client sound data.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15C | Client | Server Sound Handle | ServerSoundHandle | |
| Stop | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| SetVolume | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| SetPitch | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| Fade | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| SeekTo | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| Pause | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. | ||
| Resume | Variant | Alternatives: Stop, SetVolume, SetPitch, Fade, SeekTo, Pause, Resume. See source for the selector encoding. |
Send Party Destination Cookie
Sends a party destination cookie to the client.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15D | Client | cookie | String | Maximum length: 2048. |
| intent | Signed Byte | Values: PartyDestinationCookieIntent. | ||
| destination_name | String | Maximum length: 64. |
Party Destination Cookie Response
Returns a response to a party destination cookie.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15E | Server | cookie | String | Maximum length: 2048. |
| accepted | Boolean |
Set Player Furnace Options
Updates the player's furnace interface options.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x15F | Server | FurnaceType | Byte | Values: SetPlayerFurnaceOptionsPacketPayload FurnaceType. |
| Furnace Options | FurnaceOptions |
Record Started
Notifies the client that a music disc began playing at a position.<ref>Protocol reference</ref>
| Packet ID | Bound to | Field name | Field type | Notes |
|---|---|---|---|---|
| 0x160 | Client | Block Position | BlockPos | |
| Server Sound Handle | ServerSoundHandle |