The WorldSoundOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { WorldSoundOptions } from '@minecraft/server';Properties
Section titled “Properties”isBroadcast
Section titled “isBroadcast”optional
isBroadcast?: boolean;loopCount
Section titled “loopCount”optional
loopCount?: number;optional
pitch?: number;volume
Section titled “volume”optional
volume?: number;