Updated:

Sniffer: sound IDs and playsound commands

Sniffer has 12 sound IDs. An ID looks like minecraft:entity.sniffer.death and plays with /playsound. Data is from Java Edition 26.3.

Sound ID list

What it is (subtitle)Sound IDplaysound
Sniffer diesminecraft:entity.sniffer.death
Sniffer digsminecraft:entity.sniffer.digging
Sniffer stands upminecraft:entity.sniffer.digging_stop
Sniffer drops seedminecraft:entity.sniffer.drop_seed
Sniffer eatsminecraft:entity.sniffer.eat
Sniffer delightsminecraft:entity.sniffer.happy
Sniffer hurtsminecraft:entity.sniffer.hurt
Sniffer gruntsminecraft:entity.sniffer.idle
Sniffer scentsminecraft:entity.sniffer.scenting
Sniffer searchesminecraft:entity.sniffer.searching
Sniffer sniffsminecraft:entity.sniffer.sniffing
Sniffer stepsminecraft:entity.sniffer.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.

Stop the sound

Stop this sound

/stopsound @a master minecraft:entity.sniffer.death

Bedrock 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.

Related pages