mojira.dev
MC-300846

The /rotate command doubles the target entity's motion each time it is run

When the rotate command is executed on an entity, its Motion is unexpectedly doubled each time it is run. It affects both player and non-player entities. The severity of this bug can be seen in the attached video.

Steps to reproduce:

  1. Set up a repeating command block with the following command:

    execute as @p at @s run rotate @s ~ ~
  2. Place a stone button at the command block. (Using triggers other than stone button may cause excessive motion increase, leading to extreme lag.)

  3. Press the button, then immediately jump.

Linked issues

Attachments

Comments 3

This was discovered while testing the bug MC-277661. That issue appears to have been fixed in 25w32a (although it's not mentioned in the changelog), and this behavior is occurring instead.

can confirm (tested this in a new world 4677207 that is the highest y-coordinate I managed to get after letting the motion go the initial start y-coordinates were 71 and the motion (you can get thata with /data get entity @s Motion)

the motion peeked at 91671 (first result) and then it slowed down exponentially

[media]

Triton365

(Unassigned)

Community Consensus

Platform

Important

Commands

25w32a

25w34a

Retrieved