Defusable Bombs
Defusable Bombs by ChaoticRedstone1494917    2
Install my plantable bombs in one command first! This command makes my previous one command bombs defusable!
Minecraft 1.9+
3846 characters
More by ChaoticRedstone
How to install
Comments
Show source commands
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-1 ~8 ~-1 ~2 stained_hardened_clay 15 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-1 ~8 ~-2 ~2 stained_glass 6 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Defusable Bombs By ChaoticRedstone\",\"color\":\"dark_red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Compressed into one command\",\"color\":\"dark_red\"}]"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Make sure you install my plantable bombs in one command as well! [REQUIRED]\",\"color\":\"gold\"}]"},{id:MinecartCommandBlock,Command:/scoreboard objectives add defuse dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add dtimer dummy},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~7 ~1 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~ ~7 ~-2 ~1 chain_command_block 5},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~1 ~5 ~-2 ~1 chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 3},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:/scoreboard players set @a defuse 0}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:/scoreboard players set @a[score_dtimer_min=100] dtimer 0}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:/execute @a[score_defuse_min=1,score_dtimer_min=100] ~ ~ ~ /kill @e[type=ArmorStand,name=light]}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/execute @a[score_defuse_min=1,score_dtimer_min=100] ~ ~ ~ /scoreboard players remove @e[type=ArmorStand,name=bomb] btimer 1000}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:"/execute @a[score_defuse_min=1,score_dtimer_min=100] ~ ~ ~ /execute @e[type=ArmorStand,name=bomb] ~ ~ ~ /summon ArmorStand ~ ~1.61 ~ {CustomName:\\\"defused\\\",NoGravity:1b,ShowArms:1,Small:1,Invisible:1,Invulnerable:1,NoBasePlate:1,HandItems:[{id:skull,Damage:3,Count:1,tag:{SkullOwner:{Id:\\\"eb2e049e-5563-4df7-be8a-1c89123a79a1\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWU0ODYxNWRmNmI3ZGRmM2FkNDk1MDQxODc2ZDkxNjliZGM5ODNhM2ZhNjlhMmFjYTEwN2U4ZjI1MWY3Njg3In19fQ==\\\"}]}}}},{}],DisabledSlots:2039583}"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:"/execute @a[score_defuse_min=1,score_dtimer_min=100] ~ ~ ~ /tellraw @p [\\\"\\\",{\\\"text\\\":\\\"Bomb Has Been Defused\\\",\\\"color\\\":\\\"green\\\"}]"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/execute @e[type=ArmorStand,name=bomb] ~ ~ ~ /execute @a[r=2,score_defuse_min=1,rx=90,rxm=90] ~ ~ ~ /scoreboard players add @a dtimer 1}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:"/scoreboard players set @p defuse 1 {SelectedItem:{id:minecraft:shears,tag:{display:{Name:\\\"Defuse Kit\\\"}}}}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}