Custom Footstep
Modifies the footstep sound of the entity that has the power.
Type ID: apugli:custom_footstep
Fields
Field | Type | Default | Description |
---|---|---|---|
muted |
Boolean | false |
Determines whether the footstep should be muted. |
sound |
Weighted Sound Event | optional | If specified, this sound event is played. |
sounds |
Array of Weighted Sound Events | optional | If specified, these sound events are played 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 replace the footstep of the entity that has the power with the minecraft:block.amethyst_block.break
sound event.
{
"type": "apugli:custom_footstep",
"muted": true,
"condition": {
"type": "apoli:on_block",
"block_condition": {
"type": "apoli:in_tag",
"tag": "minecraft:wool"
}
}
}
This example will mute the footstep of the entity that has the power if the said entity is standing on any kind of Wool block.