Modify Footstep Sound#
Since v1.0.0
Modifies the sound played when the entity that has the power walks on a block.
Type ID: voile:modify_footstep_sound
Fields#
Field | Type | Default | Description |
---|---|---|---|
silent |
Boolean | false |
Determines whether footstep sounds are 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_footstep_sound",
"silent": true
}
This example will mute the footsteps of the entity that has the power.
{
"type": "voile:modify_footstep_sound",
"sounds": [
"minecraft:block.sand.step",
"minecraft:block.gravel.step"
],
"volume": 0.5,
"pitch": 1.5
}
This example will replace the footstep sound of the entity that has the power with the minecraft:block.sand.step
and minecraft:block.gravel.step
sound events with a volume of 0.5
and a pitch of 1.5
.