Packet 12
AddPlayerPacket
Add Player
A new player joins the game; the server sends this packet to the other players.
HeaderID 12varuint
0UUIDmce::UUID · variable
1Player Namestring · variable
2Target Runtime IDActorRuntimeID · variable
3Platform Chat Idstring · variable
4PositionVec3 · variable
5VelocityVec3 · variable
6RotationVec2 · variable
7Y-Head Rotationfloat · 4 bytes
8Carried ItemNetworkItemStackDescriptor · variable
9Player Game Typevarint32 · variable (up to 5 bytes)
10Entity DataSynchedActorDataList · variable
11Synched PropertiesPropertySyncData · variable
12Abilities DataSerializedAbilitiesData · variable
13Actor Linksarray<ActorLink> · variable
14Device Idstring · variable
15Build Platformint32 · 4 bytes
Serialized fields
16 top-level fields- 1Player NameDisplay name of the player.
string 2Target Runtime IDRuntime ID of the spawned player actor.ActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
- 3Platform Chat IdPlatform-specific online ID used for platform chat.
string - 7Y-Head RotationHead yaw rotation in degrees.
float - 8Carried ItemThe item currently held by the player.NetworkItemStackDescriptor
10Entity DataSynched actor data (data items) for the player entity.SynchedActorDataList
0DataDataItemEntryas
array<DataItemEntry>- 0IDCompression
varuint32 1Payload
oneOf<DataItemBytePayload, DataItemShortPayload, DataItemIntPayload, DataItemFloatPayload, DataItemStringPayload, DataItemCompoundTagPayload, DataItemPosPayload, DataItemInt64Payload, DataItemVec3Payload>0DataItemBytePayload
DataItemBytePayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1Value
int8
1DataItemShortPayload
DataItemShortPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1Value
int16
2DataItemIntPayload
DataItemIntPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1ValueCompression
varint32
3DataItemFloatPayload
DataItemFloatPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1Value
float
4DataItemStringPayload
DataItemStringPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1Value
string
5DataItemCompoundTagPayload
DataItemCompoundTagPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1Value
unknown
6DataItemPosPayload
DataItemPosPayload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
7DataItemInt64Payload
DataItemInt64Payload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
- 1ValueCompression
varint64
8DataItemVec3Payload
DataItemVec3Payload0TypeEnum-as-ValueDataItemTypeas
uint8- 0
Byte - 1
Short - 2
Int - 3
Float - 4
String - 5
CompoundTag - 6
Pos - 7
Int64 - 8
Vec3
- 0
11Synched PropertiesSynched entity property values for the player.PropertySyncData
0Int Entries ListPropertySyncData::PropertySyncIntEntryas
array<PropertySyncData::PropertySyncIntEntry>1Float Entries ListPropertySyncData::PropertySyncFloatEntryas
array<PropertySyncData::PropertySyncFloatEntry>
12Abilities DataThe player's permissions and ability layers.SerializedAbilitiesData
- 0Target Player Raw Id
int64 1Player PermissionsEnum-as-ValuePlayerPermissionLevelas
int8- 0
Visitor - 1
Member - 2
Operator - 3
Custom
- 0
2Command PermissionsEnum-as-ValueCommandPermissionLevelas
uint8- 0
Any - 1
GameDirectors - 2
Admin - 3
Host - 4
Owner - 5
Internal
- 0
13Actor LinksActor links describing what the player is riding or linked to.ActorLinkas
array<ActorLink>0Target AActorUniqueID
- 0Actor Unique IDCompression
varint64
1Target BActorUniqueID
- 0Actor Unique IDCompression
varint64
2TypeEnum-as-ValueActorLinkTypeas
uint8- 0
None - 1
Riding - 2
Passenger
- 0
- 3Immediate
boolean - 4Passenger InitiatedWhether the link was changed by the passenger
boolean - 5Vehicle Angular Velocity
float
- 14Device IdA unique device id obtained from the connection request.
string 15Build PlatformThe device/build platform the player is on.Enum-as-ValueBuildPlatformas
int32- 1
Google - 2
iOS - 3
OSX - 4
Amazon - 8
Win32 - 9
Dedicated - 11
Sony - 12
Nintendo - 13
Xbox - 15
Linux - -1
Unknown
- 1
Changelog
Stable releases
Changes between stable protocol releases.
- Released
- Protocol
- 2193
Packet
1 entryChanged 1
- Changed supporting type
BuildPlatform: Added enum valueNintendowith value7. - Changed supporting type
BuildPlatform: Removed enum valueNxwith value7.
All builds
Changes between consecutive stable releases and preview builds.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Packet
1 entryChanged 1
- Changed supporting type
BuildPlatform: Changed enum valueGooglefrom0to1. - Changed supporting type
BuildPlatform: Changed enum valueiOSfrom1to2. - Changed supporting type
BuildPlatform: Changed enum valueOSXfrom2to3. - Changed supporting type
BuildPlatform: Changed enum valueAmazonfrom3to4. - Changed supporting type
BuildPlatform: Changed enum valueWin32from4to8. - Changed supporting type
BuildPlatform: Changed enum valueDedicatedfrom5to9. - Changed supporting type
BuildPlatform: Changed enum valueSonyfrom6to11. - Changed supporting type
BuildPlatform: Changed enum valueNintendofrom7to12. - Changed supporting type
BuildPlatform: Changed enum valueXboxfrom8to13. - Changed supporting type
BuildPlatform: Changed enum valueLinuxfrom9to15. - Changed supporting type
BuildPlatform: Changed enum valueUnknownfrom10to-1. - Changed supporting type
GameType: Changed enum valueUndefinedfrom0to-1. - Changed supporting type
GameType: Changed enum valueSurvivalfrom1to0. - Changed supporting type
GameType: Changed enum valueCreativefrom2to1. - Changed supporting type
GameType: Changed enum valueAdventurefrom3to2. - Changed supporting type
GameType: Changed enum valueDefaultfrom4to5. - Changed supporting type
GameType: Changed enum valueSpectatorfrom5to6. - Changed supporting type
GameType: Changed enum valueWorldDefaultfrom6to0.
- Released
- Protocol
- 2177
- Previous build
- 1.26.45
Packet
1 entryChanged 1
- Changed supporting type
BuildPlatform: Added enum valueNintendowith value7. - Changed supporting type
BuildPlatform: Removed enum valueNxwith value7.