mojira.dev
MC-306775

Sounds don't play for players with high scale attributes

Sounds played by command blocks (even with a minVolume) cannot be heard by players with a high scale attribute. Those sounds should play regardless of the distance, but if the player's hitbox is enlarged, this doesn't work.

(The same is true of local sounds, but I suppose those are intended to no longer be heard once the head is too far away from the source.)

Steps to reproduce: (Example from the attached video)

  • Build a redstone clock powering a command block with the following command.
    /playsound minecraft:block.note_block.bell master @a ~ ~ ~ 1 1 1

  • Change the attribute base scale of the player to 10.
    /attribute @s minecraft:scale base set 10

Expected result
Sound plays normally with full volume as it can be heard everywhere.

Actual result
The sound can no longer be heard. But when flying the same vertical distance with a scale of 1, it plays normally.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Reuploading the clip because the original was very quiet

Pikatscha

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11, 26.1 Snapshot 11

Retrieved