The same issue persists in the new version 1.20.5 where attenuation_distance still does not affect custom sound (from resourcepacks), while vanilla sound functions normally without any issues.
custom sounds can still be heard and have the highest volume anywhere in the range.. (even set attenuation_distance=150 or more) /playsound {any custom sound} master @a ~ ~64 ~ 1 1 0
The same issue persists in the new version 1.20.5 where attenuation_distance still does not affect custom sound (from resourcepacks), while vanilla sound functions normally without any issues.
vanilla sound works normally. (hear nothing)
/playsound minecraft:entity.pig.hurt master @a ~ ~64 ~ 1 1 0
custom sounds can still be heard and have the highest volume anywhere in the range.. (even set attenuation_distance=150 or more)
/playsound {any custom sound} master @a ~ ~64 ~ 1 1 0