0x0C S0CPacketSpawnPlayer

Spawns another player entity in the world with UUID, position (fixed-point int × 32), rotation (byte × 256/360), held item, and metadata.

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S0CPacketSpawnPlayer.java
playerentityspawn

Fields

FieldTypeDescription
entityIdVarIntEntity ID for this player
playerIdUUIDPlayer UUID
x/y/zfixed-point intPosition × 32
yaw/pitchbyteRotation × 256/360
currentItemshortItem ID in hand
metadataDataWatcherPlayer metadata (skin, cape, etc.)

Wire Encoding

FieldTypeNotes
Entity IDVarInt
Player UUIDUUIDMost Sig + Least Sig bits
XIntx * 32
YInty * 32
ZIntz * 32
Yawbyteyaw * 256 / 360
Pitchbytepitch * 256 / 360
Current ItemshortBlock/item ID (0 = empty)
MetadataDataWatcherEntity data watcher

MCP References

MCPNetHandlerPlayClient.handleSpawnPlayer()

Handler Interface

HNDINetHandlerPlayClient

Notes

This is received when another player enters the client's render distance. ESP modules add the entity to their target list. AntiBot modules check the UUID against tab list entries.

implementation Implementation Cases

ESP (Sigma 3.9, Tenacity 6.0)

Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.

Vanilla hook: EventReceivePacket
NameTags (Sigma 3.9, Tenacity 6.0)

Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.

Vanilla hook: EventReceivePacket
AntiBot (Sigma 3.9, Tenacity 6.0)

Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.

Vanilla hook: EventReceivePacket
Teams (Sigma 3.9, Tenacity 6.0)

Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.

Vanilla hook: EventReceivePacket
← Back to all packets