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

Using Riptide on a trident with an item in your off-hand causes visual glitch with said item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w19b, Minecraft 18w20a, Minecraft 18w20c, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre7, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w45a, 19w45b, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 21w16a, 1.17 Pre-release 2, 1.17, 1.17.1, 21w39a, 21w41a, 1.18.1, 1.18.2, 22w13a, 1.19, 22w24a, 1.19.1 Pre-release 2, 1.19.3, 23w06a, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4, 23w12a, 23w18a, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 23w32a, 1.20.2, 23w40a, 23w43a, 1.20.3 Pre-Release 2, 1.20.4, 23w51b, 24w06a, 24w07a, 1.20.5 Pre-Release 1, 1.20.5, 1.20.6 Release Candidate 1, 24w44a
    • Confirmed
    • Player Animation
    • Normal
    • Gameplay

      The bug

      18w14a added a new animation when using riptide on a trident, which causes the trident item in your hand to be turned horizontally instead of being held on its side as normal.
      However, if you have any item in your offhand, the item in your offhand will also be turned horizontally but will also appear at a very strange position on your screen.

      How to reproduce

      1. Obtain a riptide trident and a shield
        /item replace entity @s weapon.mainhand with minecraft:trident{Enchantments:[{id:"riptide",lvl:3}]}
        /item replace entity @s weapon.offhand with minecraft:shield
        
      2. Ensure that you're in first person, enter some water, and use the riptide enchantment to launch yourself
      3. Look at the shield held in your offhand as you do this, and take note as to whether or not items held in the offhand render in the incorrect position in first person when using a riptide trident
        → Items held in the offhand render in the incorrect position in first person when using a riptide trident

      Expected behavior

      Items held in the offhand would not render in the incorrect position in first person when using a riptide trident.

      Code analysis

      __null has done a code analysis in this comment.

        1. _BugTracker_ (1.21.1).png
          _BugTracker_ (1.21.1).png
          193 kB
        2. 1.png
          1.png
          179 kB
        3. 2018-04-05_11.05.02.png
          2018-04-05_11.05.02.png
          837 kB
        4. 2021-12-22_14.17.38.png
          2021-12-22_14.17.38.png
          53 kB
        5. WUT-DA-HECK.mp4
          3.46 MB

            Unassigned Unassigned
            Cavinator1 Cavinator 1
            Votes:
            52 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              CHK: