Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-277562

/playsound delayed execution on stream sounds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.21.1, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4
    • None
    • Confirmed
    • (Unassigned)

      Summary: When running the /playsound command multiple times in a function, the expected behavior is for all soundtracks to play simultaneously. However, there is a noticeable delay between each execution, causing the sounds to stagger and play sequentially instead of at the same time. This behavior negatively impacts attempts to create multi-source stereo music in-game, as it results in disjointed and awkward sound playback.

      Steps to Reproduce:

      1. Create a function with multiple instances of the /playsound command, such as:
      playsound minecraft:music_disc.pigstep master @a
      playsound minecraft:music_disc.pigstep master @a
      playsound minecraft:music_disc.pigstep master @a
      playsound minecraft:music_disc.pigstep master @a
      playsound minecraft:music_disc.pigstep master @a
      1. Execute the function in-game.
      2. Notice the slight delay between each sound, instead of simultaneous playback.

      Expected Behavior: All tracks should be played simultaneously.

      Attached RP: used to test pigstep without being streamed
      Attached DP: use /function mc277562:play_4_stream to run the above example

       

            Unassigned Unassigned
            Neylz Neylz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: