0x14 C14PacketTabComplete

Player presses Tab in chat to request auto-completion. Sends the partial message or command.

Serverbound (Client → Server) · PLAY · net/minecraft/network/play/client/C14PacketTabComplete.java
chatcommandplayer

Fields

FieldTypeDescription
messageStringPartial message text being tab-completed
hasTargetBlockbooleanWhether the cursor is over a block
targetBlockBlockPos (optional)Block position the cursor is over

Wire Encoding

FieldTypeNotes
MessageStringPartial command/chat string
Has PositionboolWhether cursor is over a block
Target BlockBlockPos (only if pos=true)Looked-at block position

MCP References

MCPNetHandlerPlayServer.processTabComplete()

Handler Interface

HNDINetHandlerPlayServer

Notes

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.

Vanilla hook: EventSendPacket
← Back to all packets