Mojira Archive
MCPE-168108

The rotation vector of projectiles has negated x and y values

The rotation of projectiles (arrows, snow balls, tridents, ...) is incorrect, its vector has negated x and y values. As you can see in the attached images, the rotation tridents does not match the model /travel direction. The model represents the correct angle for the shot. The local coordinates should point into the direction that the projectile would travel in.

The axis are highlighted by the structure (x: red, y: green, z: blue)

Command used in a repeating command block to visualize the issue:

/execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5

This report is an edited copy of the java edition equivalent: MC-112474.

Steps to reproduce:

  • Place a repeating command block running the following command:
    /execute at @e[type=thrown_trident] run particle minecraft:mobflame_single ^ ^ ^5
  • Throw a trident
  • Observe where the particle is spawned, compared to the trident

Expected result:
The particle is spawned in front of the trident

Actual result:
The particle direction is incorrect on the x and y axis.