Skip to content

Sound Issues #684

@oAwake

Description

@oAwake

/viaversion dump Output

https://dump.viaversion.com/776bac8c886382a3592081cb67273a4b4e541817e627c971b1736cfc439317b9

Console Error

Put the mclo.gs link or text here.

Bug Description

Door open/close sounds are not played for 1.8 clients connected through ViaVersion/ViaBackwards/ViaRewind when using /playsound or Player#playSound.

However, the sound works correctly when an actual wooden door block in the world is opened or closed normally.

//not playing sound for 1.8 clients
player.playSound(Sound.BLOCK_WOODEN_DOOR_OPEN, player.getLocation(), 0.75F, 2F);

//woking on 1.8 but i cant set pitch :(
 player.playEffect(player.getLocation(), Effect.DOOR_TOGGLE, 0);

Steps to Reproduce

1 - Run a modern server version (tested on 1.21.x).
2 - Install ViaVersion + ViaBackwards + ViaRewind.
3 - Join the server using a Minecraft 1.8 client.
4 - Execute:
/playsound minecraft:block.wooden_door.open master @p
or use Player#playSound(..., Sound.BLOCK_WOODEN_DOOR_OPEN, ...)

5 - Observe that no sound is played.
6 - Place and manually open/close a wooden door block in the world.
7 - Observe that the sound plays correctly.

Expected Behavior

The wooden door open/close sound should play correctly for 1.8 clients when triggered through /playsound or Player#playSound, just like it does when a real door block is toggled in the world.

Additional Server Info

No response

Checklist

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions