Play → Server Packets

23 Minecraft 1.8.9 (protocol 47) packets: Play → Server. Click through for fields, wire encoding and MCP sources.

C00Keep Alive (Response)Response to S00PacketKeepAlive. The client echoes back the server's keep-alive ID.C01Chat MessageSends a chat message or command from the client to the server.C02Use EntityPlayer interacts with (attacks or right-clicks) an entity.C03PlayerUpdates the player's position on the server. Has subclasses for different update types.C07Player DiggingPlayer starts/cancels/ends mining a block, or drops an item (press Q).C08Player Block PlacementPlayer places a block or uses an item. Can also be used for empty-hand interactions (e.g., pressing buttons).C09Held Item ChangePlayer changes their selected hotbar slot.C0AAnimationPlayer swings their arm (left click or server-side swing). Empty packet with no payload.C0BEntity ActionPlayer performs an action: crouch, uncrouch, sprint, stop sprint, leave bed, jump with horse, open inventory.C0CInputPlayer steers a vehicle (boat or horse). Sends sideways/forward movement, jump flag, and unmount flag.C0DClose WindowPlayer closes an inventory window (chest, crafting table, furnace, etc).C0EClick WindowPlayer clicks in an inventory window. Handles item moves: pickup, shift-click, number key swap, middle click, drop, drag init, and double-click.C0FConfirm TransactionClient confirms receipt of a S32PacketConfirmTransaction (server inventory transaction).C10Creative Inventory ActionPlayer sets the contents of a slot in creative mode. Used to spawn items or modify inventory contents directly.C11Enchant ItemPlayer selects an enchantment option in the enchanting table window. Carries window ID and button (0=top, 1=middle, 2=bottom).C12Update SignPlayer finishes editing a sign. Sends the block position and four lines of text as IChatComponents.C13Player AbilitiesPlayer toggles flying state. Only sent for the flying flag change. The server controls all other ability flags via S39PacketPlayerAbilities.C14Tab CompletePlayer presses Tab in chat to request auto-completion. Sends the partial message or command.C15Client SettingsClient sends its locale, view distance, chat mode, chat colors, difficulty preference, and cape visibility.C16Client StatusClient sends a status update: respawn after death or open inventory (to achieve).C17Custom Payload (Plugin Message)Sends a plugin channel message from client to server. Used for mod communication.C18SpectateSpectator mode player teleports to another entity or player by UUID. Only works in spectator gamemode (3).C19Resource Pack StatusClient reports the resource pack load status to the server. Sent after S48PacketResourcePackSend.