set-the-background-music-universal.jar
Curse Maven Snippet
What's new
Changes
Added
AudioBackendabstraction layer; Melody / JavaFX are now swappable backendsAudioFormatsas the single source of truth for supported extensions- Language support expanded to 8:
en_us/zh_cn/zh_tw/ja_jp/ko_kr/fr_fr/de_de/ru_ru skills/development documentation now tracked in version control
Fixed
- File handle leak in
MusicFileScanner.scanCategory(Files.walkstream not closed) - Scan results were unsorted, causing playlist order to drift with filesystem iteration
EXT_REGEXwas case-sensitive; uppercase extensions like.MP3were not strippedMelodyPlayertoast overlapped withMusicHudon track change- JavaFX hook moved from
CLIENT_STOPPINGto a JVM shutdown hook, preventing JavaFX from being shut down prematurely after leaving a world
Improved
ConfigManagernow uses adirtyflag; track changes no longer write to disk on every switch, flushed every 5 seconds byMusicTickHandlerAudioPlayer.isIdle()check order adjusted so large files are not misjudged as idle during loadingMusicPlayer.shufflechanged from a static field to an instance field- Minecraft dependency widened to
>=26.1 <26.2
Build Variants
windows/linux/macos/universal/noffmpeg-universal- Requires Minecraft 26.1.2 / Fabric Loader 0.19.3 / JDK 25
- Install only one JAR; multiple variants sharing the same mod ID will cause Fabric to report a duplicate mod
This mod has no additional files

