@minecraft/server / PlayerSoundOptions
Interface: PlayerSoundOptions ​
Defined in: @minecraft/server/index.d.ts:24338
Additional options for how a sound plays for a player.
Properties ​
location? ​
optionallocation?:Vector3
Defined in: @minecraft/server/index.d.ts:24345
Remarks ​
Location of the sound; if not specified, the sound is played near a player.
pitch? ​
optionalpitch?:number
Defined in: @minecraft/server/index.d.ts:24351
Remarks ​
Optional pitch of the sound.
volume? ​
optionalvolume?:number
Defined in: @minecraft/server/index.d.ts:24357
Remarks ​
Optional volume of the sound.