Skip to content

Packets ​

Packets can be described as messages that go between the client and server. These typically consist of the packet id and the data the specified packet holds.

In total there are 57 packets.

  • 36 Clientbound (S->C)
  • 7 Serverbound (C->S)
  • 14 Bidirectional (C<->S)

This page offers a few different ways to sort the packets, to make finding the relevant one easier.

Information direction ​

Sorted by which way information travels, at least in practice. All packets have the ability to be serialized and deseralized by both the client and server, but often only one or the other is used, depending on the packet.

Both (C<->S) ​

Packets that are sent by either the client or server.

Serverbound (C->S) ​

Packets that are only sent by the client.

Clientbound (S->C) ​

Packets that are only sent by the server.

Categorized ​

This is a rather arbitrary way to put the packets together, but it simplifies finding related ones

Connection State ​

Packets relating to establishing, maintaining or ending the connection.

Player ​

Packets relating to the player.

Player State ​

Player Movement ​

Player Action ​

Entity ​

Packets relating to entities.

Entity Spawning ​

Entity Position ​

Entity Attributes ​

Container State ​

Packets that relate to container management.

World ​

Packets that provide info on the world.

World Events ​

World Blocks ​

Misc ​

Packets that provide other info.

Numerical ​

All the packets, listed in numerical order.