Updated:
Trial Spawner: sound IDs and playsound commands
Trial Spawner has 16 sound IDs. An ID looks like minecraft:block.trial_spawner.about_to_spawn_item and plays with /playsound. Data is from Java Edition 26.3.
Sound ID list
| What it is (subtitle) | Sound ID | playsound |
|---|---|---|
| Ominous item prepares | minecraft:block.trial_spawner.about_to_spawn_item | |
| Trial Spawner crackles | minecraft:block.trial_spawner.ambient | |
| Ominous crackling | minecraft:block.trial_spawner.ambient_ominous | |
| (no subtitle) | minecraft:block.trial_spawner.break | |
| Trial Spawner closes | minecraft:block.trial_spawner.close_shutter | |
| Trial Spawner charges up | minecraft:block.trial_spawner.detect_player | |
| Trial Spawner ejects items | minecraft:block.trial_spawner.eject_item | |
| (no subtitle) | minecraft:block.trial_spawner.fall | |
| (no subtitle) | minecraft:block.trial_spawner.hit | |
| Omen engulfs Trial Spawner | minecraft:block.trial_spawner.ominous_activate | |
| Trial Spawner opens | minecraft:block.trial_spawner.open_shutter | |
| (no subtitle) | minecraft:block.trial_spawner.place | |
| Ominous item drops | minecraft:block.trial_spawner.spawn_item | |
| Ominous item appears | minecraft:block.trial_spawner.spawn_item_begin | |
| Trial Spawner spawns a mob | minecraft:block.trial_spawner.spawn_mob | |
| (no subtitle) | minecraft:block.trial_spawner.step |
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:block.trial_spawner.about_to_spawn_itemBedrock 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.