Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-184566

/playsound leaks across dimensions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.20.24 Preview, 1.21.2 Hotfix
    • None
    • Confirmed
    • Multiple
    • 1273769

      The bug

      A /playsound command playing a sound at particular coordinates will be heard by any player near those coordinates in any dimension.

      How to reproduce

      1. Be in the overworld
      2. /tp @s 0 64 0
      3. /execute in nether run playsound random.explode @a 0 64 0

      Expected behavior
      You should hear nothing since the sound was in a completely different dimension from you

      Actual behavior
      You hear the explosion

      Notes
      The scripting API makes this bug obvious, since playSound is a function of world instead of dimension

            tryashtar [Mod] tryashtar
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: