Updated:
UI, events and weather: sound IDs and playsound commands
UI, events and weather has 19 sound IDs. An ID looks like minecraft:enchant.thorns.hit and plays with /playsound. Data is from Java Edition 26.3.
Sound ID list
| What it is (subtitle) | Sound ID | playsound |
|---|---|---|
| Thorns prick | minecraft:enchant.thorns.hit | |
| Omen takes hold | minecraft:event.mob_effect.bad_omen | |
| Raid looms nearby | minecraft:event.mob_effect.raid_omen | |
| Ominous trial looms nearby | minecraft:event.mob_effect.trial_omen | |
| Ominous horn blares | minecraft:event.raid.horn | |
| Soul escapes | minecraft:particle.soul_escape | |
| (no subtitle) | minecraft:ui.button.click | |
| Map drawn | minecraft:ui.cartography_table.take_result | |
| Breath meter dropping | minecraft:ui.hud.bubble_pop | |
| (no subtitle) | minecraft:ui.loom.select_pattern | |
| Loom used | minecraft:ui.loom.take_result | |
| (no subtitle) | minecraft:ui.stonecutter.select_recipe | |
| Stonecutter used | minecraft:ui.stonecutter.take_result | |
| (no subtitle) | minecraft:ui.toast.challenge_complete | |
| (no subtitle) | minecraft:ui.toast.in | |
| (no subtitle) | minecraft:ui.toast.out | |
| End Flash rumbles | minecraft:weather.end_flash | |
| Rain falls | minecraft:weather.rain | |
| (no subtitle) | minecraft:weather.rain.above |
How to write /playsound
The order is /playsound <sound ID> <source> <targets> [position] [volume] [pitch]. The copy buttons play the sound for everyone (@a) at your position with volume 1 and pitch 1.
- The source is one of master, music, record, weather, block, hostile, neutral, player, ambient or voice. It decides which volume slider applies.
- Volume 1 carries about 16 blocks. A larger value carries further.
- Pitch ranges from 0.5 to 2; higher values sound higher.
Stop the sound
Stop this sound
/stopsound @a master minecraft:enchant.thorns.hitBedrock Edition uses a different set of sound IDs (for example mob.zombie.say). The IDs on this page do not work on Bedrock.
Questions
Why can I not hear it?
Check that the volume slider for the chosen source is not at 0. If the players are far away, use execute at @a run playsound … with ~ ~ ~ so it plays at each player.