BuroSound
BuroSound 是一个客户端模组,允许地图制作者和资源包创作者将自定义音乐和环境音效绑定到 Minecraft 中的特定三维区域。进入该区域时,音轨会平滑开始播放;离开时,音乐渐弱或过渡到其他曲目。所有配置完全通过
sounds.json完成。
主要功能
- 无需 GUI 的空间音频: 设置过程不需要游戏内界面——一切通过资源包中可版本控制的 JSON 文件进行控制。
- 播放列表与链式播放: 音轨可以在结束时自动触发下一首。
- 平滑过渡: 支持在移动位置时音频淡入淡出,并支持专用的“退出区域”来停止播放。
- 音符盒兼容性(音量避让): 当音符盒播放时,BuroSound 的背景音乐会暂时降低音量,以确保机械装置和旋律清晰可闻。
- 调试工具: 游戏内的可视化叠加层显示你音乐区域的精确边界。
安装方法
对于玩家
- 安装 Fabric Loader 和 Fabric API。
- 将 BuroSound 的
.jar文件放入你的mods文件夹中。 - 启用包含区域配置的资源包(否则模组不会生效)。
对于内容创作者
模组会读取你资源包中的 assets/minecraft/sounds.json 文件。只需在 sounds 数组内的声音事件中添加特定参数即可。要在游戏中应用更改,请使用 F3 + T(重新加载资源包)。
参数参考 (sounds.json)
以下字段可以添加到 sounds 数组中的任何声音事件中。所有坐标均以方块为单位指定。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
box |
[int] 或 [[int]] |
无 | 声音的 3D 触发区域。格式:[x1, y1, z1, x2, y2, z2] 或此类区域的数组。 |
dimension |
string |
minecraft:overworld |
区域生效的维度。 |
exit / isExit |
boolean |
false |
如果为 true,该区域充当退出触发器:它会平滑停止当前音乐并清空队列。 |
next |
string |
无 | 下一首曲目的 ID。如果提供时不带点号 (.),模组会自动添加 music_disc. 前缀。 |
play_while_inside / playWhileInside |
boolean |
false |
如果为 true,离开区域时音乐立即淡出。如果为 false,即使离开,曲目也会播放完毕。 |
ignore_note_blocks / ignoreNoteBlocks |
boolean |
false |
如果为 true,当音符盒播放时,此曲目不会被避让(即不会降低音量)。 |
allow_overlap / allowOverlap |
boolean |
false |
如果为 true,来自此区域的声音可以与其他区域的声音同时播放。 |
block_trigger / blockTrigger |
array 或 object |
无 | 替代激活方式:在指定坐标右键点击特定方块。 |
参数示例
1. 基本区域与维度 (box, dimension)
下界中的一个标准区域。进入后曲目开始播放,即使玩家离开区域也会播放完毕。
{
"music_disc.nether_ambient": {
"sounds": [
{
"name": "my_pack:music/nether_ambient",
"stream": true,
"box": [10, 30, 10, 50, 80, 50],
"dimension": "minecraft:the_nether"
}
]
}
}
2. 多区域 (box 带有一个二维数组)
同一曲目分配给两个不同的房间。在它们之间走动不会重新开始音乐。
{
"music_disc.town_theme": {
"sounds": [
{
"name": "my_pack:music/town",
"stream": true,
"box": [
[-20, 64, -20, 20, 80, 20],
[100, 64, 100, 150, 80, 150]
]
}
]
}
}
3. 存在依赖与循环 (play_while_inside, next)
音乐仅在玩家位于立方体内时播放。退出时,音乐平滑淡出。"next": "boss_theme" 参数强制曲目结束后自行触发,形成无限循环。
{
"music_disc.boss_theme": {
"sounds": [
{
"name": "my_pack:music/boss",
"stream": true,
"box": [0, 60, 0, 30, 80, 30],
"play_while_inside": true,
"next": "boss_theme"
}
]
}
}
4. 创建播放列表 (next 指向不同曲目)
当 track_one 结束时,模组会自动开始播放 track_two。
{
"music_disc.track_one": {
"sounds": [
{
"name": "my_pack:music/part1",
"stream": true,
"box": [0, 60, 0, 10, 70, 10],
"next": "track_two"
}
]
},
"music_disc.track_two": {
"sounds": [
{
"name": "my_pack:music/part2",
"stream": true,
"box": [0, 60, 0, 10, 70, 10]
}
]
}
}
5. 忽略音符盒与重叠 (ignore_note_blocks, allow_overlap)
这种背景嗡嗡声可以与其他音乐同时播放,并且如果附近有声效盒机制激活,它不会变轻。
{
"burosound.machine_hum": {
"sounds": [
{
"name": "my_pack:ambient/hum",
"stream": true,
"box": [5, 64, 5, 10, 68, 10],
"ignore_note_blocks": true,
"allow_overlap": true
}
]
}
}
6. 退出区域 (exit)
此区域不播放音乐。如果玩家进入这个走廊,任何正在播放的 BuroSound 音乐都会平滑淡出并停止。
{
"exit_corridor": {
"sounds": [
{
"name": "none",
"box": [30, 60, -5, 40, 65, -10],
"exit": true
}
]
}
}
7. 方块点击触发 (block_trigger)
不是进入区域,而是通过右键点击特定方块来激活音乐。
{
"music_disc.secret_button": {
"sounds": [
{
"name": "my_pack:music/secret",
"stream": true,
"block_trigger": [10, 64, -5, "stone_button"]
}
]
}
}
命令与控制
为了方便调试,该模组提供了客户端命令:
/burosound boxes切换调试叠加层。在当前维度中显示所有活动区域的彩色轮廓和标签。非常适合用于验证坐标。/burosound stop立即停止所有正在播放的 BuroSound 音乐,并完全清除即将播放的歌曲队列。
BuroSound
BuroSound is a client-side mod that allows map-makers and resource-pack creators to bind custom music and ambience to specific 3D regions in Minecraft. Enter an area, and a track smoothly starts. Leave it, and it fades out or transitions to another. Everything is configured entirely via
sounds.json.
Key Features
- Spatial Audio Without GUIs: Setup requires no in-game interfaces—everything is controlled via versionable JSON in your resource pack.
- Playlists & Chains: A track can automatically trigger the next one when it finishes.
- Smooth Transitions: Supports audio fading when moving between locations and dedicated "exit zones" to stop playback.
- Note Block Compatibility (Ducking): When note blocks play, BuroSound's background music temporarily lowers in volume so contraptions and melodies remain audible.
- Debugging Tools: A visual in-game overlay displays the exact boundaries of your music zones.
Installation
For Players
- Install Fabric Loader and Fabric API.
- Place the BuroSound
.jarfile into yourmodsfolder. - Enable a resource pack containing zone configurations (without it, the mod does nothing).
For Content Creators
The mod reads the assets/minecraft/sounds.json file from your resource pack. Simply add specific parameters to your sound events inside the sounds array. To apply changes in-game, use F3 + T (reload resource packs).
Parameter Reference (sounds.json)
The following fields can be added to any sound event within the sounds array. All coordinates are specified in blocks.
| Parameter | Type | Default | Description |
|---|---|---|---|
box |
[int] or [[int]] |
None | 3D trigger zone for the sound. Format: [x1, y1, z1, x2, y2, z2] or an array of such zones. |
dimension |
string |
minecraft:overworld |
The dimension where the zone is active. |
exit / isExit |
boolean |
false |
If true, the zone acts as an exit trigger: it smoothly stops current music and clears the queue. |
next |
string |
None | ID of the next track. If provided without a dot (.), the mod automatically adds the music_disc. prefix. |
play_while_inside / playWhileInside |
boolean |
false |
If true, the music fades out immediately upon leaving the zone. If false, the track plays to the end even if you leave. |
ignore_note_blocks / ignoreNoteBlocks |
boolean |
false |
If true, this track will not be ducked (lowered in volume) when note blocks play. |
allow_overlap / allowOverlap |
boolean |
false |
If true, the sound from this zone can play simultaneously with sounds from other zones. |
block_trigger / blockTrigger |
array or object |
None | Alternative activation method: right-clicking a specific block at the specified coordinates. |
Argument Examples
1. Basic Zone & Dimension (box, dimension)
A standard zone in the Nether. The track starts upon entry and plays to completion, even if the player leaves the area.
{
"music_disc.nether_ambient": {
"sounds": [
{
"name": "my_pack:music/nether_ambient",
"stream": true,
"box": [10, 30, 10, 50, 80, 50],
"dimension": "minecraft:the_nether"
}
]
}
}
2. Multi-Zones (box with an array of arrays)
The same track assigned to two different rooms. Walking between them will not restart the music.
{
"music_disc.town_theme": {
"sounds": [
{
"name": "my_pack:music/town",
"stream": true,
"box": [
[-20, 64, -20, 20, 80, 20],
[100, 64, 100, 150, 80, 150]
]
}
]
}
}
3. Presence Dependency & Looping (play_while_inside, next)
The music plays only while the player is inside the cube. Upon exiting, it smoothly fades out. The "next": "boss_theme" parameter forces the track to trigger itself after finishing, creating an endless loop.
{
"music_disc.boss_theme": {
"sounds": [
{
"name": "my_pack:music/boss",
"stream": true,
"box": [0, 60, 0, 30, 80, 30],
"play_while_inside": true,
"next": "boss_theme"
}
]
}
}
4. Creating a Playlist (next to a different track)
When track_one finishes, the mod automatically starts track_two.
{
"music_disc.track_one": {
"sounds": [
{
"name": "my_pack:music/part1",
"stream": true,
"box": [0, 60, 0, 10, 70, 10],
"next": "track_two"
}
]
},
"music_disc.track_two": {
"sounds": [
{
"name": "my_pack:music/part2",
"stream": true,
"box": [0, 60, 0, 10, 70, 10]
}
]
}
}
5. Ignoring Note Blocks & Overlapping (ignore_note_blocks, allow_overlap)
This background hum can play concurrently with other music and will not become quieter if a note block mechanism is active nearby.
{
"burosound.machine_hum": {
"sounds": [
{
"name": "my_pack:ambient/hum",
"stream": true,
"box": [5, 64, 5, 10, 68, 10],
"ignore_note_blocks": true,
"allow_overlap": true
}
]
}
}
6. Exit Zone (exit)
This zone does not play music. If a player enters this corridor, any currently playing BuroSound music smoothly fades out and stops.
{
"exit_corridor": {
"sounds": [
{
"name": "none",
"box": [30, 60, -5, 40, 65, -10],
"exit": true
}
]
}
}
7. Block Click Trigger (block_trigger)
Instead of entering a zone, the music is activated by right-clicking a specific block.
{
"music_disc.secret_button": {
"sounds": [
{
"name": "my_pack:music/secret",
"stream": true,
"block_trigger": [10, 64, -5, "stone_button"]
}
]
}
}
Commands & Controls
For debugging convenience, the mod provides client-side commands:
/burosound boxesToggles the debug overlay. Displays colored outlines and labels for all active zones in your current dimension. Perfect for verifying coordinates./burosound stopInstantly stops all playing BuroSound music and completely clears the queue of upcoming tracks.
下载 BuroSound
下载 BuroSound
下载 BuroSound
下载 BuroSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BuroSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BuroSound
下载 BuroSound
下载 BuroSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BuroSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BuroSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
移植到 26.2
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧