Custom sounds don't play
Guerdi opened this issue ยท 0 comments
Describe the bug
A clear and concise description of what the bug is.
Platform(s)
- Quilt/Fabric
Environment(s)
- Singleplayer
and - Server
Versions
- Minecraft 1.20.1
- Taterzens 1.11.6
To Reproduce
Steps to reproduce the behavior:
- Launch server or solo world
- Run :
* /npc create
* /npc edit sounds remove all
* /npc edit sounds add hurt server:entity.maid.hurt # or any other sound added by a resources pack/mod.
* /data merge entity @e[type=taterzens:npc,sort=nearest,limit=1] {Invulnerable:false} - Punch it and see no sound playing
- Run :
* /npc edit sounds remove all
* /npc edit sounds add hurt minecraft:entity.cat.hurt # or any other vanilla sound - Punch it and see sound playing correctly
Expected behavior
The sound should play normally as it works with the /playsound command.
Additional context
Tested on server and solo with this very kawaii resource pack, and the sounds of the ExtraSounds client mods :
resources.zip