Forum: gaming.stackexchange.com
Tags: <minecraft-java-edition>
Title: How to lightning-proof a structure?
Question: What's the best way to  lightning proof  a structure? I've seen some people attempt to place a 'ceiling' of glass at the top-most level of the map, but I don't know if this works or not (and it's a tad unattractive)... I'm a bit worried for my tree-house:

Answers:
sents: text: Keep regular backups until Notch provides a form of protection against this or a way to disable thunderstorms.
text: If you see a thunderstorm get far enough away that the chunks containing your treehouse are unloaded.
text: EDIT :
text: As of Minecraft 1.6, fire is severely nerfed and will not burn through your buildings like before.
text: Consequently, lightning is also nerfed, and may not be worth worrying about, unless you structure is made of difficult to replace flammable materials, such as certain colours of cloth and leaves.
text: EDIT 2
text: : Leaves are now replaceable due to the ability to cut them with shears in Minecraft 1.7.
text: As a result, even treehouses no longer need to fear lightening.
answer_details: author: gaming.stackexchange.com/users/109/Macha
score: 25
sents: text: Just sleep through the thunderstorm.
text: Use a bed when one appears.
answer_details: author: gaming.stackexchange.com/users/4393/Resorath
score: 15
sents: text: The latest Bukkit Recommended Build (#733) has rain putting out fires like it should.
text: And since lightning only occurs during rain, you shouldn't have any issues.
text: If you are on an SMP server, suggest they update to the latest Bukkit as soon as possible if they have not already.
text: I'm still confused on if the Vanilla (Default Mojang)
text: Minecraft server has this issue or not.
answer_details: author: gaming.stackexchange.com/users/7511/EdGruberman
score: 3
sents: text: I know it isn't such a problem anymore, but if you want to get rid of visible weather effects, there are two solutions that involve commands.
text: You could consider the /fill command with Barriers.
text: If you don'talready know what Barriers are, they are the equivalent of invisiblebedrock, obtainable only with the /give command.
text: The commandformat for using /fill reads as follows.
text: (X means the X coord, Ymeans the Y coord, etc.)
text: /fill
text: (X) (Y)
text: (Z)
text: (X2)
text: (Y2)
text: (Z2)
text: minecraft:
text: barrier Do this above where the player(s) will walk, and problem solved!
text: You could have a command block that is programmed with /Weatherclear and have a button so every time it stormed, sunny skies wouldbe back at the push of a button.
text: The only question is, are you in Multiplayer?
text: No cheats?
text: If so, this is out of my league.
answer_details: author: gaming.stackexchange.com/users/118326/Rainbow Dash
score: 1
sents: text: Do /gamerule
text: dofirespread false This stops blocks from burning
answer_details: author: gaming.stackexchange.com/users/238678/user238678
score: 1
sents: text: I found a different solution to this pretty old question that some people might be interested in: Create a sprinkler system.
text: The idea is as follows:
text: Put a source block of water at various places inside the walls/ceilings, locked up by blocks that can burn.
text: When the wall or ceiling burns down, the blocks holding your water in place will be removed by the fire and the water will escape, dowsing the fire and preventing it from spreading any further.
text: Side effect is that this also removes certain items such as torches, but those can easily be replaced.
text: It's pretty effective at saving most of your building from fire if something happens, be it lightning at the very end of a thunderstorm, lightning during snow or just a user error such as a fireplace being too close.
text: It is not fast enough to prevent the spread of fire towards the ceiling though.
text: Put your sprinklers high up to dowse it quickly there.
text: I haven't gone any further, but in theory you could also unleash the water using redstone when certain blocks disappear.
text: This way you could make the system more sensitive and dowse the fire earlier.
text: In practice this is a bit infeasible to implement because it needs a lot more space and planning.
answer_details: author: gaming.stackexchange.com/users/217301/Ghostkeeper
score: 0

Summary of the answers:
You could have a command block so everytime there's a storm it would clear the weather. You could also get far away every time there's a storm so the chunks containing your treehouse are unloaded.
Regular backups are important or a Bukkit update if on an SMP server. Commands with Barriers is also a viable option.