View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / java315 / clientbound / player-position-and-look

Player position and look

Encode/decode this packet in Sandbox

Id: 46

Id (hex): 2E

Id (bin): 00101110

Clientbound: ✔️

Serverbound: ✖️

Fields

Name Type
position double<xyz>
yaw float
pitch float
flags ubyte
teleport id varuint

flags

Constants:

Name Value
x 1
y 2
z 4
y rotation 8
x rotation 16