0x18 C18PacketSpectate

Spectator mode player teleports to another entity or player by UUID. Only works in spectator gamemode (3).

Serverbound (Client → Server) · PLAY · net/minecraft/network/play/client/C18PacketSpectate.java
playerspectatorentityposition

Fields

FieldTypeDescription
targetUUIDUUIDUUID of the entity to spectate/follow

Wire Encoding

FieldTypeNotes
Target UUIDUUIDUUID as two longs (most/least significant bits)

MCP References

MCPNetHandlerPlayServer.processSpectate()

Handler Interface

HNDINetHandlerPlayServer

Notes

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.

Vanilla hook: EventSendPacket
← Back to all packets