Options for Player.playSound.
Interface in @minecraft/server
Options for Player.playSound.
import type { PlayerSoundOptions } from '@minecraft/server';Properties
Section titled “Properties”location
Section titled “location”optional
location?: Vector3;Where it plays; at the player if left out.
Types
volume
Section titled “volume”optional
volume?: number;Default 1.
optional
pitch?: number;Default 1.