mojira.dev
MC-296670

Using /rotate with high horizontal rotation values makes the player motion jittery, or could freeze the game.

Couldn’t find a duplicate report, so reporting this.

Steps to reproduce:

  1. Run this command:

    /rotate @s 100000000 0
  2. Notice that the player’s hand rotates crazily, the player’s horizontal movement becomes jittery, the player’s aim is wrong, and that the player cannot move horizontally.

  3. Run this command (Higher values might be required for computers with good specs):

    /rotate @s 1000000000000000 0
  4. Notice that the game freezes.

This also works with relative rotations.

Observed result:

When the command is run:

  • The player’s hand rotates crazily

  • The player’s horizontal rotation becomes jittery (Horizontal rotation becomes completely impossible if high values are provided)

  • The player’s aim is wrong

  • The player cannot move horizontally

  • The game freezes when high values are provided

Expected result:

The player would just rotate as normal.

Environment

OS: Windows 11 10.0.26120.3671
CPU: Intel Core i5-8250U
RAM: 16GB, Allocated 6GB for Minecraft
Graphics: Intel UHD Graphics 620

Attachments

Comments 1

The reported behavior has been present ever since 24w40a, when the rotate command was added.

flow_santohyj123

(Unassigned)

Confirmed

Platform

Low

Commands

1.21.5, 25w15a

Retrieved