Sound

This page was last updated for version v1.2.0

Format

play-sound [args] or sound [args]

Arguments

name

sound name

name=<STRING>

*

*

client-side

plays sound only for the player if true

client-side=<BOOLEAN>

true

client

volume

sound volume

volume=<FLOAT>

1

*

pitch

sound pitch

pitch=<FLOAT>

1

*

category

sound category

category=<STRING>

*

*

Examples

  1. sound [name=entity.arrow.hit_player,client-side=true,volume=0.1,pitch=2]

  2. sound [name=minecraft:block.note_block.pling,client=false]

Last updated