Mojira Archive
MCM-786

Local coords don't work in /execute in functions

Partner Rank: 2

Verification builds: 1.13.0.9
Regression builds: 1.13.0.5 and earlier

Summary: Local coords (^ ^ ^) don't work inside a function when used in the /execute offset.

Impact: This breaks upcoming content that was working fine last build.

Repro Steps:

  1. Download and open the attached world
  2. Look in the direction of the purple arrows
  3. /function q
  4. Now run the commands from the function manually:
  5. /summon pig ^ ^ ^5
    /execute @s ~ ~ ~ summon cow ^ ^ ^5
    /execute @s ^ ^ ^5 summon sheep 

Expected Results: All animals appear in front of you.

Observed Results: The sheep spawned by the function appeared to your right, i.e. as though your rotation was (0,0)

Screenshots/Videos attached: No

Won't Fix

[Mod] tryashtar

2019-08-29, 03:43 AM

2019-09-10, 01:11 AM

2019-09-10, 01:11 AM

0

1

Future Release

-