音频引擎调整
新闻
自 v1.2.7 起,你现在可以独立于原版滑块调节每种声音的音量。
概述
本模组改变了 Minecraft 调度声音的方式,以防止声音池被填满,或者至少减少声音池已满带来的影响。
TL;DR(简明总结)
它修复了以下常见错误(以及相关的日志刷屏):
[Render thread/WARN]: Failed to create new sound handle
[Sound engine/WARN]: Maximum sound pool size 247 reached
没有此模组时,声音池满会导致所有游戏内音频停止播放,直到有槽位释放为止。
工作原理
-
每个刻(tick),声音会按类型进行收集和分类。
- 类别越低 = 优先级越高。
- 在各类别内部,声音按与玩家的距离排序。
-
根据声音池填充程度,仅允许特定类型的声音播放,其他则被跳过。
- 如果声音池以某种方式完全填满(在阈值设置下不应发生),新声音将被完全跳过。
-
重复检查:
- 同一坐标(1个方块)只能播放有限数量的相同声音。
- 多余的重复声音会被跳过。
-
MASTER(主音量) 和 MUSIC(音乐) 声音绕过队列和重复检查(这对于服务器冻结时的主菜单或 GUI 事件很重要)。
- 它们仍然遵循填充程度阈值。
- 其他类别的声音,如果被请求立即播放,则会推迟到下一个刻再播放。
-
所有值均可通过 ModMenu 配置或直接编辑配置文件进行修改。
默认设置
MASTER : cat 0, always allowed
VOICE : cat 0, always allowed
PLAYERS : cat 1, up to 95%
HOSTILE : cat 2, up to 90%
BLOCKS : cat 3, up to 80%
MUSIC : cat 4, up to 70%
RECORDS : cat 4, up to 70%
NEUTRAL : cat 5, up to 60%
WEATHER : cat 6, up to 50%
AMBIENT : cat 6, up to 50%
maxDuplicatedSounds: 5
Audio Engine Tweaks
News
Since v1.2.7, you can now adjust the volume of each sound independently of the vanilla sliders.
Overview
This mod changes how Minecraft schedules sounds to prevent the sound pool from filling up, or at least reduce the effects of a full sound pool.
TL;DR
It fixes these common errors (and the related log spam):
[Render thread/WARN]: Failed to create new sound handle
[Sound engine/WARN]: Maximum sound pool size 247 reached
Without this mod, a full sound pool causes all in-game audio to stop until slots free up.
How It Works
-
Each tick, sounds are collected and categorized by type.
- Lower category = higher priority.
- Within categories, sounds are sorted by distance from the player.
-
Depending on the sound pool fill level, only certain sound types are allowed to play. Others are skipped.
- If the pool somehow fills completely (shouldn’t happen with thresholds), new sounds are skipped entirely.
-
Duplication check:
- Only a limited number of identical sounds can play from the same coordinate (1 block).
- Extra duplicates are skipped.
-
MASTER and MUSIC sounds bypass the queue and duplication check (important for main menu or GUI events when the server is frozen).
- They still follow fill-level thresholds.
- Other categories, if requested to play instantly, are instead deferred to the next tick.
-
All values are configurable through ModMenu or by editing the config file directly.
Default Settings
MASTER : cat 0, always allowed
VOICE : cat 0, always allowed
PLAYERS : cat 1, up to 95%
HOSTILE : cat 2, up to 90%
BLOCKS : cat 3, up to 80%
MUSIC : cat 4, up to 70%
RECORDS : cat 4, up to 70%
NEUTRAL : cat 5, up to 60%
WEATHER : cat 6, up to 50%
AMBIENT : cat 6, up to 50%
maxDuplicatedSounds: 5
下载 Audio Engine Tweaks
下载 Audio Engine Tweaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Audio Engine Tweaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Audio Engine Tweaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Audio Engine Tweaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Audio Engine Tweaks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Audio Engine Tweaks
下载 Audio Engine Tweaks
下载 Audio Engine Tweaks
下载 Audio Engine Tweaks
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!

评论 0
登录后参与评分
还没有评论,来抢沙发吧