Updated:
Player: sound IDs and playsound commands
Player has 21 sound IDs. An ID looks like minecraft:entity.player.attack.crit and plays with /playsound. Data is from Java Edition 26.3.
Sound ID list
| What it is (subtitle) | Sound ID | playsound |
|---|---|---|
| Critical attack | minecraft:entity.player.attack.crit | |
| Knockback attack | minecraft:entity.player.attack.knockback | |
| (no subtitle) | minecraft:entity.player.attack.nodamage | |
| Strong attack | minecraft:entity.player.attack.strong | |
| Sweeping attack | minecraft:entity.player.attack.sweep | |
| Weak attack | minecraft:entity.player.attack.weak | |
| (no subtitle) | minecraft:entity.player.big_fall | |
| (no subtitle) | minecraft:entity.player.breath | |
| Burp | minecraft:entity.player.burp | |
| Player dies | minecraft:entity.player.death | |
| Player hurts | minecraft:entity.player.hurt | |
| Player drowning | minecraft:entity.player.hurt_drown | |
| (no subtitle) | minecraft:entity.player.hurt_freeze | |
| Player burns | minecraft:entity.player.hurt_on_fire | |
| (no subtitle) | minecraft:entity.player.hurt_sweet_berry_bush | |
| Player dings | minecraft:entity.player.levelup | |
| (no subtitle) | minecraft:entity.player.small_fall | |
| (no subtitle) | minecraft:entity.player.splash | |
| (no subtitle) | minecraft:entity.player.splash.high_speed | |
| (no subtitle) | minecraft:entity.player.swim | |
| Player teleports | minecraft:entity.player.teleport |
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:entity.player.attack.critBedrock 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.