!DCME
[DCME] Dynamic Contextual Music EngineDCME replaces Minecraft's vanilla music system with a fully dynamic, context-aware soundtrack. Music adapts in real time to what you're doing: exploring, fighting, caving, facing a boss, or watching the credits roll.
DCME is a music engine and does not include music tracks. You need a compatible resource pack to hear music in-game. Search for [DCME] on CurseForge or Modrinth to find community-made soundtracks.
If you create a music pack, add [DCME] to your project title so users can find it.
The mod evaluates dozens of conditions every second and plays the right music for the moment:
DCME tracks player-vs-player combat server-side. When a player hits another player, both receive the PVP combat music signal.
Contexts can finish their current track before transitioning, but only within the same group. Changing dimension or going from surface to underground always crossfades immediately.
Groups: overworld_surface, overworld_underground, nether, end, screen, combat, boss
config/dcme.json - master volume, fade durations, gap between tracks, combat radius, PVP timeout, team protection, per-context toggles, and moreSee the included example resource pack and datapack for a complete guide.
Drop context JSONs into config/dcme/contexts/ to override any context without a resource pack. Highest priority - overrides both defaults and resource packs.
DCME blocks other mods from playing their own music to prevent conflicts. Configurable per-namespace in config/dcme.json. Jukebox music is never blocked.
| Context | Priority | Layer | Group |
|---|---|---|---|
| Ender Dragon | 100 | Override | boss |
| Wither | 95 | Override | boss |
| Elder Guardian | 90 | Override | boss |
| Combat (Warden) | 85 | Override | combat |
| Combat (Generic) | 80 | Override | combat |
| Credits | 70 | Base | screen |
| Menu | 60 | Base | screen |
| Deep Dark | 50 | Base | overworld_underground |
| Underground | 40 | Base | overworld_underground |
| Rain | 38 | Base | overworld_surface |
| Dawn | 22 | Base | overworld_surface |
| Dusk | 22 | Base | overworld_surface |
| Night | 20 | Base | overworld_surface |
| Day / Nether / End | 10 | Base | (varies) |
Used in the Legends Reborn: Medieval modpack.
![[DCME] Dynamic Contextual Music Engine](/_next/image?url=%2Fapi%2Fproxy-image%3Furl%3Dhttps%253A%252F%252Fcdn.modrinth.com%252Fdata%252FuDwJAaHz%252F1f5be1c2dc5059f184d9953a39361b9ae69a6f1d_96.webp&w=256&q=75)
Replaces vanilla music with a dynamic soundtrack that reacts to biomes, time of day, weather, battles, bosses, structures, etc. Fully customizable via resource packs and JSON; no programming required