-
Bug
-
Resolution: Unresolved
-
None
-
25w04a
-
None
-
Confirmed
-
Commands, Items
From changelog 25w04a:
- disable_sound - sound event (optional)
- If specified, this sound will be played when the item goes on its disabled cooldown due to an attack
But blocks_attackes component does not accept disable_sound field. Instead, it accepts disabled_sound.
How to Reproduce
- Obtain these shield:
/give @s minecraft:shield[minecraft:blocks_attacks={"disable_sound":"minecraft:ambient.cave"},minecraft:item_name="1"] /give @s minecraft:shield[minecraft:blocks_attacks={"disabled_sound":"minecraft:ambient.cave"},minecraft:item_name="2"]
- Summon a warden to attack you.
/summon minecraft:warden ~ ~ ~
- When the shield is disabled check if the subtitles "Eerie noise" is displayed.
Expected Result:
For shield 1, subtitles "Eerie noise" can be displayed.
For shield 2, no subtitles "Eerie noise".
Observed Result:
For shield 1, no subtitles "Eerie noise".
For shield 2, subtitles "Eerie noise" can be displayed.