mojira.dev
MC-260645

Shields do not make an equipping sound when equipped in the inventory in Survival mode or crafting interface using the offhand key

Shields (and items that have the equippable component with slot set to offhand) do not make an equipping sound when swapped into the offhand from the player's inventory in Survival mode, or when swapped into the offhand from the crafting interface, using the "Swap Item With Off Hand" key.

How to reproduce:

For the Survival inventory method:

  1. Go into Survival mode with a shield.

  2. Place the shield in your inventory.

  3. Press your "Swap Item With Off Hand" key (F by default) while hovering over the shield in the inventory to equip it.
    → ❌ The shield does not make a sound when equipped.

For the crafting interface method:

  1. Give yourself a shield.

  2. Place a crafting table and use it (right mouse button by default).

  3. Press your "Swap Item With Off Hand" key (F by default) while hovering over the shield in the interface to equip it.
    → ❌ The shield does not make a sound when equipped.

Expected result:

Shields would play a sound when equipped using the offhand key to be consistent with equipping with any other method.

Observed result:

In Survival mode, shields do not play an equip sound when equipped by using offhand keys in the inventory or crafting interface.

Linked issues

Attachments

Comments 4

Cannot reproduce, they play the equipping sound correctly for me. What is your "Players" audio slider set to? Please include a video of this issue occurring with the F3 screen enabled.

[media]

video of bug, no audio slider turned off

 

Using the "f" key produces no subtitle or sound, and I was in survival mode (this does not work in creative!)

I was finally able to reproduce. I was trying to use the hotbar instead of the inventory. Sorry.

Confirmed in 1.21.2 pre1, this also happens to items with the equippable component that have the slot field set to offhand. Creative inventory not affected as well.

THEPOWERFUL 456

(Unassigned)

Confirmed

Gameplay

Low

Sound

shield, sound

1.19.4 Pre-release 2, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, ..., 23w43b, 1.20.3 Release Candidate 1, 1.21, 1.21.2 Pre-Release 1, 1.21.2 Release Candidate 1

Retrieved