? Music Player Mod
Music Player 是一款模组,允许你根据游戏内的条件自由设置和切换背景音乐 (BGM)。 自定义你的配乐以匹配世界的氛围——无论是白天还是夜晚,和平还是战斗!
? 使用方法
- 在你的
.minecraft文件夹中,进入soundpacks目录。 - 按照以下方式设置你的自定义音效包:
soundpacks/pack_name/assets/pack_id/conditions/predicate.json soundpacks/pack_name/assets/pack_id/music/name.ogg
示例音效包
示例音效包 在这里
zip 文件格式的音效包无法被识别
这个问题将在未来版本中修复。
- 应用一个与你的
pack_id同名的资源包以激活 BGM。
? 条件文件设置 (predicate.json)
{
"priority": 100, // 当多个条件匹配时,优先级更高的生效
"music": "music/name.ogg",
// 下方列出播放条件
}
? 可用的播放条件
| 条件 | 描述 |
|---|---|
| "biomes": [] | 在指定的生物群系中播放(支持生物群系标签)。 |
| "is_night": true/false | 如果为 true,仅在夜间播放。 |
| "is_combat": true/false | 如果为 true,在战斗中播放(当附近的怪物准备攻击时触发)。 |
| "isVillage": true/false | 如果为 true,当村民在附近时播放。 |
| "min_y": n | 当玩家 Y 坐标高于 n 时播放。 |
| "max_y": n | 当玩家 Y 坐标低于 n 时播放。 |
| "weather": [clear/rain/thunder] | 在指定的天气下播放。 |
| "dimensions": [] | 在指定的维度中播放。 |
| "gui_screen": [ ... ] | 仅在打开指定的 GUI 界面时播放。支持的界面:crafting/inventory/furnace/brewing_stand/chest/creative |
| "entity_conditions": [] | 如果指定实体在半径内且其数量在 min_count 和 max_count 之间,则播放声音。 |
| "radius": n | 检查 n 个方块内的实体。 |
| "min_count": n | 所需匹配的实体的最小数量。 |
| "max_count": n | 允许匹配的实体的最大数量。 |
? 现在你可以创建沉浸式的配乐, tailored 到你 Minecraft 冒险中的每一个时刻!
- 也请将其添加到你的包中 soundpacks/pack_id/pack.mcmeta
{
"pack": {
"pack_format": 15,
"description": "",
}
}
? 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
- Inside your .minecraft folder, navigate to soundpacks.
- 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.
- 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
| Condition | Description |
|---|---|
| "biomes": [] | Plays in the specified biomes (biome tags supported). |
| "is_night": true/false | Plays only at night if true. |
| "is_combat": true/false | Plays during combat if true (triggers when nearby mobs prepare to attack). |
| "isVillage": true/false | Plays when villagers are nearby if true. |
| "min_y": n | Plays when player Y position is higher than n. |
| "max_y": n | Plays 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": n | Checks for entities within n blocks. |
| "min_count": n | Minimum number of matching entities required. |
| "max_count": n | Maximum 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": "",
}
}
下载 Music player
下载 Music player
下载 Music player
下载 Music player
下载 Music player
下载 Music player
下载 Music player
下载 Music player
下载 Music player
- 已更新为 NeoForge 26.2
- MODID 更改为 Zoma's Music Player
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
一个基于构建器的 Minecraft 配置库!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧