Block Documentation - play_sound
play_sound
is an Event Response that will play a sound effect relative to the target position.
Extra Parameters
play_sound
can use the following parameters
Name | Default Value | Type | Description |
---|---|---|---|
sound | not set | String | The name of the sound to play. |
target | self | Minecraft Filter | The target context to execute against. |
Example
"play_sound":{
"sound" : "jumpscare",
"target" : {"test": "random_chance", "value": "2"} //33%
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for