Sound

This page was last updated for version v1.2.0

Format

play-sound [args] or sound [args]

Arguments

Arg

name

Description

sound name

Format

name=<STRING>

Default

*

Aliases

*

Arg

client-side

Description

plays sound only for the player if true

Format

client-side=<BOOLEAN>

Default

true

Aliases

client

Arg

volume

Description

sound volume

Format

volume=<FLOAT>

Default

1

Aliases

*

Arg

pitch

Description

sound pitch

Format

pitch=<FLOAT>

Default

1

Aliases

*

Arg

category

Description

sound category

Format

category=<STRING>

Default

*

Aliases

*

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