mojira.dev
MC-74632

Projectile facing doesn't match direction of movement

A projectile's facing (for purposes of /tp) does not match the direction it's moving or pointing in.

What I expected to happen was...:
When a player teleports to a projectile, they should be looking in the direction the projectile is moving in.

What actually happened was...:
When a player teleports to a projectile, they are looking in the direction the projectile is moving in, but inverted along the x and z axes.

Steps to Reproduce:
1. Create a new creative world
2. Make sure there are no entities other than yourself in the world, and that none will spawn.
3. Press F3 (Not required, but useful as it displays facing.)
4. Face east, and fire any projectile.
5. While the projectile is in flight, run the command "/tp @p @e[type=!Player]".
6. Notice that although the projectile was fired east, you are now facing west.

Linked issues

Attachments

Comments 8

Is this still an issue in the current Minecraft Snapshot 15w46a or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Is this still an issue in the most recent versions (i.e. 1.10.2, or 16w42a) of Minecraft?

Confirmed for 1.13.1.

TP command for 1.13.1:
/tp @p @e[type=!player,limit=1,sort=nearest]

Can confirm for 1.14. North is the top one. This also affects Tridents

[media]

The category "Rendering" is incorrect, this is not a rendering issue, as this also affects commands' local coordinates (^ ^ ^).
Also, confirmed for 1.14.4 and 19w37a

Can confirm this is still active in 1.15-Pre-Release 1

Forward-resolved towards MC-112474; that ticket has more detail and has been updated more consistently.

ratsby

(Unassigned)

Confirmed

Hitboxes, Projectiles

Minecraft 1.8, Minecraft 1.8.1-pre5, Minecraft 1.8.8, Minecraft 15w44b, Minecraft 15w45a, ..., Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.13.1, 1.14.4, 19w37a

Retrieved