Custom Background Music

Custom background music for users via datapacks

File Details

CustomBGM-1.18.2-1.4.0.jar

  • R
  • Nov 1, 2022
  • 231.22 KB
  • 24
  • 1.18.2
  • Forge

File Name

CustomBGM-1.18.2-1.4.0.jar

Supported Versions

  • 1.18.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:custombgm-590902:4060886")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Custom music can now be set using datapacks
 - definitions are located in the "custom_bgm" folder, under the desired mod ID
 - a basic music provider is provided that takes a condition and list of tracks and selects one if the condition is true
 - provided conditions are:
 -- basic boolean logic (always, never, and, or, nand, nor, not)
 -- biome (can use tags and/or ids)
 -- combat (can specify tags and/or ids as well as the minimum and maximum number of entities targeting the player)
 - datagen helpers to come later
Update to FECore 1.3.0