Summary
The Main Soundtrack is a mod aimed to modpackers, it lets you replace Minecraft’s music with your own audio files. Build separate playlists for the title screen, combat, or specific places and events. Set how often each track plays, give important situations higher priority, and control how songs transition with configurable crossfades. You can set everything up in-game or edit and export your configuration as a CSV file.

Creating the Soundtrack
First of all, drop the .jar into your NeoForge profile’s mods folder and launch Minecraft. The mod will create a folder for your music. You can open it from .minecraft/the_minecraft_soundtrack/music on Windows. Drop in whatever you’d like to hear. The mod supports MP3, OGG Vorbis, WAV, and AIFF.
Once your files are there, go back to the mod’s settings and click Select file to pick your first song. It’s set to play on the title screen by default, so you can hit Save and hear it right away in the main menu.
Now, you need to decide when do you want yours songs to play, say you want one song for exploring and another for when zombies come after you. Click Add Song, pick a file, then click Edit Conditions. Use In Game for your exploration song and In Combat for the other. You can leave combat open to any mob or choose Zombie from the list.
Each new song gets its own named condition. You can rename it to something you’ll recognize, like Zombie Fight. If you want more songs for that same fight, add them and use the little arrow next to the condition name to pick Zombie Fight again. Those songs now share a playlist. Use Volume to balance them and Probability to decide which ones come up more often when that condition happens.
You can also make conditions for biomes, dimensions, structures, items in your inventory, health, hunger, and time of day. Combine them with AND, OR, and parentheses if you want something more specific. For example, (In Plains OR In Desert) AND Time of Day can give both biomes the same music during daylight hours.
What each condition does
| Condition | How it works |
|---|---|
| Title Screen | Plays in the main menu and its submenus while no world is open. Use this condition on its own. |
| In Game | Gives you a playlist that can play anywhere in a world. Use it on its own. The other gameplay conditions already know you’re in a world. |
| In Combat |
Matches when a mob has you as its target. Choose Any mob, or pick a specific type such as
|
| Has Item | Choose an item. The condition matches as long as you have at least one in your inventory, including your armor and offhand slots. For example, choose minecraft:diamond for a playlist that can play while you’re carrying diamonds. |
| In Dimension | Choose a dimension, such as minecraft:overworld, minecraft:the_nether, or minecraft:the_end. The condition matches anywhere in that dimension. |
| In Biome | Choose a biome, such as minecraft:dark_forest. The condition matches while you’re in that biome. |
| In Structure | Choose a structure, such as a stronghold. The condition matches while you’re inside the structure. |
| Health Below / Health Above | Enter a nonnegative whole number in health points. Each heart is 2 points, so Health Below 8 means fewer than four hearts. Exactly four hearts won’t match. |
| Hunger Below / Hunger Above | Enter a nonnegative whole number in food points. A full hunger bar is 20 points. For example, Hunger Below 10 matches when you have less than half a bar. |
| Time of Day | Enter a start and end tick from 0 to 24,000. Both ends count. Use 0 to 12,000 for a daytime range, or 18,000 to 2,000 for a range that starts late at night and continues into the next morning. |
Open Condition Settings to decide which playlist takes over, how songs blend together, and what happens when a condition stops matching.
Priority decides which song gets first pick. Say Exploration is set to 0, Dark Forest to 1, and Combat to 2. If all three conditions match when it’s time to pick a new song, Combat wins. If two playlists share the highest priority, the mod picks one at random. It then uses the probabilities you set to choose a song from that condition.
Tolerance Time gives the current song a chance to play before a playlist one priority point higher can interrupt it. The timer starts when the song starts. It’s 90 seconds by default, and you can set it anywhere from 0 to 5 minutes. With the priorities above, Dark Forest can interrupt Exploration once that time has passed. Combat is two points higher than Exploration, so it can take over right away. If Dark Forest is already playing, Combat is only one point higher and has to wait.
Crossfade Duration controls how long the old song fades out while the new one fades in. You can set it from 0 to 8 seconds. The incoming song’s settings control both fades, so if Combat has a 2-second crossfade, the exploration song fades out over those same two seconds. A song that starts or ends on its own uses its own fade settings.
Crossfade Style changes how the fade feels. Constant raises or lowers the volume at a steady pace. Exponential starts gently and changes the volume faster toward the end. The chosen style applies to both the fade in and the fade out.
Finish When Condition Ends is off by default, so a song can keep playing after its condition stops matching. Turn it on and use After to set a delay from 0 to 60 seconds. For example, set combat music to stop after 10 seconds out of combat. If another mob targets you during those ten seconds, the same song keeps playing. If combat stays over, the mod crossfades into another song that can play or fades the current song out on its own.
Under Parameters, each song starts with From Condition, so it uses its playlist’s crossfade duration, crossfade style, and tolerance time. Switch to Track Settings if you want to set those three options just for that song. For example, you might use a short fade for a song with a quiet intro and longer fades for the rest of the playlist. Priority and Finish When Condition Ends are set in Condition Settings for the whole playlist.
Click Save when you’re happy with your setup. The mod stores it in .minecraft/config/the_minecraft_soundtrack/soundtrack.csv. You can edit that file yourself while the in-game settings screen is closed, or click Export Configuration to make a copy and open the folder where it was saved. To import a configuration, just drop the .csv file into that folder and rename it to "soundtrack.csv".