mojira.dev
MC-299837

Running two or more /rotate commands in the same tick only applies the rotation of the last command

Steps to Reproduce:

First, give yourself command blocks and a button with the following commands:

/give @s command_block
/give @s stone_button
  1. Place down two command blocks on top of each other, the first one must be facing upwards, and the second one must be a chain command block.

  2. Insert the following commands to the chain in order:

    execute as @p at @s run rotate @s ~35 ~
    execute as @p at @s run rotate @s ~ ~-35
  3. Place a button on the command blocks.

  4. Press the button.

I’ve attached a demonstration video for your convenience.

Expected Result:

  • You should rotate both upwards and to the right upon pressing the button.

Actual Result:

  • You will only rotate upwards. Because that is the last command in the chain. Swapping the commands around would result in you only rotating to the right side.

Attachments

Comments 0

No comments.

Mineatom

Shugoh

Confirmed

Platform

Important

Commands, Networking

1.21.8

25w32a

Retrieved