This mod adds some gamerules that allows lightning to be fully configurable.
-
lightningProbablity:
/gamerule lightningProbability <integer>
This number means there is 1 chance out of (number) that an EntityLightningBolt spawns when it's raining, setting it to 0 or lower will disable lightning bolts. (default: 100000) -
lightningFire:
/gamerule lightningFire <boolean>
Enables/disables fire created by ligthning. (default: true) -
lightningDamage:
/gamerule lightningDamage <float>
Damage dealt by ligthing (default: 5.0) -
lightningRange:
/gamerule lightningRange <double>
Entites inside this range will be damaged by ligthning (default: 3.0) -
lightningHorseSpawning:
/gamerule lightningRange <boolean>
Should lightning spawn skeleton horses? (default: true)
Setting any of this values to an invalid string such as "covefe" will set it to its default vaulue.
As of version 1.1.0, HexianCore (https://minecraft.curseforge.com/projects/hexiancore) is needed.
-CattyCat (http://www.minecraftforum.net/members/CattyCat), for suggesting the mod idea.
All code (excluding the bundled APIs from other mods, which are covered by their respective licenses) are released under the CC BY-NC 3.0 license (https://creativecommons.org/licenses/by-nc/3.0/deed.en). You are free to include this mod anywhere as long as you don't claim the mod as yours, You may not use the material for commercial purposes.