Rotate Minecraft entities without moving them
The Java Edition /rotate command changes where an entity looks without teleporting it. It was added in Java 1.21.2 and accepts the same rotation and facing concepts used by /teleport.
Enter yaw and pitch for an exact direction, use ~ values for a relative turn, face world or relative coordinates, or aim at the feet or eyes of one entity.
A direct /rotate target resolves one entity. When your selector may match several results, this generator runs /rotate @s once for each match and moves execution to that entity so relative coordinates and angles remain correct.
Compass direction presets
Choose south, west, north, east, look up, level, or down without memorizing Java yaw and pitch values.
Relative turns
Use values such as ~90 or ~-45 to turn from the current rotation instead of setting an absolute direction.
Coordinate and entity facing
Aim at absolute, ~ relative, or ^ local positions, or follow the feet or eyes of one exact entity.
Multi-entity safety
Selectors for groups automatically become execute-as and at commands so each selected entity rotates as @s from its own position and rotation.
How to generate a rotate command
Select Java 1.21.2 or later and choose the player, mob, display entity, armor stand, or filtered group to rotate.
Choose yaw and pitch for a fixed direction, coordinates for a fixed point, or an entity target that should be tracked.
Use the preset buttons for common Minecraft directions, then fine-tune the numeric values or selector if needed.
Copy the command and run it with permission level 2. The entity changes direction but stays at the same position.
Create a /rotate command
- Choose one entity or a filtered group.
- Set a rotation, coordinate target, or entity target.
- Copy the generated direct or execute-wrapped command.
Minecraft rotate command questions
Which Minecraft version added /rotate?
Java Edition added /rotate in 1.21.2. Older releases can imitate rotation with /teleport at the same coordinates, but this generator emits the current /rotate syntax only.
What yaw values face north, south, east, and west?
Java yaw 0 faces south, 90 faces west, 180 or -180 faces north, and -90 faces east.
What pitch values look up and down?
Pitch -90 looks straight up, 0 looks level at the horizon, and 90 looks straight down.
Can /rotate affect several entities?
The direct target argument is one entity. This generator wraps multi-result selectors with /execute as and at, then rotates each result as @s.
Does /rotate move the entity?
No. It changes rotation only. Use /teleport when position must change as well.