Sound Event
Play a sound

Required arguments

Order
Type
Argument
1
text
sound-name
2
number
volume
3
pitch
pitch
4
decimal
percentage of occurrence

What it does

Whenever the event is triggered, the mob will play a sound with a specified name, volume and pitch.

Example usage

1
actions:
2
speak:
3
events:
4
- play-sound UI_TOAST_CHALLENGE_COMPLETE 10 1
5
commands: []
Copied!