Mojira Archive
MC-212023

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

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

Unresolved

user-f2760

2021-01-19, 10:38 PM

2025-01-02, 12:15 PM

4

3

Confirmed

Low

Platform

Commands, Sound

20w51a - 1.21.420w51a, 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, 1.21.4

-