mojira.dev
MCPE-168070

Some Projectiles that shot/thrown by player move on South (+Z) when they're teleported using local coordinates

Steps to Reproduce:

  1. Download the world and import it

  2. Turn on switch above command block

  3. Stand on purple concrete and throw a snowball in the direction of light blue concrete

Expected Results:
The snowball should moves in the direction the player is looking

Observed Results:
The snowball moves in the positive Z direction

Affected Projectiles:

  • Snowball

  • Egg

  • Arrow

Video:
https://drive.google.com/file/d/1vMgn6-9MGqWWsotEfw1z7RyHKC6cAENR/view?usp=sharing

Linked issues

Attachments

Comments 4

Part of this issue is that when the command block is set to repeat on every tick, the command always runs as soon as the snowball spawns and before it can set its own rotation and direction of movement. Since mobs initially spawn facing south (+Z), the command causes the snowballs to move south.

Another part of the explanation for what happens here is that the command used in the command block does not tell the snowballs to teleport in the direction the player is facing. The command teleports snowballs in the direction the snowballs themselves are facing. This might be what you would intuitively want so that the trajectory does not change after launch if the player turns or moves, but then that assumes projectiles always face the direction that they travel. I don’t think that they do, based on testing some alternative commands.

updated title for more clarity

Can confirm, affects 1.20.62. Was able to reproduce this on Windows too.

Video:

[media]

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behaviour, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

If you'd like to post a suggestion or give further feedback, please visit the Minecraft Feedback Site or choose a link below.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Hangekisobu

(Unassigned)

1191535

Confirmed

Multiple

projectile

1.19.63, 1.20.15 Hotfix, 1.20.62 Hotfix, 1.20.70, 1.20.80, 1.21.0, 1.21.20, 1.21.30, 1.21.40, 1.21.50

Retrieved