0x14 C14PacketTabComplete
Player presses Tab in chat to request auto-completion. Sends the partial message or command.
Fields
| Field | Type | Description |
|---|---|---|
| message | String | Partial message text being tab-completed |
| hasTargetBlock | boolean | Whether the cursor is over a block |
| targetBlock | BlockPos (optional) | Block position the cursor is over |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Message | String | Partial command/chat string |
| Has Position | bool | Whether cursor is over a block |
| Target Block | BlockPos (only if pos=true) | Looked-at block position |
MCP References
MCP
NetHandlerPlayServer.processTabComplete()Handler Interface
HND
INetHandlerPlayServerNotes
The server responds with S3APacketTabComplete containing matching commands/player names. The optional BlockPos allows for block-sensitive completions (e.g., filling /give with block IDs of looked-at block).
implementation Implementation Cases
AntiTabComplete
Cancel tab-complete requests to hide commands from server logs.