PlaySoundEffect
Type
This field controls the type, it must be set to the constant value "PlaySound" to function as this type.
Type information: Constant value: PlaySound
Event
Type information: (Nullable) String
Interval
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Delay
Type information:
(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Entry
Type information: Integer
SoundEvent
Type information: (Nullable) String
VolumeDb
Volume attenuation of the sound event in decibels. 0 is unity.
Type information:
(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
Volume
Deprecated linear multiplier. Use VolumeDb instead.
Type information:
(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
PitchSemitones
Pitch shift of the sound event in semitones.
Type information:
(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
Pitch
Deprecated linear multiplier. Use PitchSemitones instead.
Type information:
(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
Location
Type information:
(Nullable) Any one of the following String (defaults to VolumeCenter):
| Name | Description |
|---|---|
"VolumeCenter" | |
"Entity" | |
"Event" | |
"Player" |
Offset
Type information:
(Nullable)
Vector3d with the following properties:
| Key | Type | Description |
|---|---|---|
| X | Number defaults to: 0.0 | |
| Y | Number defaults to: 0.0 | |
| Z | Number defaults to: 0.0 |
