The hostile mob sounds for magma cube and slime are flipped. If you have hostile mob sounds set to 0 you can still hear the slime/magma cube but if you set your Friendly Creatures down to 0 you cannot hear the slime/magma cube. I've looked, and someone else reported it but said it's fixed for 1.15.2 but clearly not.
According to MC-118616 it's still unresolved