The Bug
When a guardian attacks a player or a squid, the laser attack sound (and subtitle) will play at the same volume, even if the player is hundreds of blocks away.
Steps to Reproduce
Enter creative mode and locate a large body of water.
Summon both a guardian and squid in the water.
When the guardian begins to shoot the squid, quickly teleport yourself 75 blocks up into the sky.
/tp @s ~ ~75 ~
Listen closely and take note as to whether or not the minecraft:entity.guardian.attack sound lowers in volume depending on the distance between you and the guardian.
Observed Behavior
The minecraft:entity.guardian.attack sound doesn't lower in volume depending on the distance between you and the guardian.
Expected Behavior
The minecraft:entity.guardian.attack sound would lower in volume depending on the distance between you and the guardian.
Code analysis
Code analysis by @unknown can be found in this comment.
Linked issues
is duplicated by 14
relates to 5
Attachments
Comments 91
still in 14w27b. In a small lake, spawn a bunch of squid and 1 or 2 guardians. Fly above it in creative mode, and you will hear the guardians even when you are far above them.
This issue is present in the (as of date) latest snapshot 14w29b. This issue can be experienced by loading the seed 1122334455 where the player spawns on a tiny island surrounded by two Underwater Temples. They are quite a few blocks away, but visible from the island. The Guardian laser-beam sound is extremely loud from anywhere on the island.
If this is intended, it is the most annoying new addition to the game. I'll consider it a bug.
@unknown, hmm, I'm not too sure but I see where you're coming from. The wither spawning sound is considered a global sound event, therefore allowing it to be heard by all players regardless of the dimensions that they're in, or how far away from the sound origin point they are. This is why I think MC-177741 is in fact intentional. On the other hand, guardian sounds are not considered global sound events and instead just don't decrease in volume in regards to how far away you are from the sound origin point.
still in 14w26b