786 B
786 B
\[Category Packet
{{packet|name=Friends packet|description=Sends friend data to the client|opcode=2|type=VARIABLE_SHORT|length=-2|revision=718}} == Friends packet ==
=== Description ===
Sends friend data to the client
=== Packet Structure ===
{| border=2 ! Data type ! Description |- | [[Data Types#Standard data types|Short]] || If it is a warning message. |- | [[Data Types#Standard data types|String]] || Display name |- | [[Data Types#Standard data types|String]] || If the display name does not equal the player's username, then this sends the username |- |
\[Data Types\#Standard data types\|Short
\[Data Types\#Standard data types\|Byte