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

Riptide tridents use mainhand item to inflict damage when thrown in the offhand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w19a
    • Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w48b, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 19w35a, 19w36a, 19w40a, 1.15.2, 20w12a, 1.16 Pre-release 1, 1.16.1, 20w30a, 1.16.2 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w51a, 21w05b, 21w06a, 21w07a, 21w11a, 21w15a, 21w19a, 1.17, 1.17.1, 21w39a, 21w42a, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1 Release Candidate 2, 1.19.2, 22w43a, 1.19.3, 1.19.4 Release Candidate 2, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2, 1.20.4, 24w12a, 1.20.6, 24w19a, 24w20a
    • Confirmed
    • Combat
    • Normal
    • Gameplay

      The bug

      When you throw a riptide trident in the offhand, you hit with the mainhand item instead. This means that throwing a riptide trident in the offhand while holding nothing in the mainhand will make the trident deal minimal damage. This also means that a sword held in the mainhand will inflict damage, apply most of its enchantments (looting is intended), and take durability damage when you ram into mobs via riptide trident in offhand.

      How to reproduce

      1. Setup a scoreboard to count all damage dealt
        /scoreboard objectives add Damage minecraft.custom:minecraft.damage_dealt
        /scoreboard objectives setdisplay sidebar Damage
        /scoreboard players add @s Damage 0
        
      2. Get a trident with Riptide I and spawn an entity
      3. Throw the trident in mainhand
        Score increases with 80
      4. Throw the trident in offhand while holding nothing in main hand
        Score increases with 10

        1. fixed.mp4
          9.02 MB
          J Z
        2. MC-136147.mp4
          4.50 MB
          [Mod] Avoma
        3. MC-136147 - Damage when holding trident in main hand.png
          1.13 MB
          [Mod] Avoma
        4. MC-136147 - Damage when holding trident in offhand.png
          1.11 MB
          [Mod] Avoma

            Unassigned Unassigned
            gaspoweredpick [Helper] gaspoweredpick
            Votes:
            24 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: