RANDOMIZED_SOUND

A ConfigAdapter for RandomizedSounds, which accept either a single sound or a list of sounds, a source, and ranges for volume and pitch.

Picking a random sound and a random volume and pitch from the ranges when played.

The volume and pitch can either be specified as a single value, a list of two values (min and max), or specific min and max keys.

For example:

hammer-sound:
sounds:
- minecraft:block.anvil.use
- minecraft:block.anvil.land
source: player
volume:
min: 0.3
max: 0.7
pitch:
- 0.8
- 1.2