Better Thunder
Makes thunder volume controllable by the Weather slider in the sound settings, among other improvements.
介绍
This mod provides volume control over the thunder noise created by lightning bolts. No more setting the Weather slider to “OFF”. Enjoy the rain alongside the thunder.
Technical
The mod accomplishes this by hooking onto the PlaySound event and filtering for ambient.weather.thunder. The volume is then reduced considerably (from 10000.0f to 5.0f) before it plays. It does this for any volume above 5 to try and catch some modded thunderbolts too (such as Weather2, which uses 64.0f). The default volume of 5.0f was chosen according to a comment on the relevant bug MC-46634.
Global thunder
Enabled by default is a simple algorithm that plays the sound near the player, in the direction of the thunderbolt. It also affects the thunder’s volume. See the configuration file for details.
FAQ
Can I distribute it as part of a modpack?
Yes, and you don’t need to ask for permission to do so; just preserve the mod credits.
Will you port this to [version]?
Only if enough people want it. Otherwise, probably not. I created this mod for a small modpack that I play on with a friend, and I thought I’d share it since I couldn’t find a mod that does this.
Isn’t this already fixed by BugTorch?
Yes, sort of. BugTorch uses a mixin to patch Minecraft’s EntityLightningBolt class. This means it is fixed for anything that uses the vanilla lightning bolt. Despite this, setting the volume too low means you won’t be able to hear it unless it’s quite close to you, and setting it too high means it will still explode your ears even if you have the Weather slider set really low.
This mod uses a different approach by intercepting the actual thunder sound and reducing its volume before it is played. This allows coverage for any mods using the thunder sound. Additionally, this mod is able to place the sound near you so that you can still hear thunder bolts that are far away, while also being able to control the volume.
As of version 1.2.0, Better Thunder detects whether or not BugTorch’s fix is used, and disables itself if so.
常见问题
Better Thunder 支持哪些 Minecraft 版本?
Better Thunder 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Better Thunder 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分