mojira.dev
MCPE-168892

Facing of player is copied when using summon inside a function

When I type the command:

/summon sheep 5 5 5

Then a sheep is summon facing South at location 5 5 5.

But when I put that same command into a function:

[baaaa.mcfunction]
summon sheep 5 5 5

And run it:

/function baaaa

Then the sheep is summoned copying my facing.

I'm not clear whether this is a bug or a feature however. I actually wouldn't mind using execute rotated 0 0 run summon sheep 5 5 5, as it would let me control facing for summons and save teleporting them after.

 

Attachments

Comments 3

Can you please attach your add-on to seeing have problem?

Attached a mcpack I was able to reproduce it in:

/tp -24 69 17
/summon sheep -24 69 17

Will summon a South facing sheep regardless of player facing, while

/function sheepcall

Will summon a sheep that copies player facing.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

jodietron

(Unassigned)

1120793

Confirmed

Windows

10

1.19.71

Retrieved