Is there something you can do other that incorporating cheats that allows the player to prevent lightning from hitting them (different type of armor)?
Hitting you personally or hitting the environment around you?– JamesJul 25, 2013 at 17:02
I'm looking for both.– Young GuiloJul 25, 2013 at 17:03
gaming.stackexchange.com/q/21199/8581 <=- A bit dated but still basically the same except none of us believe anything else is coming from the developers on this... And gaming.stackexchange.com/q/62498/8581 is about it hitting you.– JamesJul 25, 2013 at 17:10
The chances of lightning striking a person is very slim but if you wish for protection use any type of armor with fire protection or protection. Lightning also isn't as strong as people think, it usually only takes away two and a half hearts and lights you on fire. To prevent it from hitting the environment would take even more effort judging by the fact that it is about 60 mil blocks wide (1 minecraft world is about 60 mil blocks wide(-30mil - +30mil) Lightning creates fire where it strikes. The accompanying rain can usually put out fires before they spread. Overhangs can prevent rain from putting out lightning fires, allowing the fire to spread. The only time thunder will strike without rain is in a desert since it can't rain in the desert.
Yes, and no. If you are underneath a block, then the lightning will hit the block instead of you. If there is open sky above you, then you cannot prevent lightning from hitting you. This (and spiders) are the reason a ceiling is essential in a house.
Keep in mind that lightning will create fire where it strikes. You can lessen the damage the fire gives you with the Fire Protection enchantment on armor, or you can negate it completely with a Potion of Fire Resistance.
This fire will burn down any wooden buildings you have (If it strikes the building/nearby the building). To counter this, you can build a house made of material other than wood or build an underground house. Some players build a second layer on their roof made of stone, so that lightning strikes from above will not be effective. However, lightning strikes that come from the side of the building will still burn down the house.
When lightning strikes a block, it may destroy that block (depending on the block resistance). To prevent this, you can build a second layer on your roff (the same method mentioned above). This will give your house extra protection against lightning strikes.
Lightning strikes are actually pretty rare, so all this would be extra protection, if you ask me.
1This fire will burn down any wooden buildings you have - Actually, since lightning can only strike when it rains, and the rain will then put out the fire. Although it may be possible in rare and select cases, in all my years of playing, I have never had any building suffer burn damages by lightning strikes. Jul 25, 2013 at 18:54
When lightning strikes a block, it may destroy that block - This is incorrect, lightning will only cause fire. Even the "weakest" of blocks (I can confirm this both with netherack and leaves, both with low blast resistance) will not be destroyed by lightning. Jul 25, 2013 at 18:57
Other than those two points, the rest of your information is accurate. Jul 25, 2013 at 18:59
@IQAndreas I don't think so. I've never seen rain put out fire, and see lightning striking dirt and destroying it. Jul 25, 2013 at 19:37
Hm, I'll have to poke around a bit in the code and get back to you, they may have changed things since I last looked at the code, or I misread it the first time. Jul 30, 2013 at 10:51
Lightning cannot strike underneath blocks, so a ceiling is the only real way to protect yourself. However, fire protection armour can help reduce the damage from the fire that the lightning starts.