Selenite Skies is my personal solution to a minor annoyance I was facing when playing on a StoneBlock like modpack. Due to worldgen being pretty much the same as the Nether, some packs simply copy that data, This means that the Overworld is considered to have a Ceiling and have no Skylight. This, in turn, can affect some mods and vanilla features.
The main thing being Lightning! Without Skylight and with a Ceiling, the few mechanics that does revolve around lightning can't be done. No striking creatures with a Channeling enchantment, no converting Mooshrooms, Villagers, or Pigs. No charging creepers. Normally, I wouldn't mind all that much. But after another mod was added in the pack I am playing that uses lightning strikes for several of its main mechanics, I decided to fix that.
So, I bring you Selenite Skies. A fully configurable mod that allows modpack creators and players the ability to fully tweak how sky access and "thundering" is considered!
As of this moment, the following is provided:
Configurable list of Dimensions that should be considered for having a "virtual" sky. This allows things that check if they have access to the sky to be able to succeeded as long as they only block(s) above them is Bedrock or configured "Virtual Sky Blocks." By default, The End is the only one enabled.
Virtual Sky Blocks is a list of blocks that allows access to the sky to anything under them. I originally got the idea for this feature from the old OpenBlock's Sky Block (that simply rendered the sky) and similar mods.
Configurable list of Dimensions that should be considered for having a virtual thunder/lightning. Any dimension in the list will be always simulate being in a Thunderstorm. The main use of this for the Lightning Rod and Channeling Enchantment in Dimensions that does not have weather cycles enabled. Though, the striking location(s) does still need access to the "sky." By default, The End is the only one enabled.
Configurable Sky Obstructions. One thing I came across while working on this mod that I hadn't realized before is that lightning can not normally strike Lightning Rods that are blocked by fluids or Powdered Snow blocks. This can now be changes, independent of Virtual Skies config, so it should be able to function in with otherwise vanilla sky access~ You can also set it up as a Black-list or White-List so that you can set it up so only certain dimensions can or cannot have this privilege. This setting is "On" by default, meaning that fluids and Powdered Snow does block lightning rods from getting hit.
Optional Create: Enchantment Industry compatibility. Blaze Enchanters and Blaze Forger will respect any of the settings of this mod. This means your Enchanters will now properly work in The End (or any other configured Dimensions) as long as they have access to the sky or have a validly registered Virtual Sky Block above them!
4 Commands! I have included 4 commands, mainly for diagnosing during builds or to test settings. They are as follows:
/seleniteskies - Prints all the commands and what they do.
/seleniteskies info - Gives general info based on settings and current player location.
/seleniteskies sky - Checks looked at block or player's position for sky access and if it can be hit by lightning, as well as any obscuring blocks (meant for diagnosing during builds).
/seleniteskies lightning [entity <target>] - Strikes Lightning at the block you are looking at as long as it has proper access. Adding entity <target> instead attempts to strike that specific target instead. Only accessible if you have OP.
I will go ahead and apologize now if anything doesn't work properly or if I am missing any features you'd like. This is only my second foray into modding for Minecraft again since 2014 (other mod was scrapped after someone else coded the same thing before I was finished). Will say, love how much better documentation is nowadays. =w=
If you have any issue/complaints or want to make a suggestion for a reasonable feature or compatibility, please visit the GitHub~