0x0C S0CPacketSpawnPlayer
Spawns another player entity in the world with UUID, position (fixed-point int × 32), rotation (byte × 256/360), held item, and metadata.
Fields
| Field | Type | Description |
|---|---|---|
| entityId | VarInt | Entity ID for this player |
| playerId | UUID | Player UUID |
| x/y/z | fixed-point int | Position × 32 |
| yaw/pitch | byte | Rotation × 256/360 |
| currentItem | short | Item ID in hand |
| metadata | DataWatcher | Player metadata (skin, cape, etc.) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Entity ID | VarInt | |
| Player UUID | UUID | Most Sig + Least Sig bits |
| X | Int | x * 32 |
| Y | Int | y * 32 |
| Z | Int | z * 32 |
| Yaw | byte | yaw * 256 / 360 |
| Pitch | byte | pitch * 256 / 360 |
| Current Item | short | Block/item ID (0 = empty) |
| Metadata | DataWatcher | Entity data watcher |
MCP References
MCP
NetHandlerPlayClient.handleSpawnPlayer()Handler Interface
HND
INetHandlerPlayClientNotes
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.
if (event.getPacket() instanceof S0CPacketSpawnPlayer) {
S0CPacketSpawnPlayer s0c = (S0CPacketSpawnPlayer) event.getPacket();
if (isValidPlayer(s0c)) targetList.add(s0c.getEntityID());
}NameTags
(Sigma 3.9, Tenacity 6.0)
Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.
if (event.getPacket() instanceof S0CPacketSpawnPlayer) {
S0CPacketSpawnPlayer s0c = (S0CPacketSpawnPlayer) event.getPacket();
if (isValidPlayer(s0c)) targetList.add(s0c.getEntityID());
}AntiBot
(Sigma 3.9, Tenacity 6.0)
Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.
if (event.getPacket() instanceof S0CPacketSpawnPlayer) {
S0CPacketSpawnPlayer s0c = (S0CPacketSpawnPlayer) event.getPacket();
if (isValidPlayer(s0c)) targetList.add(s0c.getEntityID());
}Teams
(Sigma 3.9, Tenacity 6.0)
Detect player spawns for ESP targets and bot filtering. AntiBot checks spawn data for fake players.
if (event.getPacket() instanceof S0CPacketSpawnPlayer) {
S0CPacketSpawnPlayer s0c = (S0CPacketSpawnPlayer) event.getPacket();
if (isValidPlayer(s0c)) targetList.add(s0c.getEntityID());
}