Packet 12
AddPlayerPacket
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 Name
string 2Target Runtime IDActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
- 3Platform Chat Id
string - 7Y-Head Rotation
float - 8Carried ItemNetworkItemStackDescriptor
10Entity DataSynchedActorDataList
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 PropertiesPropertySyncData
0Int Entries ListPropertySyncData::PropertySyncIntEntryas
array<PropertySyncData::PropertySyncIntEntry>1Float Entries ListPropertySyncData::PropertySyncFloatEntryas
array<PropertySyncData::PropertySyncFloatEntry>
12Abilities DataSerializedAbilitiesData
- 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 LinksActorLinkas
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 Initiated
boolean - 5Vehicle Angular Velocity
float
- 14Device Id
string 15Build PlatformEnum-as-ValueBuildPlatformas
int32- 0
Google - 1
iOS - 2
OSX - 3
Amazon - 4
Win32 - 5
Dedicated - 6
Sony - 7
Nx - 8
Xbox - 9
Linux - 10
Unknown
- 0
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
Preview builds
Changes between Minecraft Preview protocol builds.
- Released
- Protocol
- 2177
Packet
1 entryChanged 1
- Changed supporting type
BuildPlatform: Added enum valueNintendowith value7. - Changed supporting type
BuildPlatform: Removed enum valueNxwith value7.