# Minecraft 1.8.9 Packet Reference (llms.txt) # https://mc-packet-reference.netlify.app/1.8.9/ > Section hub of https://mc-packet-reference.netlify.app/ (all Minecraft versions). Full site index: [https://mc-packet-reference.netlify.app/llms.txt](https://mc-packet-reference.netlify.app/llms.txt). > Searchable reference for all 105 Minecraft 1.8.9 network packets (protocol 47): fields, wire encoding, MCP 1.8.9 source, real client examples and anti-cheat notes. > Plus 16 verbatim MCP logic-class sources with deep analysis, module index and module analyses. ## License: you may train on this - All content in this repo is original and MIT-licensed, free for ANY use including ML/AI training, with attribution: keep the copyright notice and link back to https://mc-packet-reference.netlify.app/ or https://github.com/RealCrystalNight/mc-packet-reference. - License text: [LICENSE](https://mc-packet-reference.netlify.app/LICENSE) · SPDX: https://opensource.org/licenses/MIT - Dataset hub (schema.org/Dataset with `license` + `distribution` linking every download): [Code Graph](https://mc-packet-reference.netlify.app/1.8.9/source/graph/) - Machine graph (MIT, `license` + `isBasedOn` + `dataset` fields): [api/graph.json](https://mc-packet-reference.netlify.app/1.8.9/api/graph.json) and [class-graph.json](https://mc-packet-reference.netlify.app/1.8.9/source/graph/class-graph.json) ## Hubs - [Home](https://mc-packet-reference.netlify.app/1.8.9/) - [All Packets](https://mc-packet-reference.netlify.app/1.8.9/packets/) - [Vanilla Internals](https://mc-packet-reference.netlify.app/1.8.9/classes/) - [Cheat Modules](https://mc-packet-reference.netlify.app/1.8.9/modules/) - [Module Analyses](https://mc-packet-reference.netlify.app/1.8.9/analysis/) - [Site Home, all versions](https://mc-packet-reference.netlify.app/) - [Minecraft 26.x section](https://mc-packet-reference.netlify.app/26.x/) ## Module & anti-cheat analyses (293) Full source walkthroughs for every module and anti-cheat in the corpus (KillAura, Scaffold, Blink, NoFall, Disabler, Kauri, NCP and more). Index: [https://mc-packet-reference.netlify.app/1.8.9/api/analyses.json](https://mc-packet-reference.netlify.app/1.8.9/api/analyses.json), hub: [https://mc-packet-reference.netlify.app/1.8.9/analysis/](https://mc-packet-reference.netlify.app/1.8.9/analysis/). ## Machine API (traverse these first) - [https://mc-packet-reference.netlify.app/1.8.9/api/index.json](https://mc-packet-reference.netlify.app/1.8.9/api/index.json) - [https://mc-packet-reference.netlify.app/1.8.9/api/packets.json](https://mc-packet-reference.netlify.app/1.8.9/api/packets.json) - [https://mc-packet-reference.netlify.app/1.8.9/api/classes.json](https://mc-packet-reference.netlify.app/1.8.9/api/classes.json) - [https://mc-packet-reference.netlify.app/1.8.9/api/modules.json](https://mc-packet-reference.netlify.app/1.8.9/api/modules.json) - [https://mc-packet-reference.netlify.app/1.8.9/api/analyses.json](https://mc-packet-reference.netlify.app/1.8.9/api/analyses.json): full module-analysis index - [Sitemap](https://mc-packet-reference.netlify.app/sitemap.xml) ## Packets (105) ### [Handshaking](https://mc-packet-reference.netlify.app/1.8.9/packets/handshaking/) (1) - [C00Handshake 0x00: Handshake](https://mc-packet-reference.netlify.app/1.8.9/packets/C00Handshake/): The very first packet sent by the client. Initiates the connection and requests a protocol state transition. ### [Login → Server](https://mc-packet-reference.netlify.app/1.8.9/packets/login-server/) (2) - [C00PacketLoginStart 0x00: Login Start](https://mc-packet-reference.netlify.app/1.8.9/packets/C00PacketLoginStart/): Starts the login process by sending the player's GameProfile (username) to the server. - [C01PacketEncryptionResponse 0x01: Encryption Response](https://mc-packet-reference.netlify.app/1.8.9/packets/C01PacketEncryptionResponse/): Responds to the server's encryption request with the shared secret (RSA-encrypted with the server's public key) and verify token. ### [Login → Client](https://mc-packet-reference.netlify.app/1.8.9/packets/login-client/) (4) - [S00PacketDisconnect 0x00: Login Disconnect](https://mc-packet-reference.netlify.app/1.8.9/packets/S00PacketDisconnect/): Kicks the client during the login phase with a JSON chat component reason message (e.g. 'You are banned', 'Server is full'). - [S01PacketEncryptionRequest 0x01: Encryption Request](https://mc-packet-reference.netlify.app/1.8.9/packets/S01PacketEncryptionRequest/): Requests the client to enable encryption by sending the server's RSA public key, a verify token (random challenge), and server ID for Mojang session auth. - [S02PacketLoginSuccess 0x02: Login Success](https://mc-packet-reference.netlify.app/1.8.9/packets/S02PacketLoginSuccess/): Confirms successful authentication. Contains the player's UUID and username. Transitions the connection state from LOGIN to PLAY. - [S03PacketEnableCompression 0x03: Enable Compression](https://mc-packet-reference.netlify.app/1.8.9/packets/S03PacketEnableCompression/): Enables zlib compression for all subsequent packets. Sets the compression threshold: packets >= this size are compressed. ### [Status → Server](https://mc-packet-reference.netlify.app/1.8.9/packets/status-server/) (2) - [C00PacketServerQuery 0x00: Status Request](https://mc-packet-reference.netlify.app/1.8.9/packets/C00PacketServerQuery/): Requests the server's status (MOTD, player count, favicon, protocol version). Empty packet with no payload. - [C01PacketPing 0x01: Ping](https://mc-packet-reference.netlify.app/1.8.9/packets/C01PacketPing/): Sends a client-side timestamp for the server to echo back. The client calculates round-trip latency from the difference. ### [Status → Client](https://mc-packet-reference.netlify.app/1.8.9/packets/status-client/) (2) - [S00PacketServerInfo 0x00: Server Status](https://mc-packet-reference.netlify.app/1.8.9/packets/S00PacketServerInfo/): Responds to C00PacketServerQuery with the server's status as a JSON string (MOTD, players, version, favicon, mod info). - [S01PacketPong 0x01: Pong](https://mc-packet-reference.netlify.app/1.8.9/packets/S01PacketPong/): Echoes back the exact client timestamp from C01PacketPing. The client calculates round-trip latency from the difference. ### [Play → Server](https://mc-packet-reference.netlify.app/1.8.9/packets/play-server/) (23) - [C00PacketKeepAlive 0x00: Keep Alive (Response)](https://mc-packet-reference.netlify.app/1.8.9/packets/C00PacketKeepAlive/): Response to S00PacketKeepAlive. The client echoes back the server's keep-alive ID. - [C01PacketChatMessage 0x01: Chat Message](https://mc-packet-reference.netlify.app/1.8.9/packets/C01PacketChatMessage/): Sends a chat message or command from the client to the server. - [C02PacketUseEntity 0x02: Use Entity](https://mc-packet-reference.netlify.app/1.8.9/packets/C02PacketUseEntity/): Player interacts with (attacks or right-clicks) an entity. - [C03PacketPlayer 0x03: Player](https://mc-packet-reference.netlify.app/1.8.9/packets/C03PacketPlayer/): Updates the player's position on the server. Has subclasses for different update types. - [C07PacketPlayerDigging 0x07: Player Digging](https://mc-packet-reference.netlify.app/1.8.9/packets/C07PacketPlayerDigging/): Player starts/cancels/ends mining a block, or drops an item (press Q). - [C08PacketPlayerBlockPlacement 0x08: Player Block Placement](https://mc-packet-reference.netlify.app/1.8.9/packets/C08PacketPlayerBlockPlacement/): Player places a block or uses an item. Can also be used for empty-hand interactions (e.g., pressing buttons). - [C09PacketHeldItemChange 0x09: Held Item Change](https://mc-packet-reference.netlify.app/1.8.9/packets/C09PacketHeldItemChange/): Player changes their selected hotbar slot. - [C0APacketAnimation 0x0A: Animation](https://mc-packet-reference.netlify.app/1.8.9/packets/C0APacketAnimation/): Player swings their arm (left click or server-side swing). Empty packet with no payload. - [C0BPacketEntityAction 0x0B: Entity Action](https://mc-packet-reference.netlify.app/1.8.9/packets/C0BPacketEntityAction/): Player performs an action: crouch, uncrouch, sprint, stop sprint, leave bed, jump with horse, open inventory. - [C0CPacketInput 0x0C: Input](https://mc-packet-reference.netlify.app/1.8.9/packets/C0CPacketInput/): Player steers a vehicle (boat or horse). Sends sideways/forward movement, jump flag, and unmount flag. - [C0DPacketCloseWindow 0x0D: Close Window](https://mc-packet-reference.netlify.app/1.8.9/packets/C0DPacketCloseWindow/): Player closes an inventory window (chest, crafting table, furnace, etc). - [C0EPacketClickWindow 0x0E: Click Window](https://mc-packet-reference.netlify.app/1.8.9/packets/C0EPacketClickWindow/): Player clicks in an inventory window. Handles item moves: pickup, shift-click, number key swap, middle click, drop, drag init, and double-click. - [C0FPacketConfirmTransaction 0x0F: Confirm Transaction](https://mc-packet-reference.netlify.app/1.8.9/packets/C0FPacketConfirmTransaction/): Client confirms receipt of a S32PacketConfirmTransaction (server inventory transaction). - [C10PacketCreativeInventoryAction 0x10: Creative Inventory Action](https://mc-packet-reference.netlify.app/1.8.9/packets/C10PacketCreativeInventoryAction/): Player sets the contents of a slot in creative mode. Used to spawn items or modify inventory contents directly. - [C11PacketEnchantItem 0x11: Enchant Item](https://mc-packet-reference.netlify.app/1.8.9/packets/C11PacketEnchantItem/): Player selects an enchantment option in the enchanting table window. Carries window ID and button (0=top, 1=middle, 2=bottom). - [C12PacketUpdateSign 0x12: Update Sign](https://mc-packet-reference.netlify.app/1.8.9/packets/C12PacketUpdateSign/): Player finishes editing a sign. Sends the block position and four lines of text as IChatComponents. - [C13PacketPlayerAbilities 0x13: Player Abilities](https://mc-packet-reference.netlify.app/1.8.9/packets/C13PacketPlayerAbilities/): Player toggles flying state. Only sent for the flying flag change. The server controls all other ability flags via S39PacketPlayerAbilities. - [C14PacketTabComplete 0x14: Tab Complete](https://mc-packet-reference.netlify.app/1.8.9/packets/C14PacketTabComplete/): Player presses Tab in chat to request auto-completion. Sends the partial message or command. - [C15PacketClientSettings 0x15: Client Settings](https://mc-packet-reference.netlify.app/1.8.9/packets/C15PacketClientSettings/): Client sends its locale, view distance, chat mode, chat colors, difficulty preference, and cape visibility. - [C16PacketClientStatus 0x16: Client Status](https://mc-packet-reference.netlify.app/1.8.9/packets/C16PacketClientStatus/): Client sends a status update: respawn after death or open inventory (to achieve). - [C17PacketCustomPayload 0x17: Custom Payload (Plugin Message)](https://mc-packet-reference.netlify.app/1.8.9/packets/C17PacketCustomPayload/): Sends a plugin channel message from client to server. Used for mod communication. - [C18PacketSpectate 0x18: Spectate](https://mc-packet-reference.netlify.app/1.8.9/packets/C18PacketSpectate/): Spectator mode player teleports to another entity or player by UUID. Only works in spectator gamemode (3). - [C19PacketResourcePackStatus 0x19: Resource Pack Status](https://mc-packet-reference.netlify.app/1.8.9/packets/C19PacketResourcePackStatus/): Client reports the resource pack load status to the server. Sent after S48PacketResourcePackSend. ### [Play → Client](https://mc-packet-reference.netlify.app/1.8.9/packets/play-client/) (71) - [S00PacketKeepAlive 0x00: Keep Alive (Request)](https://mc-packet-reference.netlify.app/1.8.9/packets/S00PacketKeepAlive/): Server sends a keep-alive ID that the client must echo back in C00PacketKeepAlive. - [S01PacketJoinGame 0x01: Join Game](https://mc-packet-reference.netlify.app/1.8.9/packets/S01PacketJoinGame/): Welcomes the player into the world. Sends entity ID, gamemode, dimension, difficulty, max players, world type, and reduced debug info. - [S02PacketChat 0x02: Chat Message](https://mc-packet-reference.netlify.app/1.8.9/packets/S02PacketChat/): Server sends a chat message or command response to the client. - [S03PacketTimeUpdate 0x03: Time Update](https://mc-packet-reference.netlify.app/1.8.9/packets/S03PacketTimeUpdate/): Synchronizes the world time (total world age and day/night cycle time). Sent every few seconds or when time accelerates (sleeping). - [S04PacketEntityEquipment 0x04: Entity Equipment](https://mc-packet-reference.netlify.app/1.8.9/packets/S04PacketEntityEquipment/): Updates an entity's equipped item in a specific slot (main hand, armor slots). - [S05PacketSpawnPosition 0x05: Spawn Position](https://mc-packet-reference.netlify.app/1.8.9/packets/S05PacketSpawnPosition/): Sets the player's spawn position (where compass points and respawn occurs). - [S06PacketUpdateHealth 0x06: Update Health](https://mc-packet-reference.netlify.app/1.8.9/packets/S06PacketUpdateHealth/): Updates the player's health, food level, and saturation. Sent ~20 times per second during combat. - [S07PacketRespawn 0x07: Respawn](https://mc-packet-reference.netlify.app/1.8.9/packets/S07PacketRespawn/): Sends respawn or dimension change request. The client must reload the world (clear chunks, entities) and re-sync position. - [S08PacketPlayerPosLook 0x08: Player Position & Look](https://mc-packet-reference.netlify.app/1.8.9/packets/S08PacketPlayerPosLook/): Forces the player to a specific position and rotation. The client must respond with a C04/05/06. - [S09PacketHeldItemChange 0x09: Held Item Change](https://mc-packet-reference.netlify.app/1.8.9/packets/S09PacketHeldItemChange/): Server confirms the player's held item slot change (echo back of C09). - [S0APacketUseBed 0x0A: Use Bed](https://mc-packet-reference.netlify.app/1.8.9/packets/S0APacketUseBed/): Makes the player lie down in a bed at the specified position. - [S0BPacketAnimation 0x0B: Animation](https://mc-packet-reference.netlify.app/1.8.9/packets/S0BPacketAnimation/): Broadcasts entity animation (arm swing, damage, etc.) to nearby players. - [S0CPacketSpawnPlayer 0x0C: Spawn Player](https://mc-packet-reference.netlify.app/1.8.9/packets/S0CPacketSpawnPlayer/): Spawns another player entity in the world with UUID, position (fixed-point int × 32), rotation (byte × 256/360), held item, and metadata. - [S0DPacketCollectItem 0x0D: Collect Item](https://mc-packet-reference.netlify.app/1.8.9/packets/S0DPacketCollectItem/): Shows an item being collected (picked up) by a player entity. Plays the pickup animation. - [S0EPacketSpawnObject 0x0E: Spawn Object](https://mc-packet-reference.netlify.app/1.8.9/packets/S0EPacketSpawnObject/): Spawns a non-living entity: item drop, boat, minecart, arrow, fireball, ender pearl, armor stand, etc. - [S0FPacketSpawnMob 0x0F: Spawn Mob](https://mc-packet-reference.netlify.app/1.8.9/packets/S0FPacketSpawnMob/): Spawns a living entity (mob/animal/monster) with entity type, position, rotation, velocity, and metadata. - [S10PacketSpawnPainting 0x10: Spawn Painting](https://mc-packet-reference.netlify.app/1.8.9/packets/S10PacketSpawnPainting/): Spawns a painting entity with type, position, and facing direction. - [S11PacketSpawnExperienceOrb 0x11: Spawn Experience Orb](https://mc-packet-reference.netlify.app/1.8.9/packets/S11PacketSpawnExperienceOrb/): Spawns an experience orb entity with position and XP value. - [S12PacketEntityVelocity 0x12: Entity Velocity](https://mc-packet-reference.netlify.app/1.8.9/packets/S12PacketEntityVelocity/): Sets an entity's velocity (e.g., from knockback, explosion, piston push). - [S13PacketDestroyEntities 0x13: Destroy Entities](https://mc-packet-reference.netlify.app/1.8.9/packets/S13PacketDestroyEntities/): Removes one or more entities from the client's render list. - [S14PacketEntity 0x14: Entity](https://mc-packet-reference.netlify.app/1.8.9/packets/S14PacketEntity/): Base class for entity relative movement and rotation updates. Subclasses S15 (rel move), S16 (look), S17 (move+look). - [S18PacketEntityTeleport 0x18: Entity Teleport](https://mc-packet-reference.netlify.app/1.8.9/packets/S18PacketEntityTeleport/): Teleports an entity to an absolute position (fixed-point int × 32) and rotation. - [S19PacketEntityHeadLook 0x19: Entity Head Look](https://mc-packet-reference.netlify.app/1.8.9/packets/S19PacketEntityHeadLook/): Updates an entity's head yaw rotation independently of body rotation. - [S19PacketEntityStatus 0x19: Entity Status](https://mc-packet-reference.netlify.app/1.8.9/packets/S19PacketEntityStatus/): Sends a status event for an entity (death sound, hurt effect, taming, wolf shaking, etc.). - [S1BPacketEntityAttach 0x1B: Entity Attach](https://mc-packet-reference.netlify.app/1.8.9/packets/S1BPacketEntityAttach/): Attaches an entity to another (player on horse, animal on leash, leach knot). - [S1CPacketEntityMetadata 0x1C: Entity Metadata](https://mc-packet-reference.netlify.app/1.8.9/packets/S1CPacketEntityMetadata/): Updates an entity's DataWatcher metadata (health, skin, flags, name, etc.). - [S1DPacketEntityEffect 0x1D: Entity Effect](https://mc-packet-reference.netlify.app/1.8.9/packets/S1DPacketEntityEffect/): Applies a status/potion effect to an entity. - [S1EPacketRemoveEntityEffect 0x1E: Remove Entity Effect](https://mc-packet-reference.netlify.app/1.8.9/packets/S1EPacketRemoveEntityEffect/): Removes a potion effect from an entity. - [S1FPacketSetExperience 0x1F: Set Experience](https://mc-packet-reference.netlify.app/1.8.9/packets/S1FPacketSetExperience/): Updates the player's experience bar (level, total XP, progress). - [S20PacketEntityProperties 0x20: Entity Properties](https://mc-packet-reference.netlify.app/1.8.9/packets/S20PacketEntityProperties/): Updates an entity's generic attributes (movement speed, max health, knockback resistance, etc.). - [S21PacketChunkData 0x21: Chunk Data](https://mc-packet-reference.netlify.app/1.8.9/packets/S21PacketChunkData/): Sends a chunk section (16x16x16 blocks) with compressed block data, light values, and biome info. - [S22PacketMultiBlockChange 0x22: Multi Block Change](https://mc-packet-reference.netlify.app/1.8.9/packets/S22PacketMultiBlockChange/): Updates multiple blocks within a single chunk. More efficient than sending many S23 packets. - [S23PacketBlockChange 0x23: Block Change](https://mc-packet-reference.netlify.app/1.8.9/packets/S23PacketBlockChange/): Updates a single block in the world: position and new block state (combined ID+metadata). - [S24PacketBlockAction 0x24: Block Action](https://mc-packet-reference.netlify.app/1.8.9/packets/S24PacketBlockAction/): Triggers a block action animation/event (chest open, piston extend, note block play, etc.). - [S25PacketBlockBreakAnim 0x25: Block Break Animation](https://mc-packet-reference.netlify.app/1.8.9/packets/S25PacketBlockBreakAnim/): Shows block break progress (crack stages 0-9) on a block. Sent by all players, not just the miner. - [S26PacketMapChunkBulk 0x26: Map Chunk Bulk](https://mc-packet-reference.netlify.app/1.8.9/packets/S26PacketMapChunkBulk/): Sends multiple chunks at once. Used for initial world load and large area updates. - [S27PacketExplosion 0x27: Explosion](https://mc-packet-reference.netlify.app/1.8.9/packets/S27PacketExplosion/): Server notifies the client of an explosion (TNT, creeper, bed in Nether/End, etc). - [S28PacketEffect 0x28: Effect](https://mc-packet-reference.netlify.app/1.8.9/packets/S28PacketEffect/): Plays a sound effect or particle effect at a position (without a named sound). - [S29PacketSoundEffect 0x29: Sound Effect](https://mc-packet-reference.netlify.app/1.8.9/packets/S29PacketSoundEffect/): Plays a named sound at a world position with volume and pitch. - [S2APacketParticles 0x2A: Particles](https://mc-packet-reference.netlify.app/1.8.9/packets/S2APacketParticles/): Spawns particle effects at a position with offset, speed, and count. - [S2BPacketChangeGameState 0x2B: Change Game State](https://mc-packet-reference.netlify.app/1.8.9/packets/S2BPacketChangeGameState/): Changes a global game state: rain toggle, gamemode change, credits, demo messages, elder guardian effect. - [S2CPacketSpawnGlobalEntity 0x2C: Spawn Global Entity](https://mc-packet-reference.netlify.app/1.8.9/packets/S2CPacketSpawnGlobalEntity/): Spawns a global entity visible to all players (lightning bolt). - [S2DPacketOpenWindow 0x2D: Open Window](https://mc-packet-reference.netlify.app/1.8.9/packets/S2DPacketOpenWindow/): Opens an inventory GUI window (chest, crafting table, furnace, enchantment table, etc.) with window ID, type, title, and slot count. - [S2EPacketCloseWindow 0x2E: Close Window](https://mc-packet-reference.netlify.app/1.8.9/packets/S2EPacketCloseWindow/): Server forces the client to close an inventory window. - [S2FPacketSetSlot 0x2F: Set Slot](https://mc-packet-reference.netlify.app/1.8.9/packets/S2FPacketSetSlot/): Sets a single slot in an inventory window. Used for cursor updates, specific slot changes, and armor slot updates. - [S30PacketWindowItems 0x30: Window Items](https://mc-packet-reference.netlify.app/1.8.9/packets/S30PacketWindowItems/): Sends the full contents of an inventory window, all slots at once. Used for initial container opening and rejected transaction recovery. - [S31PacketWindowProperty 0x31: Window Property](https://mc-packet-reference.netlify.app/1.8.9/packets/S31PacketWindowProperty/): Updates a single property in a container (enchantment level, furnace burn time, brewing progress, etc.). - [S32PacketConfirmTransaction 0x32: Confirm Transaction](https://mc-packet-reference.netlify.app/1.8.9/packets/S32PacketConfirmTransaction/): Server confirms or rejects an inventory transaction from C0EPacketClickWindow. accepted=false causes client to revert inventory. - [S33PacketUpdateSign 0x33: Update Sign](https://mc-packet-reference.netlify.app/1.8.9/packets/S33PacketUpdateSign/): Updates a sign's text for all nearby players. - [S34PacketMaps 0x34: Maps](https://mc-packet-reference.netlify.app/1.8.9/packets/S34PacketMaps/): Updates a map item's data (pixels, colors). - [S35PacketUpdateTileEntity 0x35: Update Tile Entity](https://mc-packet-reference.netlify.app/1.8.9/packets/S35PacketUpdateTileEntity/): Updates NBT data for a tile entity (sign, skull, beacon, command block, etc.). - [S36PacketSignEditorOpen 0x36: Sign Editor Open](https://mc-packet-reference.netlify.app/1.8.9/packets/S36PacketSignEditorOpen/): Opens the sign editor GUI for a specific sign position. - [S37PacketStatistics 0x37: Statistics](https://mc-packet-reference.netlify.app/1.8.9/packets/S37PacketStatistics/): Updates statistic values (walk distance, damage dealt, items crafted, etc.). - [S38PacketPlayerListItem 0x38: Player List Item](https://mc-packet-reference.netlify.app/1.8.9/packets/S38PacketPlayerListItem/): Adds, updates, or removes entries from the tab player list. Used for player join/leave, gamemode changes, ping updates, and display name changes. - [S39PacketPlayerAbilities 0x39: Player Abilities](https://mc-packet-reference.netlify.app/1.8.9/packets/S39PacketPlayerAbilities/): Server updates the player's capabilities (flying, invulnerable, creative, fly speed, walk speed). - [S3APacketTabComplete 0x3A: Tab Complete](https://mc-packet-reference.netlify.app/1.8.9/packets/S3APacketTabComplete/): Server responds to C14PacketTabComplete with a list of matching commands/player names. - [S3BPacketScoreboardObjective 0x3B: Scoreboard Objective](https://mc-packet-reference.netlify.app/1.8.9/packets/S3BPacketScoreboardObjective/): Creates or removes a scoreboard objective (the scoreboard itself, not individual scores). - [S3CPacketUpdateScore 0x3C: Update Score](https://mc-packet-reference.netlify.app/1.8.9/packets/S3CPacketUpdateScore/): Updates a single scoreboard entry (add, remove, or change score value). - [S3DPacketDisplayScoreboard 0x3D: Display Scoreboard](https://mc-packet-reference.netlify.app/1.8.9/packets/S3DPacketDisplayScoreboard/): Sets which scoreboard objective is displayed in a position (sidebar, list, below name). - [S3EPacketTeams 0x3E: Teams](https://mc-packet-reference.netlify.app/1.8.9/packets/S3EPacketTeams/): Create/update/remove a scoreboard team. Manages team name, prefix/suffix, players, friendly fire, and nametag visibility. - [S3FPacketCustomPayload 0x3F: Custom Payload (Plugin Message)](https://mc-packet-reference.netlify.app/1.8.9/packets/S3FPacketCustomPayload/): Sends a plugin channel message from server to client. Used for mod/plugin communication. - [S40PacketDisconnect 0x40: Disconnect (Play)](https://mc-packet-reference.netlify.app/1.8.9/packets/S40PacketDisconnect/): Kicks the player from the server during gameplay with a JSON chat component reason message. - [S41PacketServerDifficulty 0x41: Server Difficulty](https://mc-packet-reference.netlify.app/1.8.9/packets/S41PacketServerDifficulty/): Informs client of the server's difficulty setting. - [S42PacketCombatEvent 0x42: Combat Event](https://mc-packet-reference.netlify.app/1.8.9/packets/S42PacketCombatEvent/): Server sends combat-related events: enter combat, end combat, entity dead with death message. - [S43PacketCamera 0x43: Camera](https://mc-packet-reference.netlify.app/1.8.9/packets/S43PacketCamera/): Sets the player's camera to spectate a specific entity (spectator mode teleport). - [S44PacketWorldBorder 0x44: World Border](https://mc-packet-reference.netlify.app/1.8.9/packets/S44PacketWorldBorder/): Updates the world border (center, size, warning distance/buffer, damping). - [S45PacketTitle 0x45: Title](https://mc-packet-reference.netlify.app/1.8.9/packets/S45PacketTitle/): Displays titles/subtitles on screen with animation timing. Actions: TITLE, SUBTITLE, TIMES, CLEAR, RESET. - [S46PacketSetCompressionLevel 0x46: Set Compression Level](https://mc-packet-reference.netlify.app/1.8.9/packets/S46PacketSetCompressionLevel/): Changes the compression threshold mid-game. Same as S03 but for PLAY state. - [S47PacketPlayerListHeaderFooter 0x47: Player List Header Footer](https://mc-packet-reference.netlify.app/1.8.9/packets/S47PacketPlayerListHeaderFooter/): Sets text above and below the tab player list. - [S48PacketResourcePackSend 0x48: Resource Pack Send](https://mc-packet-reference.netlify.app/1.8.9/packets/S48PacketResourcePackSend/): Sends a resource pack URL and hash. Client downloads and applies it. - [S49PacketUpdateEntityNBT 0x49: Update Entity NBT](https://mc-packet-reference.netlify.app/1.8.9/packets/S49PacketUpdateEntityNBT/): Updates the NBT data of an entity (used for command block minecarts, spawned entities with custom NBT). ## Vanilla Internals (28 classes, full MCP sources + analysis) - [EntityPlayerSP](https://mc-packet-reference.netlify.app/1.8.9/classes/EntityPlayerSP/): Client player entity: emits C03 movement, C0A swings, C0B actions and C0C input every tick from onUpdateWalkingPlayer. Packets: C01PacketChatMessage, C03PacketPlayer, C07PacketPlayerDigging, C0APacketAnimation, C0BPacketEntityAction, C0CPacketInput, C0DPacketCloseWindow, C13PacketPlayerAbilities, C16PacketClientStatus. - [EntityPlayerMP](https://mc-packet-reference.netlify.app/1.8.9/classes/EntityPlayerMP/): Server player entity: health, XP and inventory sync fan out S06, S1F, S2F and S30 packets from onUpdateEntity. Packets: S02PacketChat, S06PacketUpdateHealth, S0APacketUseBed, S0BPacketAnimation, S13PacketDestroyEntities, S19PacketEntityStatus, S1BPacketEntityAttach, S1DPacketEntityEffect, S1EPacketRemoveEntityEffect, S1FPacketSetExperience, S21PacketChunkData, S26PacketMapChunkBulk, S29PacketSoundEffect, S2BPacketChangeGameState, S2DPacketOpenWindow, S2EPacketCloseWindow, S2FPacketSetSlot, S30PacketWindowItems, S31PacketWindowProperty, S36PacketSignEditorOpen, S39PacketPlayerAbilities, S3FPacketCustomPayload, S42PacketCombatEvent, S43PacketCamera, S48PacketResourcePackSend. - [EntityTrackerEntry](https://mc-packet-reference.netlify.app/1.8.9/classes/EntityTrackerEntry/): Server per-entity tracker: builds spawn packets and pushes S12 velocity, S14 movement and S18 teleports to tracking players. Packets: S04PacketEntityEquipment, S0APacketUseBed, S0CPacketSpawnPlayer, S0EPacketSpawnObject, S0FPacketSpawnMob, S10PacketSpawnPainting, S11PacketSpawnExperienceOrb, S12PacketEntityVelocity, S14PacketEntity, S18PacketEntityTeleport, S19PacketEntityHeadLook, S1BPacketEntityAttach, S1CPacketEntityMetadata, S1DPacketEntityEffect, S20PacketEntityProperties, S49PacketUpdateEntityNBT. - [ServerConfigurationManager](https://mc-packet-reference.netlify.app/1.8.9/classes/ServerConfigurationManager/): Login/join orchestrator: fires S01 JoinGame, S38 tab-list, S39 abilities and S41 difficulty during initializeConnectionToPlayer. Packets: S01PacketJoinGame, S02PacketChat, S03PacketTimeUpdate, S05PacketSpawnPosition, S07PacketRespawn, S09PacketHeldItemChange, S1DPacketEntityEffect, S1FPacketSetExperience, S2BPacketChangeGameState, S38PacketPlayerListItem, S39PacketPlayerAbilities, S3EPacketTeams, S3FPacketCustomPayload, S41PacketServerDifficulty, S44PacketWorldBorder. - [NetHandlerPlayServer](https://mc-packet-reference.netlify.app/1.8.9/classes/NetHandlerPlayServer/): Server play-state net handler: validates every C-packet (processPlayer movement gates, C02 reach, C0E clicks) and sends S08 corrections. Packets: S00PacketKeepAlive, S02PacketChat, S07PacketRespawn, S08PacketPlayerPosLook, S18PacketEntityTeleport, S23PacketBlockChange, S2FPacketSetSlot, S32PacketConfirmTransaction, S3APacketTabComplete, S40PacketDisconnect. - [NetHandlerPlayClient](https://mc-packet-reference.netlify.app/1.8.9/classes/NetHandlerPlayClient/): Client play-state net handler: handle dispatch for every S-packet plus C00/C03/C0F/C17/C19 replies upstream. Packets: C00PacketKeepAlive, C03PacketPlayer, C0FPacketConfirmTransaction, C17PacketCustomPayload, C19PacketResourcePackStatus. - [WorldServer](https://mc-packet-reference.netlify.app/1.8.9/classes/WorldServer/): Server world: broadcasts S24 block actions, S27 explosions, S2A particles and S2C lightning to nearby players. Packets: S19PacketEntityStatus, S24PacketBlockAction, S27PacketExplosion, S2APacketParticles, S2BPacketChangeGameState, S2CPacketSpawnGlobalEntity. - [PlayerControllerMP](https://mc-packet-reference.netlify.app/1.8.9/classes/PlayerControllerMP/): Client interaction controller: attackEntity/interact send C02, clickBlock sends C07, windowClick sends C0E, slot sync sends C10. Packets: C02PacketUseEntity, C07PacketPlayerDigging, C08PacketPlayerBlockPlacement, C09PacketHeldItemChange, C0EPacketClickWindow, C10PacketCreativeInventoryAction, C11PacketEnchantItem. - [ServerScoreboard](https://mc-packet-reference.netlify.app/1.8.9/classes/ServerScoreboard/): Server scoreboard: objective/team/score mutations broadcast S3B, S3C, S3D and S3E to all players. Packets: S3BPacketScoreboardObjective, S3CPacketUpdateScore, S3DPacketDisplayScoreboard, S3EPacketTeams. - [NetHandlerLoginServer](https://mc-packet-reference.netlify.app/1.8.9/classes/NetHandlerLoginServer/): Server login state machine (HELLO/KEY/AUTHENTICATING/READY): S01 encryption challenge, S02 success, S03 compression. Packets: S00PacketDisconnect, S01PacketEncryptionRequest, S02PacketLoginSuccess, S03PacketEnableCompression. - [WorldManager](https://mc-packet-reference.netlify.app/1.8.9/classes/WorldManager/): Server world listener: relays S25 break progress, S28 effects and S29 sounds to players near the event. Packets: S25PacketBlockBreakAnim, S28PacketEffect, S29PacketSoundEffect. - [PlayerManager](https://mc-packet-reference.netlify.app/1.8.9/classes/PlayerManager/): Chunk watch manager: streams S21 chunk data, S22 multi-block deltas and S26 bulk loads to watching players. Packets: S21PacketChunkData, S22PacketMultiBlockChange, S23PacketBlockChange. - [EntityLivingBase](https://mc-packet-reference.netlify.app/1.8.9/classes/EntityLivingBase/): Living-entity base: swingItem, potion-effect add/remove and item pickup emit S0B, S1D/S1E and S0D through the tracker. Packets: S04PacketEntityEquipment, S0BPacketAnimation, S0DPacketCollectItem. - [OldServerPinger](https://mc-packet-reference.netlify.app/1.8.9/classes/OldServerPinger/): Server-list prober: C00Handshake(47, STATUS) + C00 query + C01 ping sequence feeding the multiplayer latency readout. Packets: C00Handshake, C00PacketServerQuery, C01PacketPing. - [NetHandlerStatusServer](https://mc-packet-reference.netlify.app/1.8.9/classes/NetHandlerStatusServer/): Server status responder: answers C00 query with S00 JSON and C01 ping with S01 echo, then closes the channel. Packets: S00PacketServerInfo, S01PacketPong. - [ItemInWorldManager](https://mc-packet-reference.netlify.app/1.8.9/classes/ItemInWorldManager/): Survival interaction handler: block break/place and creative resync emit S23 corrections and S38 list updates. Packets: S23PacketBlockChange, S38PacketPlayerListItem. - [Timer](https://mc-packet-reference.netlify.app/1.8.9/classes/Timer/): Tick-loop clock: 20 ticks/sec, renderPartialTicks interpolation, timerSpeed for timer cheats to target. Packets: . - [Minecraft](https://mc-packet-reference.netlify.app/1.8.9/classes/Minecraft/): Client singleton and main loop: runTick game logic, updateCameraAndRender, thePlayer/theWorld access, addScheduledTask. Packets: C00Handshake, C00PacketLoginStart, C16PacketClientStatus. - [NetworkManager](https://mc-packet-reference.netlify.app/1.8.9/classes/NetworkManager/): Netty channel wrapper: sendPacket/dispatchPacket, MessageSerializer pipeline, per-connection state machine driver. Packets: . - [PacketBuffer](https://mc-packet-reference.netlify.app/1.8.9/classes/PacketBuffer/): Wire-format helpers: VarInt/VarLong, BlockPos, ItemStack, NBT, chat, UUID read/write used by every packet. Packets: . - [EnumConnectionState](https://mc-packet-reference.netlify.app/1.8.9/classes/EnumConnectionState/): Protocol registry: HANDSHAKING/STATUS/LOGIN/PLAY packet-ID maps, direction routing, compression hooks. Packets: . - [MathHelper](https://mc-packet-reference.netlify.app/1.8.9/classes/MathHelper/): Fast lookup-table trig, floor/clamp/angle-wrap helpers backing movement, rotation and render math. Packets: . - [BlockPos](https://mc-packet-reference.netlify.app/1.8.9/classes/BlockPos/): Immutable integer position with MutableBlockPos for hot loops, packing, offsets and box iteration. Packets: . - [AxisAlignedBB](https://mc-packet-reference.netlify.app/1.8.9/classes/AxisAlignedBB/): Immutable collision box: offsets, expansion, axis sweep resolvers and ray intercept used by moveEntity. Packets: . - [Entity](https://mc-packet-reference.netlify.app/1.8.9/classes/Entity/): Root of all entities: public pos/motion/rotation fields, moveEntity collision, DataWatcher flags, NBT persistence. Packets: . - [EntityPlayer](https://mc-packet-reference.netlify.app/1.8.9/classes/EntityPlayer/): Shared player base: inventory, food, capabilities, sleep, XP, attack pipeline inherited by SP and MP. Packets: S12PacketEntityVelocity. - [World](https://mc-packet-reference.netlify.app/1.8.9/classes/World/): Abstract world: block read/write, raytrace, entity/AABB queries, spawning, weather, scoreboard and border access. Packets: . - [Container](https://mc-packet-reference.netlify.app/1.8.9/classes/Container/): GUI inventory model: Slot views, slotClick prediction, transaction IDs, shift-click merge driving C0E/S32. Packets: . ## Vanilla Internals: Concepts (2 verified guides) - [Codebase Map](https://mc-packet-reference.netlify.app/1.8.9/classes/codebase-map/): Complete reference of the deobfuscated 1.8.9 net/minecraft source: world model, protocol, client runtime, utilities, with every signature copied verbatim. - [Diagrams](https://mc-packet-reference.netlify.app/1.8.9/classes/diagrams/): Visual companion: architecture layers, packet lifecycle, threading, collision, raytrace and movement constants in plain ASCII. ## Source Browser (1612 classes, 97 packages, 279,449 lines, 3087 resources) - Hub: [https://mc-packet-reference.netlify.app/1.8.9/source/](https://mc-packet-reference.netlify.app/1.8.9/source/): every MCP 1.8.9 class and package, source verbatim. - Machine index: [https://mc-packet-reference.netlify.app/1.8.9/api/source.json](https://mc-packet-reference.netlify.app/1.8.9/api/source.json) - RAW JAVA FOR TRAINING: every class has a downloadable verbatim `.java` mirror: traverse `api/source.json` and fetch each entry's `raw` URL (also linked on every class page as "View raw" / "Download"). - Assets (textures, models, lang, shaders): [https://mc-packet-reference.netlify.app/1.8.9/source/resources/](https://mc-packet-reference.netlify.app/1.8.9/source/resources/) ## Code Graph - Hub: [https://mc-packet-reference.netlify.app/1.8.9/source/graph/](https://mc-packet-reference.netlify.app/1.8.9/source/graph/): class dependency graph, god nodes, communities. - Data: [https://mc-packet-reference.netlify.app/1.8.9/api/graph.json](https://mc-packet-reference.netlify.app/1.8.9/api/graph.json) and [https://mc-packet-reference.netlify.app/1.8.9/source/graph/class-graph.json](https://mc-packet-reference.netlify.app/1.8.9/source/graph/class-graph.json) - License: MIT (https://opensource.org/licenses/MIT). Free for training with attribution; see LICENSE. ## Protocol states - Handshaking: C00Handshake - Login: C00PacketLoginStart, C01PacketEncryptionResponse, S00PacketDisconnect, S01PacketEncryptionRequest, S02PacketLoginSuccess, S03PacketEnableCompression - Status: C00PacketServerQuery, C01PacketPing, S00PacketServerInfo, S01PacketPong - Play: 23 serverbound + 71 clientbound packets, see /packets/ index.