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

Better Thunder

Makes thunder volume controllable by the Weather slider in the sound settings, among other improvements.

Автор: charsy9084обновлён 29 июн. 2025 г.
Механики игрыОптимизацияУтилиты

Описание

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.

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

Все версии →
release

1.2.0

1.2.0
29 июн. 2025 г.650Minecraft: 1.7.10forge
Скачать
Что нового
- A new option is added, whose value is used to multiply the Y axis of the calculated spatial distance for global thunder. Its default value is "1.2". The idea is to make thunder sound much quieter if you are underground. - The upper limit of the option "globalThunderDistanceMultiplier" is increased from 0.5 to 2.0 - The mod now detects BugTorch, and disables itself if BugTorch's "reduceLightningVolume" option is set lower than 10000. - The mod's code and artifacts (.jar files) are now licensed under LGPL v3.0.
release

1.1.1

1.1.1
2 февр. 2025 г.194Minecraft: 1.7.10forge
Скачать
Что нового
### Main changes * Configurable volume * You can now set the volume for thunder in the config. * Added a log greeting when the mod is initialized * So you know I'm here 👀 ### Global thunder changes * Distance-based volume * Calculates ideal volume for the thunder noise based on your distance from the lightning bolt (using the base volume in the config) * Fixed incorrect directional calculation * Default distance multiplier is now 0.2 * Previously 0.05, but was increased because directional calculation was changed * Explains some configuration options better
release

1.0.2

1.0.2
30 янв. 2025 г.64Minecraft: 1.7.10forge
Скачать