mojira.dev
MC-57057

Guardian laser attack sound ignores distance

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

MC-57438 The Guardian`s laser sound is coming somewhere else near than where the target is Resolved MC-57441 The Guardian`s laser beam sound doesn`t slowly faint when going away from the mob. Resolved MC-94110 Guardian Sound Volume Issue Resolved MC-148102 Guardian attack noise constantly playing even when far from ocean temple Resolved MC-193311 Guardian Sound Playing Resolved

Attachments

Comments 91

still in 14w26b

Wohjet Dagvelin

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.

please reopen

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.

Still in 14w31a, the sound doesn't decrease in volume when farther away and also frequently clips

81 more comments

@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.

Сan confirm in 23w44a. Also work with elder guardian.

jonathan Taylor

1.20.2 12/13/23 verified still an issue

MonksTheMonkey

Can confirm in 1.21.3. Creeped me out.

Version 1.21.1 still bugging with this. Going crazy 😄

Forcellrus

Jon1337

(Unassigned)

Confirmed

Gameplay

Important

Sound

guardian, sound

Minecraft 14w25a, Minecraft 14w32b, Minecraft 14w34d, Minecraft 1.8-pre2, Minecraft 1.8, ..., 24w35a, 24w36a, 24w39a, 1.21.3, 24w45a

Minecraft 14w26a

Retrieved