Custom Death Sound
Modifies the sound being played if the entity that has the power dies.
Type ID: apugli:custom_death_sound
Fields
Field | Type | Default | Description |
---|---|---|---|
muted |
Boolean | false |
Determines whether the death sound should be muted. |
sound |
Weighted Sound Event | optional | If specified, this sound event will play instead of the original death sound of the entity that has the power. |
sounds |
Array of Weighted Sound Events | optional | If specified, these sound events will play instead of the original death sound of the entity that has the power in a random fashion. |
volume |
Float | 1.0 |
Determines the volume of the sound event(s) being played. |
pitch |
Float | 1.0 |
Determines the pitch of the sound event(s) being played. |
Examples
This example will mute the death sound of the entity that has the power.
This example will replace the death sound of the entity that has the power with the minecraft:entity.axolotl.death
sound event.