Minecraft Resource Pack Custom Sounds not Obeying Sounds Physics
In short, I have replaced the hurt sound of zombies with a custom .ogg music file in my resource pack. However, there is this problem that regardless of the distance between me and the zombie, the sound is always played at the exactly same volume. Even turning myself away from the zombie would not work. I have tried lowering the volume with the playsound
command but to no avail --- the hurt sounds still get played at the same volume albeit lower altogether.
I have also tried registering custom sounds with sounds.json
but the issue still exists.
Is there a way I can make custom sounds obey in-game physics? Any help would be greatly appreciated!
Pictures about "Minecraft Resource Pack Custom Sounds not Obeying Sounds Physics"
Can you change sounds in a minecraft resource pack?
Custom sounds need to be registered into a file called sounds. json so the game knows which sound file to play when the command is called. sounds. json is located in your_res_pack/assets/minecraft/sounds.How You Can Change Minecraft Sounds - How to Change Sounds in Minecraft Resource Packs Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Josh Sorenson, Andrea Piacquadio, Andrea Piacquadio, Andrea Piacquadio