0x18 C18PacketSpectate
Spectator mode player teleports to another entity or player by UUID. Only works in spectator gamemode (3).
Fields
| Field | Type | Description |
|---|---|---|
| targetUUID | UUID | UUID of the entity to spectate/follow |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Target UUID | UUID | UUID as two longs (most/least significant bits) |
MCP References
MCP
NetHandlerPlayServer.processSpectate()Handler Interface
HND
INetHandlerPlayServerNotes
Only processed by the server if the player is in spectator mode (gamemode=3). The server teleports the player's camera to the target entity's position. MultiAura modules (Aqua 13, Memeware 7.3) use C18 to teleport to targets for aura attack sequences.
implementation Implementation Cases
Freecam
Teleport spectator to another entity. Used by Freecam for entity tracking.