@minecraft/server
    Preparing search index...

    Class SoundDefinitionBeta

    Static metadata about a sound declared in a sound_definitions.json file.

    Index

    Properties

    Duration metadata declared for this sound. Undefined when the sound definition does not specify a duration.

    Music metadata declared for this sound. Undefined when the sound definition does not specify a music_info block.

    soundEventId: string

    Identifier of the sound event this definition declares, in the form 'namespace:name'.

    tags?: Record<string, string[]>

    Tag metadata declared for this sound, as a record mapping each tag name to its declared values. A tag declared with a single string value is exposed as a single-element array. Undefined when the sound definition does not specify any tags.