home / bedrock137 / play / add-player
Add player
Encode/decode this packet in Sandbox
Id: 12
Id (hex): 0C
Id (bin): 00001100
Clientbound: ✔️
Serverbound: ✖️
Spawns a player after adding it to the player’s list using PlayerList. If PlayerList is sent after this packet the player will appear to have the same skin as the player who receives this packet. Spawning a player to itself (using the same entity id given in the StartGame packet) will crash the client’s game.
Fields
Name | Type |
---|---|
uuid | mcpeUuid |
username | string |
entity id | varlong |
runtime id | varulong |
position | float<xyz> |
motion | float<xyz> |
pitch | float |
head yaw | float |
yaw | float |
held item | slot |
metadata | metadata |
? | varuint |
? | varuint |
? | varuint |
? | varuint |
? | varuint |
? | long |
links | link[] |
uuid
Player’s UUID, should match an UUID of a player in the list added through PlayerList.
username
Player’s username and text displayed on the nametag if something else is not specified in the metadata.