Laser Beams
Laser Beams by BlueCommander17392314    2
NOTE:I make my commands for 1.10,1.11 and 1.12 so if you don't want the 1.12 command that I have added on here then check the video description and you can get those versions of the command. Anyway Today I created Laser Beams in One Command! Watch the video for details but this command was very complex and I am very close to saying is Bug Proof after the amount of work I have done to optimizing it. See you all next time! ~Blue :)
Minecraft 1.12
29626 characters
More by BlueCommander
How to install
Comments
Show source commands
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~-3 ~-2 ~15 ~2 ~2 emerald_block 0 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-2 ~15 ~1 ~2 stained_glass 0 0 emerald_block"},{id:commandblock_minecart,Command:" /scoreboard objectives add LaserTime dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add LBeamMode dummy"},{id:commandblock_minecart,Command:" /scoreboard objectives add LaserCraft dummy"},{id:commandblock_minecart,Command:"setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"[Destroy]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-2 ~14 ~3 ~2 air\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~ ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"[Act / Deact]\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=armor_stand,name=TogAct,c=1] _A 1\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score__A_min=1,score__A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"},\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score__A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"}}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score__A_min=2] _A\\\"}}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~1 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"Laser Beams\\\",\\\"color\\\":\\\"light_purple\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @p arrow\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"By\\\",\\\"color\\\":\\\"white\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/give @p emerald\\\"},\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Blue\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Commander\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}\"}"},{id:commandblock_minecart,Command:"summon armor_stand ~3 ~-2 ~-1 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:commandblock_minecart,Command:"scoreboard objectives add _A dummy"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~-1 ~14 ~1 ~1 chain_command_block 5"},{id:commandblock_minecart,Command:"fill ~14 ~1 ~1 ~13 ~1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~14 ~ ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~ ~ chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~14 ~ ~ ~4 ~ ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~14 ~ ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~-1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~14 ~-1 ~-1 ~4 ~-1 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~14 ~-1 ~ chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~7 ~-1 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"setblock ~8 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~-1 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"setblock ~10 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~11 ~-1 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"setblock ~12 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~13 ~-1 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"setblock ~14 ~-1 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~14 ~-2 ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~14 ~-2 ~ ~4 ~-2 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~14 ~-2 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~-1 repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~13 ~1 ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=ModeClear] ~ ~ ~ /particle flame ~ ~ ~ 0 0 0 0.01 1 force\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~1 ~1 {auto:1,Command:\"/scoreboard players set @e[score_LBeamMode_min=6,score_LBeamMode=6] LBeamMode 3\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~ ~1 {auto:1,Command:\"/scoreboard players set @e[score_LBeamMode_min=5,score_LBeamMode=5] LBeamMode 2\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~ ~1 {auto:1,Command:\"/scoreboard players set @e[score_LBeamMode_min=4,score_LBeamMode=4] LBeamMode 1\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~ ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=ModeDetect] ~ ~ ~ /particle endRod ~ ~ ~ 0 0 0 0.01 1 force\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~ ~1 {auto:1,Command:\"/kill @e[tag=SummonLaser]\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~ ~1 {auto:1,Command:\"/tp @e[tag=SummonLaser] ~ ~-999 ~\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~ ~1 {auto:1,Command:\"/execute @e[tag=LaserMissing] ~ ~ ~ /summon item ~ ~ ~ {CustomName:\\\"Place This On A Dispenser!\\\",CustomNameVisible:1b,Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"Spawn Laser Beam\\\",Lore:[\\\"Place On Top Of Dispenser\\\"]},EntityTag:{id:\\\"minecraft:endermite\\\",Silent:1b,NoAI:1b,Tags:[\\\"SummonLaser\\\",\\\"LaserMissing\\\"],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:20000000,ShowParticles:0b}]}}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~ ~1 {auto:1,Command:\"/execute @e[tag=SummonLaser] ~ ~ ~ /execute @e[tag=LBeam,c=1,r=1] ~ ~ ~ scoreboard players tag @e[tag=SummonLaser,c=1,r=1] remove LaserMissing\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~1 {auto:1,Command:\"/execute @e[tag=SummonLaser] ~ ~ ~ detect ~ ~-0.5 ~ dispenser -1 scoreboard players set @e[tag=LBeam,c=1,r=3] LBeamMode 1\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~1 {auto:1,Command:\"/execute @e[tag=SummonLaser] ~ ~ ~ detect ~ ~-0.5 ~ dispenser -1 /summon armor_stand ~ ~-0.5 ~ {Tags:[\\\"LBeam\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~1 {auto:1,Command:\"/execute @e[score_LaserCraft_min=1,score_LaserCraft=1] ~ ~ ~ execute @e[r=1,score_LaserCraft_min=2,score_LaserCraft=2] ~ ~ ~ kill @e[score_LaserCraft_min=1,score_LaserCraft=2,r=5,c=2]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~1 {auto:1,Command:\"/execute @e[score_LaserCraft_min=1,score_LaserCraft=1] ~ ~ ~ execute @e[r=1,score_LaserCraft_min=2,score_LaserCraft=2] ~ ~ ~ /summon item ~ ~ ~ {CustomNameVisible:0b,Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"Spawn Laser Beam\\\",Lore:[\\\"Place On Top Of Dispenser\\\"]},EntityTag:{id:\\\"minecraft:endermite\\\",Silent:1b,NoAI:1b,Tags:[\\\"SummonLaser\\\",\\\"LaserMissing\\\"],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:20000000,ShowParticles:0b}]}}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~1 {auto:1,Command:\"/scoreboard players set @e[type=item] LaserCraft 2 {Item:{id:\\\"minecraft:arrow\\\"}} \"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~ {auto:1,Command:\"/scoreboard players set @e[type=item] LaserCraft 1 {Item:{id:\\\"minecraft:emerald\\\"}}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~ {auto:1,Command:\"/execute @e[tag=ContLava] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /kill @a[r=1,tag=ContLava2]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~ {auto:1,Command:\"/execute @e[tag=ContFireC] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /kill @a[r=1,tag=ContFireC2]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~ {auto:1,Command:\"/execute @e[tag=ContFNS] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /kill @a[r=1,tag=ContFNS2]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~ {auto:1,Command:\"/execute @e[tag=ContTntM] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /kill @a[r=1,tag=ContTntM2]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~ ~ {auto:1,Command:\"/execute @e[tag=ContTnt] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /kill @a[r=1,tag=ContTnt2]\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~ ~ {auto:1,Command:\"/execute @e[tag=ContLava] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /playsound minecraft:entity.wither.death master @a[r=1,tag=ContLava2]\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~ ~ {auto:1,Command:\"/execute @e[tag=ContFireC] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /playsound minecraft:entity.wither.death master @a[r=1,tag=ContFireC2]\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~ ~ {auto:1,Command:\"/execute @e[tag=ContFNS] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /playsound minecraft:entity.wither.death master @a[r=1,tag=ContFNS2]\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~ ~ {auto:1,Command:\"/execute @e[tag=ContTntM] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /playsound minecraft:entity.wither.death master @a[r=1,tag=ContTntM2]\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~ ~ {auto:1,Command:\"/execute @e[tag=ContTnt] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeKill] ~ ~-1 ~ /playsound minecraft:entity.wither.death master @a[r=1,tag=ContTnt2]\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~ ~ {auto:1,Command:\"/execute @e[tag=ContLava] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /clear @a[r=1,tag=ContLava2] lava_bucket\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContFireC] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /clear @a[r=1,tag=ContFireC2] fire_charge\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContFNS] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /clear @a[r=1,tag=ContFNS2] flint_and_steel\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContTntM] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /clear @a[r=1,tag=ContTntM2] tnt_minecart\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContTnt] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /clear @a[r=1,tag=ContTnt2] tnt\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContLava] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /playsound minecraft:entity.player.burp master @a[r=1,tag=ContLava2]\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContFireC] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /playsound minecraft:entity.player.burp master @a[r=1,tag=ContFireC2]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContFNS] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /playsound minecraft:entity.player.burp master @a[r=1,tag=ContFNS2]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContTntM] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /playsound minecraft:entity.player.burp master @a[r=1,tag=ContTntM2]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~ ~-1 {auto:1,Command:\"/execute @e[tag=ContTnt] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeClear] ~ ~-1 ~ /playsound minecraft:entity.player.burp master @a[r=1,tag=ContTnt2]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~ ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ /blockdata ~ ~ ~ {CustomName:\\\"Kill Mode (Ingots to change)\\\"}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~ ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ /blockdata ~ ~ ~ {CustomName:\\\"Clear Mode (Ingots to change)\\\"}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~ ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ /blockdata ~ ~ ~ {CustomName:\\\"Detect Mode (Ingots to change)\\\"}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~-1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=ModeKill] ~ ~ ~ /particle dragonbreath ~ ~ ~ 0 0 0 0.01 1 force\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=5,score_LBeamMode=5] ~ ~ ~ /kill @e[type=item,tag=GoldIngot,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=6,score_LBeamMode=6] ~ ~ ~ /kill @e[type=item,tag=NetherBrick,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=2] ~ ~ ~ /execute @e[tag=NetherBrick,r=1] ~ ~ ~ /scoreboard players set @e[tag=LBeam,c=1] LBeamMode 6\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ /execute @e[tag=GoldIngot,r=1] ~ ~ ~ /scoreboard players set @e[tag=LBeam,c=1] LBeamMode 5\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ /execute @e[tag=GoldIngot,r=1] ~ ~ ~ /scoreboard players set @e[tag=LBeam,c=1] LBeamMode 5\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=4,score_LBeamMode=4] ~ ~ ~ /kill @e[type=item,tag=IronIngot,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=3] ~ ~ ~ /execute @e[tag=IronIngot,r=1] ~ ~ ~ /scoreboard players set @e[tag=LBeam,c=1] LBeamMode 4\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-1 ~-1 {auto:1,Command:\"/scoreboard players tag @e[type=item] add NetherBrick {Item:{id:\\\"minecraft:netherbrick\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-1 ~-1 {auto:1,Command:\"/scoreboard players tag @e[type=item] add GoldIngot {Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-1 ~-1 {auto:1,Command:\"/scoreboard players tag @e[type=item] add IronIngot {Item:{id:\\\"minecraft:iron_ingot\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-1 ~-1 {auto:1,Command:\"/execute @e[tag=ContLava] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeDetect] ~ ~-1 ~ /playsound minecraft:block.note.basedrum master @a[r=1,tag=ContLava2]\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-1 ~ {auto:1,Command:\"/execute @e[tag=ContFireC] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeDetect] ~ ~-1 ~ /playsound minecraft:block.note.harp master @a[r=1,tag=ContFireC2]\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-1 ~ {auto:1,Command:\"/execute @e[tag=ContFNS] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeDetect] ~ ~-1 ~ /playsound minecraft:block.note.hat master @a[r=1,tag=ContFNS2]\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-1 ~ {auto:1,Command:\"/execute @e[tag=ContTntM] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeDetect] ~ ~-1 ~ /playsound minecraft:block.note.snare master @a[r=1,tag=ContTntM2]\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-1 ~ {auto:1,Command:\"/execute @e[tag=ContTnt] ~ ~ ~ /execute @e[name=MovingBeam,r=10,tag=ModeDetect] ~ ~-1 ~ /playsound minecraft:block.note.pling master @a[r=1,tag=ContTnt2]\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @a add ContLava2 {Inventory:[{id:\\\"minecraft:lava_bucket\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @a add ContFireC2 {Inventory:[{id:\\\"minecraft:fire_charge\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @a add ContFNS2 {Inventory:[{id:\\\"minecraft:flint_and_steel\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @a add ContTntM2 {Inventory:[{id:\\\"minecraft:tnt_minecart\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @a add ContTnt2 {Inventory:[{id:\\\"minecraft:tnt\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @e[tag=ContLava2] remove ContLava2\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @e[tag=ContFireC2] remove ContFireC2\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~ {auto:1,Command:\"/scoreboard players tag @e[tag=ContFNS2] remove ContFNS2\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-1 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=ContTntM2] remove ContTntM2\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-1 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=ContTnt2] remove ContTnt2\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-1 ~1 {auto:1,Command:\" /execute @a ~ ~ ~ /scoreboard players tag @e[tag=LBeam,r=10,c=1] add ContLava\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-1 ~1 {auto:1,Command:\"/execute @a ~ ~ ~ /execute @e[type=armor_stand,tag=LBeam,r=10,c=1] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser -1 {Items:[{id:\\\"minecraft:lava_bucket\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-1 ~1 {auto:1,Command:\" /execute @a ~ ~ ~ /scoreboard players tag @e[tag=LBeam,r=10,c=1] add ContFireC\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-1 ~1 {auto:1,Command:\"/execute @a ~ ~ ~ /execute @e[type=armor_stand,tag=LBeam,r=10,c=1] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser -1 {Items:[{id:\\\"minecraft:fire_charge\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-1 ~1 {auto:1,Command:\" /execute @a ~ ~ ~ /scoreboard players tag @e[tag=LBeam,r=10,c=1] add ContFNS\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-1 ~1 {auto:1,Command:\"/execute @a ~ ~ ~ /execute @e[type=armor_stand,tag=LBeam,r=10,c=1] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser -1 {Items:[{id:\\\"minecraft:flint_and_steel\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-1 ~1 {auto:1,Command:\" /execute @a ~ ~ ~ /scoreboard players tag @e[tag=LBeam,r=10,c=1] add ContTntM\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-1 ~1 {auto:1,Command:\"/execute @a ~ ~ ~ /execute @e[type=armor_stand,tag=LBeam,r=10,c=1] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser -1 {Items:[{id:\\\"minecraft:tnt_minecart\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-1 ~1 {auto:1,Command:\" /execute @a ~ ~ ~ /scoreboard players tag @e[tag=LBeam,r=10,c=1] add ContTnt\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-1 ~1 {auto:1,Command:\"/execute @a ~ ~ ~ /execute @e[type=armor_stand,tag=LBeam,r=10,c=1] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dispenser -1 {Items:[{id:\\\"minecraft:tnt\\\"}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=LBeam] remove ContLava\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=LBeam] remove ContFireC\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=LBeam] remove ContFNS\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=LBeam] remove ContTntM\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-2 ~1 {auto:1,Command:\"/scoreboard players tag @e[tag=LBeam] remove ContTnt\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-2 ~1 {auto:1,Command:\"/kill @e[score_LaserTime_min=19,type=armor_stand]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-2 ~1 {auto:1,Command:\"/scoreboard players add @e[name=MovingBeam] LaserTime 1\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~1 {auto:1,Command:\"/kill @e[tag=RBeam,type=armor_stand]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct5] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~0.5 ~ ~\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct4] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~-0.5 ~ ~\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct3] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~ ~ ~0.5\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~1 {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct2] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~ ~ ~-0.5\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~ {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct0] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~ ~-0.5 ~\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~ {auto:1,Command:\"/execute @e[name=MovingBeam,tag=Direct1] ~ ~ ~ detect ~ ~ ~ air -1 tp @e[c=1] ~ ~0.5 ~\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~ {auto:1,Command:\"/execute @e[name=MovingBeam] ~ ~ ~ detect ~ ~ ~ air -1 /scoreboard players tag @e[name=MovingBeam,c=1] remove RBeam\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~ {auto:1,Command:\"/scoreboard players tag @e[name=MovingBeam] add RBeam\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam] ~ ~ ~ detect ~ ~ ~ air -1 kill @e[tag=LBeam,c=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam] ~ ~ ~ detect ~ ~ ~ air -1 /summon item ~ ~ ~ {CustomNameVisible:0b,Item:{id:\\\"minecraft:spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"Spawn Laser Beam\\\",Lore:[\\\"Place On Top Of Dispenser\\\"]},EntityTag:{id:\\\"minecraft:endermite\\\",Silent:1b,NoAI:1b,Tags:[\\\"SummonLaser\\\",\\\"LaserMissing\\\"],ActiveEffects:[{Id:14b,Amplifier:1b,Duration:20000000,ShowParticles:0b}]}}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 5 summon armor_stand ~0.5 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct5\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 4 summon armor_stand ~-0.6 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct4\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 3 summon armor_stand ~ ~ ~0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct3\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 2 summon armor_stand ~ ~ ~-0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct2\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 0 summon armor_stand ~ ~-0.6 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct0\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-2 ~ {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=3,score_LBeamMode=3] ~ ~ ~ detect ~ ~ ~ dispenser 1 summon armor_stand ~ ~0.5 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct1\\\",\\\"ModeKill\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 5 summon armor_stand ~0.5 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct5\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 4 summon armor_stand ~-0.6 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct4\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 3 summon armor_stand ~ ~ ~0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct3\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 2 summon armor_stand ~ ~ ~-0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct2\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 0 summon armor_stand ~ ~-0.6 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct0\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=2,score_LBeamMode=2] ~ ~ ~ detect ~ ~ ~ dispenser 1 summon armor_stand ~ ~0.5 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct1\\\",\\\"ModeClear\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 5 summon armor_stand ~0.5 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct5\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 4 summon armor_stand ~-0.6 ~ ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct4\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 3 summon armor_stand ~ ~ ~0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct3\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 2 summon armor_stand ~ ~ ~-0.6 {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct2\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 0 summon armor_stand ~ ~-0.6 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct0\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~-1 {auto:1,Command:\"/execute @e[tag=LBeam,score_LBeamMode_min=1,score_LBeamMode=1] ~ ~ ~ detect ~ ~ ~ dispenser 1 summon armor_stand ~ ~0.5 ~ {CustomName:\\\"MovingBeam\\\",Tags:[\\\"Direct1\\\",\\\"ModeDetect\\\"],NoGravity:1b,Small:1,Marker:1b,Invisible:1,Invulnerable:1,DisabledSlots:31}\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}