-
Bug
-
Resolution: Duplicate
-
None
-
1.19.4
-
None
-
Unconfirmed
-
(Unassigned)
What I expect to happen: Thrown items rotate to face the direction they are traveling
What actually happens: Thrown items seem to invert their facing with a rapid shift taking place on the East and West direction.
Method to replicate:
By enabling hitboxes, you can see that thrown items (Snowballs, Eggs, Ender Pearls, Tridents, Arrows) do not face the direction they are traveling most of the time. I say most of the time, because there are 2 instances where their facing does match their direction, but that seems to be more incidental than intentional. This can be more clearly seen with snowballs.
As the player rotates, the rotation of the item facing rotates in the opposite direction meaning that the correct facing only happens on North and South Facing.
Why I would request this to be fixed:
The facing of entities, items and players is important for datapack makers and map makers as a lot of functions are dependent on triggering when items are at certain locations. There are formulas to correct the behavior of items, but they are far more cumbersome than just /execute as @e[type=snowball] at @s rotated as @s if block ^ ^ ^1 stone run setblock ^ ^ ^1 air
- duplicates
-
MC-112474 The rotation vector of projectiles has negated x and y values
- Open