User:Sonicwave/sound events

Properties
Sound events have certain properties defined in code. Individual sounds have additional properties that are specified in sounds.json.
 * Volume: Specifies the distance that the sound can be heard. For values less than 1, the audible volume diminishes and the sound has a smaller audible distance. For values greater than 1, the sound does not actually grow louder, but its audible range (a 16-block radius at 1) is multiplied by volume. For most sounds, there is a gradual falloff to silence based on the distance from the sound source.
 * Pitch: The pitch that the sound will be played at. 1 is default pitch, 0.5 is an octave lower, and 2 is an octave higher.
 * Category: The volume slider that the sound is affected by.

Most sounds play from a fixed location; however, a few sounds (notably, the sound of riptide tridents) follow the location of an entity when playing.