Play Sound
Plays a sound at the entity's position. Currently only works on player entities.
Type ID: origins:play_sound
Fields
Field | Type | Default | Description |
---|---|---|---|
sound |
Identifier | ID of the sound to play. | |
volume |
Float | 1 | The volume of the sound. |
pitch |
Float | 1 | The pitch of the sound. |
Example
"entity_action": {
"type": "origins:play_sound",
"sound": "minecraft:entity.chicken.egg"
}
Plays the sound of a chicken laying an egg at the entity's position.