-
Bug
-
Resolution: Duplicate
-
None
-
1.19.2
-
None
-
Confirmed
-
Sound
When you use a /playsound command to play a sound at above 1 volume, it increases the range in which it can be heard; the sound volume itself gets clamped between 0 and 1, so it never plays louder than the actual audio file. However, the multiplication of the sound sliders happens before clamping, rather than after, making them useless with high-volume /playsound commands.
Steps to reproduce:
- Turn the hostile mobs slider to 1%
- /playsound entity.zombie.ambient hostile @s
- Note how silent it sounds
- /playsound entity.zombie.ambient hostile @s ~ ~ ~ 1000
- Note how loud it is
Expected behavior:
The volume would be low due to low % setting.
Actual behavior:
It's just as loud as 100%.
To fix this, all that needs to be done is moving the clamping to before the slider value multiplication.
Fixing this fixes MC-46634 as well as the responsiveness for the ender dragon's wings flapping sound.
- duplicates
-
MC-98200 All sound sliders except master ignored by high-volume /playsound
- Reopened