So i'm trying to play sound at a player when they die using
Minecraft.getMinecraft().getSoundHandler().playSound(sound);
but it only plays at the players location, so if they for example fall into the void and die, the sound plays in the void, so they can't hear it.
How can i play a sound without it playing at the players location?