0x08 S08PacketPlayerPosLook

Forces the player to a specific position and rotation. The client must respond with a C04/05/06.

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

Published 2026-06-18 · Updated 2026-10-14

playerpositionmovementteleport
Comprehensive 8/8

Fields

FieldTypeDescription
xdoubleAbsolute X coordinate
ydoubleFeet Y coordinate
zdoubleAbsolute Z coordinate
yawfloatAbsolute yaw rotation
pitchfloatAbsolute pitch rotation
flagsbyte bitmask0x01=relativeX, 0x02=relativeY, 0x04=relativeZ, 0x08=relativeYaw, 0x10=relativePitch

Wire Encoding

FieldTypeNotes
Xdouble
Ydouble
Zdouble
Yawfloat
Pitchfloat
FlagsbyteBitmask for relative fields

MCP References

MCPNetHandlerPlayClient.handlePlayerPosLook()

Handler Interface

HNDINetHandlerPlayClient

Notes

The client must send a movement confirm (C04/C05/C06) back. The Y coordinate in this packet is the head Y, not feet Y.

Vanilla Source

S08PacketPlayerPosLook.java149 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.server;
2
3
import java.io.IOException;
4
import java.util.EnumSet;
5
import java.util.Set;
6
import net.minecraft.network.Packet;
7
import net.minecraft.network.PacketBuffer;
8
import net.minecraft.network.play.INetHandlerPlayClient;
9
10
public class S08PacketPlayerPosLook implements Packet<INetHandlerPlayClient>
11
{
12
    private double x;
13
    private double y;
14
    private double z;
15
    private float yaw;
16
    private float pitch;
17
    private Set<S08PacketPlayerPosLook.EnumFlags> field_179835_f;
18
19
    public S08PacketPlayerPosLook()
20
    {
21
    }
22
23
    public S08PacketPlayerPosLook(double xIn, double yIn, double zIn, float yawIn, float pitchIn, Set<S08PacketPlayerPosLook.EnumFlags> p_i45993_9_)
24
    {
25
        this.x = xIn;
26
        this.y = yIn;
27
        this.z = zIn;
28
        this.yaw = yawIn;
29
        this.pitch = pitchIn;
30
        this.field_179835_f = p_i45993_9_;
31
    }
32
33
    /**
34
     * Reads the raw packet data from the data stream.
35
     */
36
    public void readPacketData(PacketBuffer buf) throws IOException
37
    {
38
        this.x = buf.readDouble();
39
        this.y = buf.readDouble();
40
        this.z = buf.readDouble();
41
        this.yaw = buf.readFloat();
42
        this.pitch = buf.readFloat();
43
        this.field_179835_f = S08PacketPlayerPosLook.EnumFlags.func_180053_a(buf.readUnsignedByte());
44
    }
45
46
    /**
47
     * Writes the raw packet data to the data stream.
48
     */
49
    public void writePacketData(PacketBuffer buf) throws IOException
50
    {
51
        buf.writeDouble(this.x);
52
        buf.writeDouble(this.y);
53
        buf.writeDouble(this.z);
54
        buf.writeFloat(this.yaw);
55
        buf.writeFloat(this.pitch);
56
        buf.writeByte(S08PacketPlayerPosLook.EnumFlags.func_180056_a(this.field_179835_f));
57
    }
58
59
    /**
60
     * Passes this Packet on to the NetHandler for processing.
61
     */
62
    public void processPacket(INetHandlerPlayClient handler)
63
    {
64
        handler.handlePlayerPosLook(this);
65
    }
66
67
    public double getX()
68
    {
69
        return this.x;
70
    }
71
72
    public double getY()
73
    {
74
        return this.y;
75
    }
76
77
    public double getZ()
78
    {
79
        return this.z;
80
    }
81
82
    public float getYaw()
83
    {
84
        return this.yaw;
85
    }
86
87
    public float getPitch()
88
    {
89
        return this.pitch;
90
    }
91
92
    public Set<S08PacketPlayerPosLook.EnumFlags> func_179834_f()
93
    {
94
        return this.field_179835_f;
95
    }
96
97
    public static enum EnumFlags
98
    {
99
        X(0),
100
        Y(1),
101
        Z(2),
102
        Y_ROT(3),
103
        X_ROT(4);
104
105
        private int field_180058_f;
106
107
        private EnumFlags(int p_i45992_3_)
108
        {
109
            this.field_180058_f = p_i45992_3_;
110
        }
111
112
        private int func_180055_a()
113
        {
114
            return 1 << this.field_180058_f;
115
        }
116
117
        private boolean func_180054_b(int p_180054_1_)
118
        {
119
            return (p_180054_1_ & this.func_180055_a()) == this.func_180055_a();
120
        }
121
122
        public static Set<S08PacketPlayerPosLook.EnumFlags> func_180053_a(int p_180053_0_)
123
        {
124
            Set<S08PacketPlayerPosLook.EnumFlags> set = EnumSet.<S08PacketPlayerPosLook.EnumFlags>noneOf(S08PacketPlayerPosLook.EnumFlags.class);
125
126
            for (S08PacketPlayerPosLook.EnumFlags s08packetplayerposlook$enumflags : values())
127
            {
128
                if (s08packetplayerposlook$enumflags.func_180054_b(p_180053_0_))
129
                {
130
                    set.add(s08packetplayerposlook$enumflags);
131
                }
132
            }
133
134
            return set;
135
        }
136
137
        public static int func_180056_a(Set<S08PacketPlayerPosLook.EnumFlags> p_180056_0_)
138
        {
139
            int i = 0;
140
141
            for (S08PacketPlayerPosLook.EnumFlags s08packetplayerposlook$enumflags : p_180056_0_)
142
            {
143
                i |= s08packetplayerposlook$enumflags.func_180055_a();
144
            }
145
146
            return i;
147
        }
148
    }
149
}

Deobfuscated MCP 1.8.9 source of S08PacketPlayerPosLook, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S08PacketPlayerPosLook.java) at build time and verified present.

Deep Dive

Role in the protocol

S08 is the server's authoritative position and rotation correction: three doubles, two floats and a byte bitmask of relative flags (0x01 X, 0x02 Y, 0x04 Z, 0x08 Y_ROT, 0x10 X_ROT). It fires on join, dimension change, /tp-style teleports and anti-cheat lag-backs, and the client must answer with a C06PacketPlayerPosLook confirm or the server keeps its own position and re-sends. It is the most-intercepted clientbound packet in the corpus: every movement exploit family reads it, and several non-movement modules use it as a state signal (spawned, flagged, respawned).

Vanilla handling

NetHandlerPlayClient.handlePlayerPosLook (Memeware copy, line 601) checks PacketThreadUtil, adds each absolute field to the current value when the matching relative flag is set, calls setPosition, then immediately replies C06PacketPlayerPosLook using the bounding-box minY as the feet position. The motion zeroing lines are commented out in the Memeware and Nekoware copies, a decompile artifact of the 1.5.2-era base. The first S08 flips doneLoadingTerrain, which is the spawned signal Memeware's Stealer waits for to clear its chest state.

Why clients touch it

Five families. Flight modes cancel S08 to avoid being snapped back and re-send a confirm that matches the spoofed position (Rise MineLandFlight, CreativeFlight; Sigma Fly; Spicy Fly and BackupFly; Tenacity FlightModule). Speed modules treat S08 as a flag and auto-disable or cancel per-mode (Memeware and Nekoware Flag Check, Rise 5.99 Speed Zonecraft and Vulcan2). Rotation strippers rewrite yaw and pitch before the vanilla handler runs (Rise 5.99 NoRot and Freelook, Sigma NoRotate). Phase and Blink count or suppress teleports (Rise VulcanPhase, Sigma Phase and Blink, Spicy Phase). AntiVoid and Disabler suites use S08 as a timing trigger (Spicy AntiVoid, Rise VerusCustomDisabler and WatchdogDisabler, Sigma Disabler, Tenacity DisablerModule, Memeware Disabler Sloth mode). Sigma AntiVelocity even rewrites S08 rotations in AACFlag mode while hurtResistantTime is active. The two new clients fit the same landscape: November's PhaseModule reads S08 as its setback timer, LiquidSense's LagBack auto-disables movement modules on S08, and Tp and TeleportCommand use the teleport as their arm signal.

Exploit surface

The anti-cheat's blunt instrument is the rubberband: any server-side position desync ends in an S08. Clients fight it three ways: cancel the packet and re-send a spoofed C06 (keeps the client position, desyncs the server), accept the position but strip rotations (NoRotate), or ignore S08 only while a module state machine is armed (VulcanPhase counts teleports and then stands down after four). Rise 6.x TeleportCheck sits on the same packet to detect teleport exploits aimed at its own users. Every anti-cheat measures the C06 echo: the confirm must match the teleported coordinates, which is why cancel-and-spoof is only viable when the module replays the exact S08 position and why repeated cancels read as teleport-spam flags.

Server-Side Handling

NetHandlerPlayServer.setPlayerLocation (Spicy and Tenacity copies, line 448) computes the absolute target, adds the relative offsets when flags are set, zeroes the player's motion and sends S08. processPlayer validates incoming C0x movement against the last sent position and re-sends S08 when the client drifts beyond tolerance, which is the rubberband. Vanilla 1.8.9 has no teleport-id counter, so the server trusts the next C06-style confirm and re-sends S08 only when subsequent movement disagrees; that gap is exactly what cancel-and-confirm spoofing exploits.

Protocol Analysis

Wire order: x, y, z doubles, yaw, pitch floats, then one flags byte read via readUnsignedByte. Flagged fields are deltas added to the current client value, so the server can nudge a player with a partial teleport; the join S08 is absolute (empty flag set). The client replies with C06PacketPlayerPosLook (absolute position, bounding-box minY, current rotations, onGround flag) regardless of which fields were relative. Because the reply uses the client's post-processing position, any module that mutates the packet before the handler runs changes what the server records.

Anti-Cheat Landscape

S08 is where lag-back lands: speed, phase, ground and fly checks all terminate in one. Cancelling S08 without echoing the position forces the server into a re-send loop that is itself visible as teleport spam. The stealthy pattern is to accept the position and neutralize the effect: NoRotate rewrites rotation so the confirm matches while aim stays client-side, and disablers re-arm PingSpoofComponent immediately after S08 (Rise VerusCustomDisabler sets disable = -20 on every teleport and only spoofs once the position history is clean). Hypixel-era flight modes cancel S08 only until the server velocity-confirms the fall, then let the teleport through to avoid a permanent desync flag.

implementation Implementation Cases

The server's authoritative position correction: doubles plus floats plus a relative-flag bitmask, answered by a mandatory C06 confirm. The most-modded clientbound packet in the corpus: Flight cancels it, Speed treats it as a flag, NoRotate strips rotation, Phase counts it, AntiVoid uses it to time its rescue, and the disabler suites use it to re-arm ping-spoof and blink state.

Flight / Fly (Rise 5.99, Rise 6.2.4, Rise 6.1.30, Sigma 4.11, Spicy, Tenacity 6.0, LiquidSense Dev)

Keep a spoofed airborne position by cancelling S08 teleports until the server confirms the fall, then accept the snap-back and slow the game clock.

On PacketReceiveEvent, cancel S08 while the module has not been teleport-confirmed; keep broadcasting C03 packets and pin the client position to the launch point. The confirm is the S12 velocity packet: once motionY passes a threshold, teleported flips true, S08 is let through and timerSpeed drops to 0.3.

Source: Rise 6.1.30 - com/alan/clients/module/impl/movement/flight/MineLandFlight.java

Vanilla hook: PacketReceiveEvent (S08, S12).
Cancelling rubberbands is the classic flight flag; the MineLand pattern defuses it by accepting the teleport the moment the server's own velocity check confirms the fall, so the client is never in a permanently-desynced state.
Variations: Rise 5.99 Fly marks a setback on S08 in Hypixel and Hycraft modes; Rise 6.2.4 CreativeFlight tracks S08 into serverPos fields to replay the teleport through its own position buffer; Sigma Fly and Spicy Fly and BackupFly cancel S08 in Hypixel mode only; Tenacity FlightModule (Mineland Fling mode) cancels S08 until the S12 confirm and then sets timer speed to 1. LiquidSense Dev's core Fly handles S08 per mode (line 761 of Fly.java), and LastestHypixelFly cancels C03 until the first S08 arms the fly window, then toggles off on a second S08 after 1500 ms with a Setback detected notice; Flight1 imports S08 without handling it.
Speed (Memeware 7.3, Nekoware v1 private, Rise 5.99, LiquidSense Dev)

Treat S08 as a lag-back flag and disable the module, or cancel the teleport per server mode so the speed boost survives.

Memeware and Nekoware hook PacketInEvent: if the packet is S08 and the Flag Check setting is on, print a chat message and toggle the module off. Rise 5.99 Speed runs per-mode handlers: Zonecraft cancels S08 and re-sends C04, Vulcan2 cancels teleports inside 10 blocks, Hypixel2 cancels once, Minemenclub Hop resets its balance counter.

Source: Memeware 7.3 - me/memewaredevs/client/module/movement/Speed.java

Vanilla hook: PacketInEvent / PacketReceiveEvent.
Auto-disable on S08 is the safest reaction because a teleport means the speed boost was already flagged; the chat message is a tell that the module was active, but the server only sees the movement it already flagged.
Variations: Nekoware v1 ships the identical Speed.java with the same Flag Check. Rise 5.99 adds the disableOnFlag setting that toggles the module off with a notification on any S08. LiquidSense Dev's Speed lagback check rewrites S08 yaw and pitch to the client's current rotation, zeroes motionX and motionZ and opens a stop-tick window; BufferSpeed cancels or handles S08 at its line 224.
Disabler (Memeware 7.3, Nekoware v1 private, Rise 5.99, Rise 6.2.4, Rise 6.1.30, Sigma 4.11, Spicy, Tenacity 6.0)

Use S08 as the trigger to re-arm spoofing windows, strip rotations, or nudge the teleport position to break server-side state checks.

Rise 6.x VerusCustomDisabler sets disable = -20 on every S08 and re-arms PingSpoofComponent.spoof only after the position history is clean, holding C00 and C0F for 9 seconds. Memeware Disabler in Sloth mode adds 1.0E-4 to the S08 y to trip a spigot PlayerData nulling bug. Sigma Disabler rewrites S08 yaw and pitch and toggles itself off after the Hypixel watchdog window.

Source: Rise 6.1.30 - com/alan/clients/module/impl/exploit/disabler/VerusCustomDisabler.java

Vanilla hook: PacketReceiveEvent; re-arm via PingSpoofComponent.spoof from PostStrafeEvent.
Correlating the spoof window to S08 arrivals keeps the buffered packet stream aligned with the server's position state, which is what makes the frozen-window pattern hard to distinguish from genuine lag.
Variations: Memeware 7.3 Sloth mode mutates the y by 1.0E-4 (spigot PlayerData exploit); Sigma 4.11 rewrites rotations and auto-disables after the Hypixel watchdog window; Rise 6.2.4 adds WatchdogDisabler alongside VerusCustomDisabler; Tenacity 6.0 keeps only commented S08 code in AdvancedDisablerModule, and Spicy and Nekoware reference S08 as imports without handling it.
NoRotate (Rise 5.99, Sigma 4.11)

Prevent servers from forcing the player's rotation: overwrite the S08 yaw and pitch with the client's current values before the vanilla handler applies them.

Rise 5.99 NoRot stores the server rotation and overwrites the packet fields per mode: Vanilla replaces both fields, Delay replays the saved rotation on the next PreMotion, Legit applies it only if the mouse has not moved since. Sigma 4.11 NoRotate does the same unconditionally on incoming S08.

Source: Rise 5.99 - dev/rise/module/impl/other/NoRot.java

Vanilla hook: PacketReceiveEvent (S08), PreMotionEvent (rotation replay).
The confirm echoes the rewritten rotation, so the server records the client's real aim; servers that enforce rotation on teleport (some kit servers) will loop teleports, which is why the Legit mode exists.
Variations: Rise 5.99 Freelook also rewrites S08 rotations in its camera handling; Sigma 4.11 has no restore path and no mode switch.
Phase / Blink (Sigma 4.11, Rise 6.2.4, Rise 6.1.30, Spicy, November Recode 2.0)

Suppress the block push and track teleport pressure: S08 packets are counted as the server's attempt to eject the player from a block.

Rise 6.x VulcanPhase increments teleportCount on every S08 and stands its state machine down after four, letting blocks push the player out; it also cancels PushOutOfBlockEvent and fakes onGround = false while inside a block. Sigma Phase and Blink handle S08 on their packet bus to mask teleports during blink windows.

Source: Rise 6.1.30 - com/alan/clients/module/impl/movement/phase/VulcanPhase.java

Vanilla hook: PacketReceiveEvent; BlockAABBEvent and PushOutOfBlockEvent for the collision side.
Fighting the eject teleport directly is a permanent-flag loop; counting teleports and self-disabling after a threshold is the pattern that survives because the server eventually succeeds and the module is already off.
Variations: Sigma 4.11 Phase and Blink read S08 on EventPacket; Spicy Phase imports S08 without handling it in the shipped build. November Recode 2.0's PhaseModule in CAGE_PHASE mode resets its setback timer on every S08 and refuses to phase until 20 ticks pass without one; it also cancels outgoing packets while the cage window is open and flushes them on disable.
AntiVoid (Rise 6.2.4, Rise 6.1.30, Spicy)

Use the S08 teleport as the rescue signal: when the server lag-backs the falling player, reset fallDistance so the server's own teleport becomes the save.

Spicy AntiVoid in Hypixel mode hooks EventPacket: on S08 while off ground, past fallDistance 20 (or below y = 0) and over void, it zeroes fallDistance. The EventUpdate path then bounces once per fall with a C03 onGround and a C04 at posY + 12. Rise VulcanAntiVoid clears its noBlock flag on S08 to re-arm the jump suppression.

Source: Spicy - info/spicyclient/modules/player/AntiVoid.java

Vanilla hook: EventPacket (pre, incoming); EventUpdate for the bounce.
Zeroing fallDistance on the teleport is invisible to the anti-cheat because the packet is not mutated and nothing extra is sent; the module rides the server's own lag-back. Over-triggering is guarded by the isOverVoid ray scan and the bounced flag.
Variations: Rise 6.1.30 and 6.2.4 VulcanAntiVoid use S08 only to re-arm the noBlock state that suppresses the jump motion while over void.
LagBack (LiquidSense Dev)

Auto-disable movement modules when the server rubberbands, so a flagged boost quits before the anti-cheat accumulates a ban.

On S08, gated by a 2000 ms delay, check whether Speed, LongJump, Fly, Flight or Step is toggled and the player is pressing a movement key; toggle the offending module off and print a colored chat notice per module.

Source: LiquidSense Dev, me/AquaVit/liquidSense/modules/misc/LagBack.java

Vanilla hook: PacketEvent (S08).
Self-disabling on the first rubberband is the same strategy as Memeware's Flag Check: the server already flagged the movement, so the module quits instead of fighting the teleport.
Variations: Only LiquidSense Dev in the corpus; the eight original clients fold this behavior into Speed and Fly as flag-check settings.
Teleport / Tp (LiquidSense Dev)

Use the server's own lag-back as the arm signal: cancel all C03 until S08 arrives, then walk the computed path with C04s.

onEnable provokes the lag-back with C0F(0,-1,false), a flying-abilities C13 and C04 +0.17/+0.06. While !tp every C03 is cancelled; the first S08 flips tp and the tick handler replays the fall ladder and walks the PathfindingUtils path with per-vec3 C04s, finishing with C03(true) and C0C input.

Source: LiquidSense Dev, me/AquaVit/liquidSense/modules/world/Tp.java

Vanilla hook: PacketEvent (S08 and C03), TickEvent (path walk), MoveEvent (cancel while waiting).
Riding the server's own teleport as the start signal means the module never moves before the server confirms the player position, which avoids the classic teleport-spam flag.
Variations: TeleportCommand (LiquidSense Dev) rewrites S08 yaw and pitch to the client's rotation after a damage-ladder teleport and clears its tryCancelPacket flag; the C03 impl documents the same file family.
PacketReceiveEvent on every client, with the vanilla handler applying the mutation afterwards. Rise 6.x processes S08 in components (PingSpoofComponent, EntityTickComponent, TeleportCheck security) before modules see it.
Classic clients (Memeware, Nekoware, Sigma, Spicy) mutate or cancel the packet object inside the event, so the vanilla handler then applies the modified values. Rise 5.99 and 6.x call event.setCancelled on the receive event; Rise 6.x additionally re-arms component state (PingSpoofComponent spoof windows) from the same packet.

anticheat Anti-Cheat Checks

S08 is the server's authoritative position correction and the landing pad for every movement flag: setback, phase and speed checks all terminate in a rubberband teleport. On the OUT side, anticheats do three things with it: record the exact teleported coordinates and the teleport id, bracket the teleport between transaction packets so the confirm can be time-ordered, and verify that the client's C06 confirm matches the coordinates the server actually sent. The four checks below cover that full pipeline, from the packet listener that converts relative flags to absolute positions (Grim) to the confirm verifier that kicks on a mismatch (CheaterDeleter).

PacketServerTeleport (Grim) (GrimAnticheat-Grim)

Tracks every outgoing player teleport so the simulation knows the client's authoritative position and can enforce it in later movement checks.

Listens on the OUT side for the player position-and-look packet, seeds the player's tracked position on join, converts relative flags to absolute coordinates (rewriting the packet for 1.8-era clients), and brackets the teleport with a transaction sandwich so the exact arrival tick is known. Vehicle teleports are recorded against the same transaction stream.

Detects: Teleport-based desync where the client's reported position diverges from the server's authoritative teleport target.

Source: GrimAnticheat-Grim, common/src/main/java/ac/grim/grimac/events/packets/PacketServerTeleport.java

Variations: Artemis and CheaterDeleter record the same OUT teleport event; Grim additionally re-encodes the packet so its own simulation never sees relative coordinates.
TeleportVerifierCheck (CheaterDeleter) (CoolMineman-CheaterDeleter)

Verifies that the client's teleport confirm returns the exact coordinates the server sent, kicking on any mismatch.

Stores the target position (resolving relative flags against the player's current position) keyed by the S08 teleport id. When the client sends the matching teleport-confirm packet, the check compares each axis of the attached movement packet against the stored target: absolute axes must match exactly, relative axes must be within 10 blocks. Any disagreement kicks the player.

Detects: Cancel-and-spoof teleport bypasses where a client accepts the teleport id but reports a different position, and disabler-style teleport manipulation.

Source: CoolMineman-CheaterDeleter, src/main/java/io/github/coolmineman/cheaterdeleter/modules/movement/TeleportVerifierCheck.java

Variations: Grim instead flags and sets back; BetterAnticheat resolves teleports inside its confirmation tracker before comparing movement.
TeleportTracker (BetterAnticheat) (amnoah-BetterAnticheat)

Compensates outgoing teleport packets so movement checks can distinguish a teleport from an illegal position jump.

On the OUT side it wraps the position-and-look packet (plus entity teleport and rotation packets for the player) into a Teleport record that is only added to the eligible list after the confirmation tracker's pre-transaction fires. On the IN side, every flying packet is matched against eligible teleports: onGround flag, absolute coordinates and rotations must line up, with a 2.0E-4 leniency for relative axes when the player did not send a position packet the previous tick. Teleports that never match become a missedTeleport state for the checks.

Detects: Movement spoofing that fakes teleport confirms, and the desync that follows when a client skips or reorders teleport confirmation.

Source: amnoah-BetterAnticheat, core/src/main/java/better/anticheat/core/player/tracker/impl/teleport/TeleportTracker.java

Variations: Grim's SetbackTeleportUtil keeps an explicit queue of sent teleports; CheaterDeleter verifies confirms immediately and kicks.
TeleportPreProcessor (Artemis) (artemisac-artemis-minecraft-anticheat)

Feeds server teleport and entity-teleport packets into the movement holder so position checks run against the post-teleport state.

Handles the OUT position packet and the player's entity-teleport packet. For entity teleports it registers a transaction-confirmed action: on the pre side it moves the last velocity into lastVelocity, installs the teleported position as the current movement and location, and marks the movement as teleport-processed; the post side clears that flag once the client confirms.

Detects: Cheats that depend on the anticheat not knowing the server moved the player, and velocity residue that should be cleared by a teleport.

Source: artemisac-artemis-minecraft-anticheat, ac.artemis.core/src/main/java/ac/artemis/core/v4/processor/teleport/TeleportPreProcessor.java

Variations: Grim uses a transaction sandwich on the OUT packet itself; Artemis applies the teleport on the confirm instead of at send time.

Wiki Cross-Reference

Yaw is measured in degrees starting at 0 and is never clamped, and may be negative or above 360.

Pitch is measured in degrees with 0 looking straight ahead, -90 straight up and 90 straight down.

The server ignores the client movement packets sent before the client was aware of the teleport until it receives the matching confirm, and if the player is riding a vehicle the teleport has no effect but confirm packets are still sent.

MCP 1.8.9 S08PacketPlayerPosLook implements Packet dispatching to INetHandlerPlayClient.handlePlayerPosLook; wire serde is readPacketData/writePacketData via readDouble, readFloat, readUnsignedByte.

1.8.9 callers: NetHandlerPlayServer.setPlayerLocation sends new S08PacketPlayerPosLook (line 484): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/network/NetHandlerPlayServer.java

Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.

Vanilla Internals

Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.