HomeJavaModsMusic Events
Music Events
ModsJava

Music Events

by el0texxx · on CurseForge

An event-based dynamic music engine with an intuitive and easy to use in-game GUI that grants control over game, mod, and custom music.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · Fabric⬇ Download for 1.20.1 · Fabric⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Music Events — screenshot 1Music Events — screenshot 2Music Events — screenshot 3Music Events — screenshot 4

Music Events is a highly configurable mod that provides extensive control over both vanilla game and custom music. It allows for the creation of intricate, situational audio tracks such as ambient music, combat themes, or context-specific soundtracks. It features an intuitive and user friendly in-game GUI that vastly facilitates the mod's configuration and it's the primary way to setup the mod.

As a developer, YOUR FEEDBACK HELPS ME A LOT! Please feel free to leave a comment or report any issues. If you have questions, need help, or want clarification about my mod, you are welcome to join my Discord and i'll give you a detailed explanation as soon as i'm able to:

Watch a guide on how to setup Horror themed soundtracks:

  https://www.youtube.com/watch?v=L5ew7yguK2Q

Syntax used for the Horror themed sountracks

# ==========================================
# UNIVERSAL SETTINGS
# ==========================================
[universal]
server_nbt_sync = ["warden_spawn_tracker"]

# ==========================================
# EVENTS (TRIGGERS)
# ==========================================
[[events.mobs]]
event_name = "warden_undetected_4"
priority = 204
detection_range = 25.0
sync_group = "warden_proximity"
resource_name = ["minecraft:warden"]


[[events.player]]
event_name = "shrieker"
priority = 300
event_delay = 6.0
nbt_match = ["{warden_spawn_tracker:{warning_level:3}}"]


[[events.mobs]]
event_name = "warden_undetected_3"
priority = 203
detection_range = 50.0
sync_group = "warden_proximity"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "warden_undetected_2"
priority = 202
detection_range = 75.0
sync_group = "warden_proximity"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "warden_detected_4"
priority = 214
detection_range = 25.0
mob_targeting = true
sync_group = "warden_proximity_detected"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "warden_detected_3"
priority = 213
detection_range = 50.0
mob_targeting = true
sync_group = "warden_proximity_detected"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "warden_detected_2"
priority = 212
detection_range = 75.0
mob_targeting = true
sync_group = "warden_proximity_detected"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "warden_detected_1"
priority = 211
detection_range = 100.0
mob_targeting = true
sync_group = "warden_proximity_detected"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "angel"
priority = 100
detection_range = 50.0
mob_targeting = true
require_fov = 2
resource_name = ["weeping_angels:weeping_angel"]


[[events.mobs]]
event_name = "warden_undetected_1"
priority = 201
detection_range = 100.0
sync_group = "warden_proximity"
resource_name = ["minecraft:warden"]


[[events.mobs]]
event_name = "dweller"
priority = 101
mob_targeting = true
require_fov = 1
resource_name = ["cave_dweller:cave_dweller"]

The mod strictly supports audio files in the .ogg format.

Configuration is handled primarily through a dedicated in-game GUI.

GUI ACCESS: Press the F6 key to open the interface.

MODIFYING VANILLA MUSIC:

  1. Navigate to the Events tab.
  2. Create a new event (e.g., dimensions) and assign its priority.
  3. Define the required parameters (e.g., add resource_name and set to minecraft:overworld).
  4. Select Register Audio and search for the desired audio file.
    • Note: Searches use the internal file name (e.g., Haggstrom is stored as hal3).
    • Note: Hover over a file in the dropdown list to preview the audio.
  5. Click Save and then Reload to apply the configuration.

USING CUSTOM AUDIO FILES:

  1. Open the Audios folder using the GUI.
  2. Place custom .ogg files (and create subfolders if you want to keep it more organized) into the designated directory.
  3. Link the tracks to events using the standard Register Audio procedure.

GUI Panels Overview:

Event Types, Modifiers, and Examples:

Each event evaluates contextual conditions before triggering audio playback.

Universal Parameters (Default event configuration pool):

Audio Track Parameters:

Specific Event Types and Constraints:

Commands & Debugging:

Additionally, a built-in debug screen can be toggled with the F4 key by default. The debug screen acts as an active overlay to help you configure parameters, understand how the mod calculates priorities, which audio track is playing, and what parameters are forcefully affecting track behavior during runtime.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more