mojira.dev
MC-306450

/teleport relative rotation fails to rotate pitch from -90° to 90°

Summary:

When attempting to rotate a player or entity from facing straight up to straight down using relative rotation with /teleport, the rotation does not occur.

This bug may cause existing datapacks to malfunction.

Steps to reproduce1:
Execute the following two commands in the chat box.

execute rotated 0 -90 run tp @s ~ ~ ~ ~ ~
execute rotated 0 90 run tp @s ~ ~ ~ ~ ~

Expected results1:
The player should face straight down.

Observed results1:
The player remains facing straight up.

Note: This issue does not affect the /rotate command.

Linked issues

Comments 2

Thank you for your report!

Does MC-279766 or MC-305203 describe your issue?

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

I believe the issue I am reporting is different from those two bug reports.

komaramune

(Unassigned)

Confirmed

(Unassigned)

1.21.11

Retrieved