Datapack Codex

Entity format/Entity/Rotation (yaw)

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Entity format/Entity/Rotation (yaw) on the Minecraft Wiki. Mirrored from revision 3620235. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This is a table summarizing the orthogonal and diagonal directions associated with specific values of [Float] Rotation[0] (the yaw of an entities rotation).

Direction

the entity is facing

Value

(in degrees)

north -180
north east -135
east -90
south east -45
south 0
south west +45
west +90
north west +135
north (again) +180

Sources