When setting a custom equip sound for an item, the field only accepts built-in vanilla sound events. Sound events added via Resource Pack are not accepted, despite armor materials themselves from a resource pack working just fine.
To reproduce this bug, create a resource pack that adds a custom sound event using a sounds.json. You will know you have done it correctly when /playsound's autofill has your custom soundEvent as an option. Now try to spawn armor that makes this sound event when equipped, such as:
/give @p minecraft:diamond_boots[item_model=frogspawn,minecraft:equippable={slot:feet,model:diamond,equip_sound:"custom.shriek"}]
Replace 'custom.shriek' here with your sound event. It will not work, though putting in a vanilla sound event such as block.anvil.destroy will.
Linked issues
is duplicated by 4
Comments 4
I think this is a bug. If it worked properly it would work more like player heads' note_block_sound component which accepts any sound event rather than just vanilla ones. Please check again.
Please, pay attention to the difference between sounds and sound events, as those are 2 different things
Sounds can be added via a resource pack, sound events can't be added with a resource pack
Equippable component accepts sound events and not sounds
Please use either one of those 2 commands, which will work with your sound
/give @p minecraft:diamond_boots[item_model=frogspawn,minecraft:equippable={slot:feet,model:diamond,equip_sound:{sound_id:"custom.shriek"}}]
/give @p minecraft:diamond_boots[item_model=frogspawn,minecraft:equippable={slot:feet,model:diamond,equip_sound:{sound_id:"custom.shriek", range: 64}}]
Thank you for your report!
After consideration, the issue is being closed as Invalid.
This report does not describe a bug.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki