Name a carrot on a stick 'LightningStaff' to get the lightning staff... Right click holding the lightning staff to cast lightning all around you! And gave a thanks to the peeps who made the MCEdit filter... Have a great striking!
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
# This user did not upload the source commands!
/summon Item ~ ~4 ~ {Age:5996,Motion:[0.0,0.0,-0.1],Passengers:[{id:FallingSand,Time:1,Data:0,TileID:152,Passengers:[{id:FallingSand,Time:1,Data:0,TileID:157,Passengers:[{id:MinecartCommandBlock,Command:buffer,Passengers:[{id:MinecartCommandBlock,Command:"fill ~9 ~-1 ~-8 ~9 ~1 ~-3 stained_glass 3",Passengers:[{id:MinecartCommandBlock,Command:"fill ~8 ~-1 ~-6 ~8 ~-1 ~-5 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~7 ~0 ~-6 ~8 ~1 ~-6 air",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-3 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~6 ~-1 ~-8 ~8 ~-1 ~-7 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~5 ~0 ~-5 ~8 ~0 ~-5 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~5 ~0 ~-8 ~8 ~1 ~-8 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~5 ~-1 ~-4 ~8 ~0 ~-4 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~4 ~-1 ~-3 ~5 ~-1 ~-3 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~4 ~-1 ~-5 ~4 ~0 ~-4 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~1 ~-5 ~8 ~1 ~-4 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~0 ~-3 ~8 ~1 ~-3 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~0 ~-7 ~8 ~1 ~-7 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~-1 ~-2 ~9 ~1 ~-2 stained_glass 3",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~-1 ~-6 ~6 ~1 ~-6 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~3 ~-1 ~-8 ~4 ~1 ~-8 air",Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~2 ~-9 ~9 ~2 ~-2 stained_hardened_clay 11",Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~-1 ~-8 ~2 ~1 ~-2 stained_glass 3",Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~-1 ~-9 ~9 ~1 ~-9 stained_glass 3",Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-9 ~9 ~-2 ~-2 stained_hardened_clay 11",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~0 ~-4 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/execute @a[score_FishingCarrot_min=1,score_LightningStaff_min=1] ~ ~ ~ /summon LightningBolt ~ ~ ~8,id:Control,x:1,y:2,z:5}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~0 ~-5 chain_command_block 0 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/execute @a[score_FishingCarrot_min=1,score_LightningStaff_min=1] ~ ~ ~ /summon LightningBolt ~ ~ ~-8,id:Control,x:1,y:2,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~8 ~-1 ~-3 command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/scoreboard objectives add FishingCarrot stat.useItem.minecraft.carrot_on_a_stick,id:Control,x:6,y:1,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-5 hopper 2 replace {TransferCooldown:5,Items:[{Slot:0b,id:minecraft:stained_hardened_clay,Count:1b,Damage:11s}],id:Hopper,Lock:,x:5,y:1,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-6 hopper 3 replace {TransferCooldown:5,Items:[],id:Hopper,Lock:,x:5,y:1,z:3}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~6 ~-1 ~-3 command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/scoreboard objectives add LightningStaff dummy,id:Control,x:4,y:1,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~5 ~-1 ~-5 command_block 5 replace {conditionMet:1b,auto:0b,CustomName:@,powered:1b,Command:/scoreboard players set @a FishingCarrot 0,id:Control,x:3,y:1,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~5 ~-1 ~-7 hopper 2 replace {TransferCooldown:2,Items:[],id:Hopper,Lock:,x:3,y:1,z:2}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~5 ~-1 ~-8 hopper 3 replace {TransferCooldown:1,Items:[{Slot:0b,id:minecraft:stained_hardened_clay,Count:1b,Damage:11s}],id:Hopper,Lock:,x:3,y:1,z:1}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~-1 ~-3 repeating_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/execute @a[score_FishingCarrot_min=1,score_LightningStaff_min=1] ~ ~ ~ /summon LightningBolt ~8 ~ ~,id:Control,x:1,y:1,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~-1 ~-4 chain_command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:/execute @a[score_FishingCarrot_min=1,score_LightningStaff_min=1] ~ ~ ~ /summon LightningBolt ~-8 ~ ~,id:Control,x:1,y:1,z:5}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~-1 ~-5 chain_command_block 5 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:\"/scoreboard players set @a LightningStaff 1 {Inventory:[{tag:{display:{Name:\\\"LightningStaff\\\"}}}]}\",id:Control,x:1,y:1,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~3 ~-1 ~-7 command_block 5 replace {conditionMet:1b,auto:0b,CustomName:@,powered:0b,Command:/scoreboard players set @a LightningStaff 0,id:Control,x:1,y:1,z:2}",Passengers:[{id:MinecartCommandBlock,Command:buffer,Passengers:[{id:MinecartCommandBlock,Command:buffer,Passengers:[{id:MinecartCommandBlock,Command:"setblock ~6 ~-1 ~-5 unpowered_comparator 11 replace {id:Comparator,OutputSignal:1,x:4,y:1,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~4 ~-1 ~-7 unpowered_comparator 3 replace {id:Comparator,OutputSignal:0,x:2,y:1,z:2}",Passengers:[{id:MinecartCommandBlock,Command:tellraw @a [{"text":"The Command, Lightning Staffs in Minecraft has been Installed... Also, Thanks to gentlegiantJGC and xafonyz for making the MCedit filter that made this one-click command!","color":"gold"},{"text":"\nwww.youtube.com/gentlegiantJGC\nwww.youtube.com/xafonyzen","color":"white"}],Passengers:[{id:MinecartCommandBlock,Command:/kill @e[type=Item,r=4],Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~ ~ air,Passengers:[{id:FallingSand,Time:1,Data:0,TileID:1,Passengers:[{id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:kill @e[type=MinecartCommandBlock,r=4]},Passengers:[{id:FallingSand,Time:1,Data:0,TileID:152,Passengers:[{id:FallingSand,Time:1,Data:0,TileID:1,Passengers:[{id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:fill ~ ~1 ~-1 ~ ~-5 ~ air},Passengers:[{id:"FallingSand",Time:1,Data:0,TileID:152}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}