Paper
Paper copied to clipboard
Ender Dragon death noise plays everywhere
Expected behavior
When the Ender Dragon is killed, only those on the main End island should hear the death noise.
Observed/Actual behavior
When the Ender Dragon is killed, the (rather loud) death noise is played to everyone in any dimension, which is rather unsettling to those who are doing other things in the Overworld and did not know someone was fighting an Ender Dragon.
Steps/models to reproduce
- have someone in the End attacking an Ender Dragon
- have someone in another dimension (e.g. the Overworld)
- The person in the End kills the Ender Dragon
- Every single person in the server hears the death noise
Plugin and Datapack List
None

Paper version
This server is running Paper version git-Paper-524 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 9846d0d)
You are running the latest version

Other
This is consistent across two different Paper servers running different versions.
This has a fun history; Spigot made it global, and then paper made it per world, and then made it global again if a radius isn't set
Given that it looks like vanilla has set on making it per world, we should probably just drop our patch which allows it to be global again; n the meantime, you can set a radius in spigot.yml for the dragon death radius
I believe this is addressed by https://github.com/PaperMC/Paper/pull/8727