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

Teleporting and having a sound play at the new location in the same tick shows no subtitle


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w51a, 21w03a, 21w13a, 1.17.1, 1.18.1, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • None
    • Confirmed
    • Commands, Sound
    • Low
    • Platform

      See title.
      If you create a function that both teleports the player away, and plays a sound at the new location, the sound is played, but no subtitle shows.

      Steps to reproduce:

      1. Create a data pack with a function containing
        teleport @s ~ ~50 ~
        execute at @s run playsound minecraft:entity.arrow.hit_player master @s ~ ~ ~ 1
      2. Enable subtitles in the settings and make sure master slider is turned on
      3. Run the playsound command by itself /playsound minecraft:entity.arrow.hit_player master @s ~ ~ ~ 1
      4. Observe how the subtitle shows up
      5. Run the function /function <name you gave the file>
      6. Notice how you hear the sound, but no subtitle shows up

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            3 Vote for this issue
            3 Start watching this issue