Video Summary
In this tutorial, I demonstrate how to use the /playsound command in Minecraft Java Edition, starting with the basic syntax and showing how to specify sound types, audio categories, target players, coordinates, volume, and pitch. I then advance to a more complex example using the execute command to make sounds follow a player around the world in real-time.
“`html
If you’ve ever wanted to add custom sounds to your Minecraft Java Edition world, you’re in the right place! In this guide, I’m going to walk you through exactly how to use the /playsound command, from the basics all the way through to a more advanced setup that allows sounds to follow a player around the world. If you’d prefer to watch the full video tutorial, you can check it out here: How To Use The /Playsound Command Tutorial To get started, you’ll want to have a command block ready. Once you have your command block placed, click on it to open the command block console. From here, simply type Once you’ve typed in the command and hit space, you’ll see a large list of sound options appear. For this tutorial, I’m going to be using entity.player.burp, but you’re completely free to choose any sound that suits your needs — they’ll all work in the same way. After selecting your sound, you move on to the next part of the command. The next step is choosing how the sound will be played to the player. Minecraft offers a number of different sound source options. I personally like to use ambient, as it works well as a general background-style sound, but you can absolutely choose whichever option best fits what you’re trying to create. After selecting the source, you’ll need to decide who you want to hear the sound. You can use @a to target all players, type in a specific player’s username if you only want one person to hear it, or use @s if you’re running the command through the console rather than a command block. You can even use @r to have the sound play for a random player on the server — a fun option if you’re feeling creative! Next up is the position, which determines where the sound will play from. Instead of typing in specific coordinates, I recommend using three tildes ( Now for the fun part! After setting the position, you can define the volume of the sound — I’ve set mine to 10 for this example. Next is the pitch, which is a really cool feature that lets you speed up or slow down the sound. A higher pitch value speeds it up and makes it sound higher, while a lower value slows it down and makes it sound deeper. I’m going to set it to 0.5 just to get a feel for how it sounds. Finally, you can set a minimum volume, which prevents the sound from getting quieter beyond a certain point regardless of distance — I’ve set mine to 0.5 as well. Once all of that is filled in, hit Done. To test it out, grab a wooden button, attach it to the command block, and give it a press! You should hear the sound play — in this case, something that sounds like a satisfying crunch. Now that we’ve covered the basics, let’s take things a step further with a more advanced version of the command that makes the sound follow a specific player around the world. To do this, we’re going to wrap the /playsound command inside an execute command. Open your command block and go back to the command we set up previously — remove the leading slash if there is one, and then type To make this work continuously, switch the command block to Repeat mode. Fair warning — it can get a little loud! But once it’s running, no matter how far you fly from the command block, the sound will keep playing right at your location. It’s a really neat trick and opens up a whole range of creative possibilities. You could make a sound follow a bee, another player, or really any entity in the world — the options are almost endless! And that’s everything you need to know to get started with the /playsound command in Minecraft Java Edition! Whether you’re keeping it simple with a single sound trigger or building something more dynamic that follows players around your world, this command is a fantastic tool to have in your arsenal. If you found this helpful, don’t forget to leave a like and subscribe to UnderMyCap — I can’t wait to see you in the next one!How To Use The /Playsound Command In Minecraft Java Edition
Getting Started With The /Playsound Command
/playsound — you can also use the Tab key to auto-complete it. The /playsound command allows you to play any sound available in Minecraft, and there are quite a lot to choose from!
Choosing Your Sound
Selecting The Sound Source
Choosing Who Hears The Sound
Setting The Position
~ ~ ~) with a space between each one. This sets the position relative to the command block, meaning the sound will play right at the command block’s location. If you want the sound to play at a specific height — say, five blocks above the command block — you can simply add a number after the Y tilde, like ~ ~5 ~. The three tildes represent your X, Y, and Z coordinates respectively.
Volume, Pitch, and Minimum Volume
Advanced: Making A Sound Follow A Player
execute at [your username] at the very beginning, followed by run, and then the rest of your original playsound command. This tells Minecraft to execute the sound command at the location of that specific player, wherever they are in the world.
Final Thoughts





