Options for Player.playMusic and Player.queueMusic.
Interface in @minecraft/server
Options for Player.playMusic and Player.queueMusic.
import type { MusicOptions } from '@minecraft/server';Properties
Section titled “Properties”optional
fade?: number;Seconds the track fades over, from 0 to 10.
optional
loop?: boolean;Whether it plays again and again.
volume
Section titled “volume”optional
volume?: number;From 0 to 1; default 1.
Used by
Section titled “Used by”Player.playMusic, Player.queueMusic, World.playMusic, World.queueMusic