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
/give @s minecraft:trident[minecraft:damage=248]
/enchant @s minecraft:riptide 3
Place the riptide trident in your offhand
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
/give @s minecraft:trident[minecraft:damage=248]
/enchant @s minecraft:riptide 3
Launch yourself toward a mob using the trident in your main hand
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.
Attachments
Comments 0
No comments.