Sound event "entity.mooshroom.shear" is cut off when triggered in game
The Bug:
I was continuing progress with my resource pack when i wanted to add a unique sound when shearing mooshrooms. I made the sound and added it to the sounds.json file. I used "/playsound" and the sound works correctly. Only when I actually shear a mooshroom is when the sound abruptly cuts off a few seconds after it plays. I even set the tag "stream:" to "true" and it still doesn't work as intended.
To Reproduce:
- Replace the sheep shearing sound (or your custom mooshroom sound) with another sound that is atleast longer than 3 seconds.
- Use the "/playsound" command and it should play the whole sound without stopping.
- Summon or spawn a mooshroom and shear it.
→
The sound plays for a bit, but then gets cut off a few ticks later.
Why this is a problem:
This could be a problem with resource pack creators because they might've put a longer custom sound but it doesn't play fully. It feels like their input of customisation is lost for this specific sound.
Example Resource Pack:
I have provided an example resource pack to show the issue. Make sure you type /playsound first before testing it with the mooshrooms.
2020-06-18, 04:50 PM
2022-08-06, 03:26 PM
8
6
-