Modify Death Sound#
Since v1.0.0
Modifies the sound played when the entity that has the power dies.
Type ID: voile:modify_death_sound
Fields#
Field | Type | Default | Description |
---|---|---|---|
silent |
Boolean | false |
Determines whether the death sound is played or not. |
sound |
Identifier | optional | If specified, this sound event is played. |
sounds |
Array of Identifiers | optional | If specified, a random sound event from this array is played. |
volume |
Float | 1.0 |
The volume of the sound event(s). |
pitch |
Float | 1.0 |
The pitch of the sound event(s). |
Examples#
{
"type": "voile:modify_death_sound",
"silent": true
}
This example will mute the death sound of the entity that has the power.
{
"type": "voile:modify_death_sound",
"sound": "minecraft:entity.ender_dragon.death"
}
This example will replace the death sound of the entity that has the power with the minecraft:entity.ender_dragon.death
sound event.