Each track already has multiple assigned data values, allowing the game to randomly select one of the tracks to play depending on your current location/situation. (For example, both Labyrinthine and Firebugs are able to play in the lush cave biome due to their shared data value: music.overworld.lush_caves (JE) or music.game.lush_caves (BE). There are other tracks that can play in lush caves, but I'll just use these two for the purposes of this post.)
I suggest adding a specific data value to each track. This would allow for better use of the /music command, both by allowing players to select the exact track they want to play rather than selecting a group, and by enabling the use of timings to start/stop/fade/loop tracks at the desired point (impossible at the moment due to each track in the current groups having varying lengths).
The naming system for the added data values could literally be the names of the tracks, so Labyrinthine would have music.overworld.labyrinthine (JE) and music.game.labyrinthine (BE), while Firebugs would have music.overworld.firebugs (JE) and music.game.firebugs (BE). Giving these values no use other than the /music command would ensure that tracks aren't played naturally outside of their correct locations/situations while still allowing players to play their desired track through commands.
As an aside, a track-specific tag could also be useful in commands, such as by stopping a command block from constantly restarting a track unless said track is over.
Please sign in to leave a comment.
0 Comments