Mojira Archive
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

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.

Unresolved

Oquine

2025-01-25, 08:12 PM

2025-01-25, 08:12 PM

0

0

Unconfirmed

(Unassigned)

1.21.4, 25w04a

-