How to make custom sounds not play globally?
Hi all!
So basically, I added a new waterfall sound effect that I want to play at a waterfall but when I play it no matter how far I am from the execution site, the sound is still audible, why? Here is the command I executed, that works with the creeper sound but not with my sound.
/execute as @p at @s run playsound extrasounds:ambient.limbo.loop.waterfall hostile @s ^ ^ ^-3 1 0.0This one works:
/execute as @p at @s run playsound entity.creeper.primed hostile @s ^ ^ ^-3 1 0.5Here is the releavnt part of my sounds.json:
"ambient.limbo.loop.waterfall": { "sounds": [ { "name": "extrasounds:limbo/ambience/waterfall" } ] }I was looking at the entity.creeper.primed in sounds.json as well, but it didn't help sadly.
What is the problem?