This only applies to the mining sound, not the block breaking sound.
Overview:
Players who build farms near their house often turn off the "friendly creatures" sounds, but this comes at the expense of not being able to hear the mining sound in any block breaking process in Java edition 1.14.4.
Additionally:
Magma cubes and slime sounds are also affected by the friendly creatures slider.
Linked issues
Comments
I would vote for the main issue, but it's marked as "resolved", so I can't. All duplicated issues I searched for were already marked as resolved. I suppose this issue was resolved but has been brought back in Java edition 1.14.4.
MC-115643 is marked as fixed in a future version. You can expect the fix in the next full update (1.15).
Thank you for your report!
We're actually already tracking this issue in MC-115643, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.