COWMODSКаталог модов

Music player

Situational BGM mod that lets you play custom music based on conditions like biome, time, or combat. Just set your soundpack and apply the matching resource pack to enjoy dynamic background music!

Автор: Zoma11012,9 тыс.16обновлён 26 авг. 2026 г.
ПриключенияДекорУправление

Описание

🎵 Music Player Mod

Music Player is a mod that lets you freely set and switch background music (BGM) based on in-game conditions. Customize your soundtrack to match the world’s atmosphere — whether it's day or night, peaceful or in battle!

📦 How to Use

  1. Inside your .minecraft folder, navigate to soundpacks.
  2. Set up your custom soundpack like this:

soundpacks/pack_name/assets/pack_id/conditions/predicate.json soundpacks/pack_name/assets/pack_id/music/name.ogg

Example SoundPack

Example SoundPack is here

Soundpack cannot be recognized in zip file format

This will be fixed in the future.

  1. Apply a resource pack with the same name as your pack_id to activate the BGM.

📄 Condition File Setup (predicate.json)

{
  "priority": 100, // Higher priority takes effect when multiple conditions match
  "music": "music/name.ogg",
  // Playback conditions listed below
}

🎯 Available Playback Conditions

ConditionDescription
"biomes": []Plays in the specified biomes (biome tags supported).
"is_night": true/falsePlays only at night if true.
"is_combat": true/falsePlays during combat if true (triggers when nearby mobs prepare to attack).
"isVillage": true/falsePlays when villagers are nearby if true.
"min_y": nPlays when player Y position is higher than n.
"max_y": nPlays when player Y position is lower than n.
"weather": [clear/rain/thunder]Plays during specified weather.
"dimensions": []Plays in specified dimensions.
"gui_screen": [ ... ]Plays only when specified GUI screens are open. Supported screens: crafting/inventory/furnace/brewing_stand/chest/creative
"entity_conditions": []The sound will play if the specified entities are within the radius and their count is between min_count and max_count.
"radius": nChecks for entities within n blocks.
"min_count": nMinimum number of matching entities required.
"max_count": nMaximum number of matching entities allowed.

🎶 Now you can create an immersive soundtrack tailored to every moment in your Minecraft adventure!

  • Add this to your pack too soundpacks/pack_id/pack.mcmeta
{
  "pack": {
    "pack_format": 15,
    "description": "",
  }
}

Последние версии

Все версии →
release

Music player 1.2.0

1.2.0
26 авг. 2026 г.178Minecraft: 26.2neoforge
Скачать
Что нового
- Updated to NeoForge 26.2 - Changed MODID to Zoma's Music Player
release

Music player 1.0.0

1.0.0
21 авг. 2026 г.172Minecraft: 1.20.1forge
Скачать
Что нового
- NeoForge 1.21.1 support - Fade-in and fade-out implemented All fade-in and fade-out durations can be configured via music_player-client.toml. The fade-in and fade-out durations for each soundpack condition can be adjusted as follows. Condition settings take priority over config settings. ``` "fade_in_ticks": n # Fades in over n ticks. "fade_out_ticks": n # Fades out over n ticks. ```
release

Music player 1.1.0

1.1.0
21 авг. 2026 г.135Minecraft: 1.21.1neoforge
Скачать
Что нового
- NeoForge 1.21.1 support - Fade-in and fade-out implemented All fade-in and fade-out durations can be configured via music_player-client.toml. The fade-in and fade-out durations for each soundpack condition can be adjusted as follows. Condition settings take priority over config settings. ``` "fade_in_ticks": n # Fades in over n ticks. "fade_out_ticks": n # Fades out over n ticks. ```
release

Music player 1.1.4

1.1.4
29 мая 2026 г.228Minecraft: 1.20.1forge
Скачать
Что нового
* Fixed an issue where the selected sound pack was not being applied on startup. * Improved the usability of the sound pack selection screen. * Changed sound pack activation to be performed by clicking the sound pack icon. * Added drag-and-drop support for changing sound pack priority order.
release

Music player 1.1.3

1.1.3
12 июн. 2025 г.1,9 тыс.Minecraft: 1.20.1forge
Скачать
Что нового
- Added a new system to detect nearby mobs. - Fixed an issue where GUI-related conditions could no longer be set. - Example ``` "entity_conditions": ["minecraft:ender_dragon"], "radius": 100.0, "min_count": 1, "max_count": 5 ```
release

Music_player 1.1.1

1.1.1
1 июн. 2025 г.82Minecraft: 1.20.1forge
Скачать
Что нового
- Fixed so that sound packs will remain in their previous state - Fixed so that sound packs in zip format can be loaded
release

Music_player 1.1

1.1
31 мая 2025 г.53Minecraft: 1.20.1forge
Скачать
Что нового
- Added ability to open the SoundPack settings screen directly from the Resource Pack folder. - Improved the structure of SoundPacks. An updated Example SoundPack is available here: <https://github.com/zoma1101/Example-SoundPack/tree/main> - Changed behavior so that playback is now interrupted when a music disc is played. - Enemies with name tags or riding entities (e.g., boats) are no longer counted as combat triggers.
release

Music_player 1.0

1.0
23 мая 2025 г.67Minecraft: 1.20.1forge
Скачать
Что нового
- You can now move from the resource pack to the sound pack selection screen and select a sound pack. - In the sound pack, you can set pack.png like in the resource pack and decide the icon. - BGM will no longer play when playing a record. - Named mobs and mobs riding mounts will no longer switch to battle BGM.
beta

Music_player 1.0-beta

1.0-beta
5 мая 2025 г.96Minecraft: 1.20.1forge
Скачать
Что нового
Release !!!