Minecraft Play Sound Command

Minecraft is full of fun commands that can be uses to enhance the game and make it more fun. One of these commands is the play sound command. The play sound command will play any sound from in game files from any mob to any block. This little post will hopefully teach you the components about the play sound command. If you would like to view a video I have put together about the play sound command it is listed bellow.

The play sound command should look something like this. As you can see I have split up the command into all of the components

/playsound <sound> <noise type> <entities aloud to here sound> <location> <volume> <pitch> <minimum volume>

< Sound >

The sound is the audio file you would like to play. Please note you can only play audio files that are automatically in minecraft such as the level up sound. Before 1.15 the play sound command would have looked a bit like this minecraft.levelup however now because of all the new sound files they have had to make it harder to define sounds so they don’t get duplicates and errors. Currently the minecraft sound files should look like this: minecraft:entity.player.levelup.

< Noise Type >

The noise type is the way you want to execute the sound. There are many types you can chose from such as ambient, player, block and music. I personally use the ambient noise as I find it most effective.

< Entities aloud to here sounds >

This part of the command just defines who can here the sounds. Some defaults that are automatically listed are @a, @s, @p, @e and @r. If you wand to do a specific player you would input there player name here.

@aCommand Executed at all player entities
@eCommand Executed at every single entity
@scommand executed at self (doesn’t work with command blocks)
@pCommand executed at nearest player
@rCommand executed as random player

< Location >

This part of the command defines where the sound will be played. If you have a coordinate ready you would place it here. However, if you know where you want the sound to play from the command block you can insert three ~ ~ ~ that all act as X Y Z. If you place a one in the middle of one like this ~ ~1 ~ it means that the sound will play 1 block above the command block or the player who executes the command.

< Volume >

This part of the command explains how loud or quiet you want your sound to be. If it is a 1 it means that it will play the sound at 100% if it is 0.1 it means that it will play the sound at 10% and if you play the sound at 2 the sounds volume will be 200%

< Pitch >

This next part of the command determine the pitch of the sound. It is very similar to the volume however you can only change the number from 0.1 – 2. when you make the number lower than 1 it means that the pitch will be lower and slower and when you have it above 1 it is high pitch and fast.

< Min Volume >

The minimum volume is the minimum volume a player should here if they come near a sound. This part of the command can be left blank if you so not wish to have a minimum volume.

Advanced Play Sound Commands

Here are some advanced cool play sound commands that use the execute command to allow mobs to have custom sounds attached to them. Note that you may need to set up a tick timer to help reduce glitchy sounds.

/execute at @e[type=!player] run playsound Minecraft:entity.player.levelup ambient @a ~ ~ ~ 0.5 1.5 

This command above will execute the play sound command at every entity apart from the player ( the ! means not to include) at a volume of 50% and a pitch of 150%

/execute at @e[type=creeper] run playsound Minecraft:entity.player.levelup ambient @a ~ ~ ~ 0.5 1.5 

This command is very similar to the last one except it is executing the command at a specific entity.

Thank you for reading this blog post! If you have any questions, have other topics you would like me to explain or Any wacky Minecraft commands for play sound feel free to leave them in the comments down below!

1 thought on “Minecraft Play Sound Command”

  1. `/execute at @e[name=test] run playsound Minecraft:entity.player.levelup ambient @a ~ ~ ~ 0.5 1.5

    The command above is a command I forgot to mention in the post. The command basically tests if an entity named “test” is valid. If it is it would execute the play sound command at the named entity

Leave a Reply!

error: