✔️How To Use Playsound Command In Minecraft Step By Step Tutorial ✔️

Video Summary
In this video I show you step by step how to use the /playsound command in Minecraft, starting with a basic level-up sound example. I explain how sound categories work (entity/block), who hears it using selectors like @a and @p, and how to set the sound’s location with coordinates. Then I demonstrate customizing volume and pitch, including how louder volume increases the hearing range. Finally, I cover more advanced setups using /execute to play sounds on specific entities or only when a certain block (like red concrete) is detected above the command block.

Formatted Transcript

Hey everybody, it’s UnderMyCap, and welcome back to another video. Today I’m going to show you how to use the Minecraft /playsound command, step by step.

One thing I noticed is that not many people who watch my videos are subscribed. It’s around 0.9% to 1.9%. Can we try to get that up to 10%? If you enjoy the content, please subscribe and click the bell icon so you get notified for future videos.

How This Tutorial Is Organized

I’ve color-coded the commands from blue to yellow to red. Blue is the easiest, and red is the hardest (it takes a bit more thinking). The green blocks are where I actually demonstrate the commands in action.

The Basic /playsound Command

Let’s start with the first command: the normal /playsound command.

Example:

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~

This plays the “level up” sound at the command block’s location. When I press the button, you’ll hear the same “level up” sound every time.

Breaking Down the Command

You’ll format it like this:

/playsound minecraft:<sound> <source> <targets> <x> <y> <z>

In this example:

  • Sound: minecraft:entity.player.levelup
  • Source: ambient
  • Targets: @a (all players)
  • Coordinates: ~ ~ ~ (the command block’s location)

Why “Entity” and “Player” Matter

The reason the sound name includes entity.player is because this sound is tied to player entities. Other entities (like creepers or spiders) don’t normally produce that sound, and most blocks won’t either. Different sounds belong to different categories, so you need to pick the correct sound path for what you’re trying to play.

If you wanted a sound that belongs to blocks, you’d use a sound that starts with something like block. instead.

Choosing Who Hears the Sound

After the sound and source, you choose who the sound targets:

  • @a = all players
  • @p = nearest player
  • @r = random player
  • @e = all entities (usually not very useful for this)

Choosing Where the Sound Plays

Then you type the coordinates where the sound should play. Using ~ ~ ~ makes it play at the command block.

Changing the Volume

Next, you can add more customization by changing the volume. Here’s the same command, but with volume added at the end.

Example (normal volume):

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1

If you lower it to 10% volume:

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 0.1

If you increase the volume, the sound becomes louder and can be heard from farther away. You can go above 1 (100%). I’m not sure what the exact max limit is, but higher values increase how far the sound carries.

Changing the Pitch

After the volume value, you can add pitch.

Example (normal pitch):

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1 1

If you lower the pitch:

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1 0.5

If you raise the pitch:

/playsound minecraft:entity.player.levelup ambient @a ~ ~ ~ 1 1.5

On some servers, I’ve heard pitch can go up to 2 as a maximum.

More Advanced: Using /execute With /playsound

Now we’re moving into the harder commands. These aren’t just /playsound by itself—these use /execute to run /playsound under certain conditions.

The earlier commands play the sound at a fixed location (like the command block), no matter where the player is. With /execute, you can target specific mobs, specific players, or run the sound only when certain conditions are met.

Executing a Sound at Non-Player Entities

This example executes the sound at every entity that is not a player.

Example:

/execute at @e[type=!player] run playsound minecraft:item.totem.use ambient @a ~ ~ ~ 0.5 1

In this command, the exclamation mark (!) means “not.” So type=!player targets everything except players.

If you remove the exclamation mark:

type=player

…then it targets only players.

When I tested this near mobs (like chickens), it got pretty hectic and loud, but it showed that the sound was being executed at the entities, not at me.

Executing a Sound at a Specific Mob

This is the same idea, except now you pick a specific mob type instead of excluding players. For example, targeting a spider:

/execute at @e[type=spider] run playsound minecraft:block.barrel.open ambient @a ~ ~ ~ 1 1

When you press the button, the barrel opening sound plays at the spider because the command targets that mob type.

Executing a Sound Only If a Certain Block Is Present

The last example checks whether a specific block is above the command block. If the block matches, it executes a /playsound command.

I set this up so it only works with a very specific block. For example, placing wooden planks above it does nothing. But if I place red concrete above it, it triggers and starts making noise.

Example structure:

/execute if block ~ ~1 ~ minecraft:red_concrete run playsound minecraft:block.beehive.work ambient @a ~ ~ ~ 1 1

This means:

  • Check the block one block above the command block (~ ~1 ~)
  • If it is minecraft:red_concrete, then run the sound command

This is a really cool setup if you want sounds to trigger based on building actions or block placement.

Wrapping Up

Thank you so much for watching. If you enjoyed this, please leave a like and subscribe if you’re new. I post Minecraft tutorials and other random Minecraft videos.

If you have any ideas or questions about the video, comment down below. I’m trying to read them as fast as I can. If you want me to make a specific video, comment that too, and I’ll try to make it if I know how.

There might also be a blog post for this—I’m not totally sure yet—on my website, UnderMyCap.com. You can visit to support me, check out a few products, and read blog posts about previous commands I’ve covered.

Thanks for watching, and I hope to see you in the next one. See ya!

Video Thumbnail

Advertisment

Leave a Reply

Scroll to Top