Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › Entities › badger:music_2d_emitter

badger:music_2d_emitter

Minecraft Legends

Entities
Official docs

Defines the 2D Music emitter component. Attaching this to an entity allows it to interface with the music system and determine what music to play.

TypeNameDefault ValueDescription
Arrayaudio_parametersAn array of FMOD parameters to set when this emitter activates. "param_name": <int_value>
Stringheatmap_influence_global_music_parameterName of the global music parameter in FMOD where the heatmap influence should be sent if this music emitter is spawned by a heatmap.
Decimalmax_distanceHow far away the local player is before the emitter activates
Arraymusic_statesAn array of different states this emitter can be in. Active state is determined by the music_emitter_states component
Stringon_enter_baeThe name of the audio event to request when this emitter activates
IntegerpriorityDetermines which emitter to choose when more than one is active. Higher is more priority.
Stringstate_nameName of the state for Debugging