Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262425

Throwable Objects do not face the direction they are moving

XMLWordPrintable

    • Icon: Bug 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

        1. 2023-05-07_13.04.24.png
          2023-05-07_13.04.24.png
          528 kB
        2. 2023-05-07_13.04.27.png
          2023-05-07_13.04.27.png
          603 kB
        3. 2023-05-07_13.04.28.png
          2023-05-07_13.04.28.png
          563 kB
        4. 2023-05-07_13.04.29.png
          2023-05-07_13.04.29.png
          637 kB
        5. 2023-05-07_13.04.31.png
          2023-05-07_13.04.31.png
          611 kB
        6. 2023-05-07_13.04.32.png
          2023-05-07_13.04.32.png
          681 kB
        7. 2023-05-07_13.04.33_2.png
          2023-05-07_13.04.33_2.png
          683 kB
        8. 2023-05-07_13.04.33.png
          2023-05-07_13.04.33.png
          689 kB

            Unassigned Unassigned
            harru_triegen Devin Kempfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: