Mojira Archive
MCPE-162264

'/summon' rotation arguments do not inherit rotation without '/execute'

The bug

Relative values can be passed into the y-rotation and x-rotation arguments in /summon, but only when /execute is used. Otherwise, the relative values are assumed to be 0.

Steps to reproduce:

  • Run the following command from chat. This should inherit the player's rotation for the y- and x-rotation arguments:
    /summon minecraft:pig ~ ~ ~2 ~ ~
    

Pig is spawned facing south, y- and x-rotations are 0.

  • Now add /execute run to the beginning of the command. Note that this did not change any contextual components of the command.
    /execute run summon minecraft:pig ~ ~ ~2 ~ ~
    

Pig is spawned in the direction you were facing.

Fixed

Sprunkles

2022-09-15, 07:12 AM

2024-07-02, 11:09 PM

2024-07-02, 11:09 PM

4

3

Confirmed

886630

1.19.40.21 Preview

1.19.70.23 Preview