pocket102 / play

Text

Id: 10

Hex: 0A

Bin: 00001010

Sent by the server and the client

Sends or receives a message from the player. Every variant's field can contain Minecraft's formatting codes.

Every packet sent in the same game tick should be joined together with \n§r (line break and reset formatting), otherwise the messages will be displayed multiple times on the client's chat (see MCPE-17631).

Fields:

Name Type
type ubyte

Variants:

Variant Field Value
Raw type 0
Chat type 1
Translation type 2
Popup type 3
Tip type 4
System type 5
Whisper type 6