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

A riptide trident breaking during a spin attack does not play the breaking sound unless a trident is equipped in the main hand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.4, 25w04a
    • None
    • Unconfirmed
    • (Unassigned)

      Following the fix for MC-136147, the item used to attack during a spin attack may not always be the one in your main hand. If a spin attack breaks a riptide trident that is not in your main hand, the breaking sound will not play unless you are holding a trident in your main hand at that moment. Notably, breaking a riptide trident in the offhand will not produce the breaking sound unless a trident is held in the main hand when it breaks. The same issue occurs if the trident is moved to a different inventory slot using hotkeys.

      Steps to reproduce 1

      1. /give @s minecraft:trident[minecraft:damage=248]
      2. /enchant @s minecraft:riptide 3
      3. Place the riptide trident in your offhand
      4. Use the trident to launch yourself at a mob in survival mode to break the trident

      Expected behavior: The item breaking sound should be heard when the trident breaks.
      Observed behavior: The item breaking sound did not play when the trident broke.

      Steps to reproduce 2

      1. /give @s minecraft:trident[minecraft:damage=248]
      2. /enchant @s minecraft:riptide 3
      3. Launch yourself toward a mob using the trident in your main hand
      4. Quickly switch the trident to a different inventory slot using hotkeys before colliding with a mob. If you're too slow, consider reducing the tick rate.

      Expected behavior: The item breaking sound should play when the riptide trident breaks.
      Observed behavior: The item breaking sound did not play when the riptide trident broke.

        1. inventory.mp4
          4.23 MB
        2. offhand.mp4
          7.82 MB
        3. sound.mp4
          4.52 MB

            Unassigned Unassigned
            Oquine Oquine
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: