@minecraft/server
    Preparing search index...

    Interface SoundDefinitionMusicInfoBeta

    Music metadata declared on a sound definition. Each field is optional and is undefined when the sound definition does not declare a value for it.

    interface SoundDefinitionMusicInfo {
        artist?: string;
        genres?: string[];
        moods?: string[];
        title?: string;
    }
    Index

    Properties

    artist?: string

    Artist declared for this sound. Undefined when no artist was declared.

    genres?: string[]

    Genres declared for this sound. Undefined when no genres were declared.

    moods?: string[]

    Moods declared for this sound. Undefined when no moods were declared.

    title?: string

    Title declared for this sound. Undefined when no title was declared.