How can i play a sound for only one player?

Started by Kiddvverde on

Topic category: Help with modding (Java Edition)

Last seen on 18:36, 10. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i play a sound for only one player?

I want to play a sound that only one player could hear, i tried to do this with the execute command block but it didn't worked.

Last seen on 19:50, 1. Jul 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the following:…
Sun, 06/16/2024 - 01:17

You can use the following:

Execute command / 
  create text with
    "playsound minecraft:ambient.cave master "
    Get display name of <Event/target entity>
at x: <x> y: <y> z: <z>