promotional bannermobile promotional banner

Lightning Tweaks

Makes lightning more configurable, with options to make it behave more realistically.

File Details

lightningtweaks-1.12.2-2.0.0.0-alpha1.jar

  • A
  • Mar 10, 2020
  • 12.70 KB
  • 2.8K
  • 1.12.2
  • Forge

File Name

lightningtweaks-1.12.2-2.0.0.0-alpha1.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:lightning-tweaks-306938:2897833")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This is the first alpha release of Lightning Tweaks 2. It's a complete rewrite of the old versions, from the ground up. At the moment, only a few of the original features are available, but I wanted to make this release available to y'all. I've no ideas what kind of horrific bugs may be present in the code at this point in the game, and the ones I do know about might make this version unsuitable for survival worlds.

 

Current Features:

-Lightning strikes the tallest block in the chunk it is spawned in. If there are multiple blocks at the highest position, one is chosen at randomly.

-The color and opacity of lightning can be changed in the in game config.

 

That's it. There's a lot more that still needs to be done.

 

To-Do

-Add code documentation.

-Add Forge auto-updater. It just notifies you in game when an update to the mod is available.

-Add lightning discharge map if JourneyMap is installed.

-Add log messages for all the fancy magic this mod does.

-Add mod description.

-Add option to change how many chunks are searched when a lightning bolt is spawned.

-Add option to stop fire from spawning altogether.

-Apply this mod's logic to the lightning from Local Weather, Storms & Tornadoes. This may already be the case, but it's hard to tell; the mod author doesn't have a readily available way to summon lightning.

-Make lightning sometimes strike living entities when they are real high up, wearing metal armor, or holding something metal and add config options to control this.

-Make lightning strike metallic blocks more often than non-metallic blocks and add config options to control this.

-Stop fire from spawning at original lightning strike position.

-Stop fire from spawning upon striking a metal object.

 

So, why use this version when it's so unfinished? Honestly, there is little reason to, yet. It is significantly more efficient in spawning lightning than the old versions at O(n) time. That is about 256 operations per chunk. It also has the custom lightning color which is sorta neat. Don't use it if you liked any of the old features that don't exist yet or if you don't want your world randomly burning down.