Check The Video Bruh!!!!!!!!!!!!!!!!!!!!!
VIDEO
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 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,Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~8 ~2 ~2 stained_hardened_clay 14 hollow",Passengers:[{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~8 ~1 ~2 stained_glass 14 replace stained_hardened_clay",Passengers:[{id:MinecartCommandBlock,Command:"scoreboard objectives add cccc_I dummy",Passengers:[{id:MinecartCommandBlock,Command:"/scoreboard objectives add diamondobj dummy",Passengers:[{id:MinecartCommandBlock,Command:"/scoreboard objectives add isDispenserItem dummy",Passengers:[{id:MinecartCommandBlock,Command:"/scoreboard objectives add detectCraft dummy",Passengers:[{id:MinecartCommandBlock,Command:"scoreboard objectives add light_I dummy",Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~1 chain_command_block 2 replace {auto:1,Command:"scoreboard players set @a DarthVader 0"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"effect @a[score_DarthVader_min=4] resistance 1 1 true"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @a[score_DarthVader_min=4] ~ ~ ~ execute @e[type=Snowball] ~ ~ ~ effect @e[type=!Player,r=3] levitation 10 1 true"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"execute @a[score_DarthVader_min=4] ~ ~ ~ execute @e[type=Snowball,r=10] ~ ~ ~ effect @e[type=!Player,r=3] wither 10 10 true"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"/replaceitem entity @p[score_DarthVader_min=4,score_DarthVader=4] slot.hotbar.1 minecraft:snowball 1 0 {display:{Name:\\\"Use Dark Power\\\"}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~ ~1 chain_command_block 1 replace {auto:1,Command:"effect @a[score_DarthVader_min=4] jump_boost 2 2 true"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @p DarthVader 1 {Inventory:[{Slot:100b,tag:{display:{Name:Darth_Vader_Boots}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @p DarthVader 1 {Inventory:[{Slot:101b,tag:{display:{Name:Darth_Vader_Leggings}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @p DarthVader 1 {Inventory:[{Slot:102b,tag:{display:{Name:Darth_Vader_Chestplate}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @p DarthVader 1 {Inventory:[{Slot:103b,tag:{display:{Name:Darth_Vaders_Helmet}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3 replace {auto:1,Command:"scoreboard objectives add DarthVader dummy "},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:leather_boots,Count:1,tag:{HideFlags:3,AttributeModifiers:[{AttributeName:\\\"generic.armor\\\",Name:\\\"generic.armor\\\",Amount:6,Operation:0,UUIDLeast:576880,UUIDMost:526421}],ench:[{id:34,lvl:10}],display:{Name:\\\"Darth_Vader_Boots\\\",color:0}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:0b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:1b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:2b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:3b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:diamond_boots\\\",Count:1b,Damage:0s,},{Slot:5b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:6b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:8b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:leather_leggings,Count:1,tag:{HideFlags:3,AttributeModifiers:[{AttributeName:\\\"generic.armor\\\",Name:\\\"generic.armor\\\",Amount:6,Operation:0,UUIDLeast:576880,UUIDMost:526421}],ench:[{id:34,lvl:10}],display:{Name:\\\"Darth_Vader_Leggings\\\",color:0}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:0b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:1b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:2b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:3b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:diamond_leggings\\\",Count:1b,Damage:0s,},{Slot:5b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:6b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:8b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~ ~-1 chain_command_block 3 replace {auto:1,Command:"execute @e[score_light_I_min=3,score_light_I=3] ~ ~ ~ execute @e[r=1,score_light_I_min=4,score_light_I=4] ~ ~ ~ kill @e[type=Item,r=3,score_light_I_min=3,score_light_I=4]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[score_light_I_min=3,score_light_I=3] ~ ~ ~ execute @e[r=1,score_light_I_min=4,score_light_I=4] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:stick\\\",Count:1,tag:{display:{Name:\\\"SaberUperPart\\\"}}}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] light_I 4 {Item:{id:\\\"minecraft:iron_ingot\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] light_I 3 {Item:{id:\\\"minecraft:redstone\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[score_light_I_min=1,score_light_I=1] ~ ~ ~ execute @e[r=1,score_light_I_min=2,score_light_I=2] ~ ~ ~ kill @e[type=Item,r=3,score_light_I_min=1,score_light_I=2]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 replace {auto:1,Command:"execute @e[score_light_I_min=1,score_light_I=1] ~ ~ ~ execute @e[r=1,score_light_I_min=2,score_light_I=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:stick\\\",Count:1,tag:{display:{Name:\\\"SaberBottomPart\\\"}}}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"scoreboard players set @e[type=Item] light_I 2 {Item:{id:\\\"minecraft:iron_ingot\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"scoreboard players set @e[type=Item] light_I 1 {Item:{id:\\\"minecraft:diamond\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:leather_chestplate,Count:1,tag:{HideFlags:3,AttributeModifiers:[{AttributeName:\\\"generic.armor\\\",Name:\\\"generic.armor\\\",Amount:6,Operation:0,UUIDLeast:576880,UUIDMost:526421}],ench:[{id:34,lvl:10}],display:{Name:\\\"Darth_Vader_Chestplate\\\",color:0}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:0b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:1b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:2b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:3b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:diamond_chestplate\\\",Count:1b,Damage:0s,},{Slot:5b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:6b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:8b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:skull,Damage:3,Count:1,tag:{HideFlags:2,AttributeModifiers:[{AttributeName:\\\"generic.armor\\\",Name:\\\"generic.armor\\\",Amount:6,Operation:0,UUIDLeast:933129,UUIDMost:771889}],display:{Name:\\\"Darth_Vaders_Helmet\\\"},SkullOwner:{Id:\\\"b9da1d05-0354-459b-9c57-037fe2646b8d\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmY5OGNlMWY1MjU4ZjMzM2ZkYzJjYjQ0YWNlOWM5OThiNzYzMmE2YzgxZGM5OTZhMTY4MTg0YmQ3NzRkNzhmZSJ9fX0=\\\"}]}}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:0b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:1b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:2b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:3b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:diamond_helmet\\\",Count:1b,Damage:0s,},{Slot:5b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:6b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},{Slot:8b,id:\\\"minecraft:coal\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:blaze_rod,Count:1,tag:{HideFlags:1,AttributeModifiers:[{AttributeName:\\\"generic.attackDamage\\\",Name:\\\"generic.attackDamage\\\",Amount:10,Operation:0,UUIDLeast:841707,UUIDMost:46323}],display:{Name:\\\"Single Lightsaber\\\",Lore:[Red]},ench:[{id:16,lvl:10},{id:20,lvl:5}]}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:1b,id:\\\"minecraft:stick\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:redstone\\\",Count:1b,Damage:0s,},{Slot:5b,id:\\\"minecraft:stone_button\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:stick\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:stick,Count:1,tag:{display:{Name:\\\"Saber Lower Uper\\\"}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:1b,id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:redstone\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting,score_detectCraft_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:4,id:stick,Count:1,tag:{display:{Name:\\\"Saber Lower Part\\\"}}}]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ /testforblock ~ ~ ~ dispenser 0 {Items:[{Slot:1b,id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,},{Slot:4b,id:\\\"minecraft:diamond\\\",Count:1b,Damage:0s,},{Slot:7b,id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,},]}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/stats entity @e[type=ArmorStand,name=APCCrafting] set SuccessCount @e[type=ArmorStand,name=APCCrafting,c=1,r=1] detectCraft"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=APCCrafting] detectCraft 0"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /kill @e[type=ArmorStand,name=APCCrafting,r=0,c=1]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /summon Item ~ ~ ~ {Item:{id:minecraft:crafting_table,Count:1b,Damage:0s}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=APCCrafting] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /entitydata @e[score_isDispenserItem_min=1,r=2,c=1] {Item:{id:minecraft:diamond,Count:1b,Damage:0s}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item] isDispenserItem 1 {Item:{id:minecraft:dispenser}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/kill @e[type=ItemFrame,name=CCBlockCenter]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @e[type=ItemFrame,name=CCBlockCenter] ~ ~ ~ /kill @e[type=Item,score_diamondobj_min=1,r=2,c=1]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ItemFrame,name=CCBlockCenter] ~ ~ ~ /setblock ~ ~ ~ dispenser 6 replace {CustomName:Crafting}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ItemFrame,name=CCBlockCenter] ~ ~ ~ /summon ArmorStand ~ ~ ~0.47 {CustomName:APCCrafting,Pose:{Head:[180f,0f,0f]},NoGravity:1,Marker:1,Small:1,Invisible:1}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[score_diamondobj_min=1] ~ ~ ~ detect ~ ~-1 ~ crafting_table 0 /summon ItemFrame ~ ~-1 ~ {CustomName:CCBlockCenter}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Item] diamondobj 1 {Item:{id:minecraft:diamond,Count:1b,Damage:0s}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"execute @e[score_cccc_I_min=1,score_cccc_I=1] ~ ~ ~ execute @e[r=1,score_cccc_I_min=2,score_cccc_I=2] ~ ~ ~ kill @e[type=Item,r=3,score_cccc_I_min=1,score_cccc_I=2]"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[score_cccc_I_min=1,score_cccc_I=1] ~ ~ ~ execute @e[r=1,score_cccc_I_min=2,score_cccc_I=2] ~ ~ ~ /summon Item ~ ~1 ~ {CustomName:\\\"Star Warsium Ingot\\\",CustomNameVisible:1,Item:{id:diamond,Count:1,tag:{display:{Name:\\\"Star Wars Ingot\\\",Lore:[Throw Me On A Crafting Table]},ench:[{id:0,lvl:1}]}}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"execute @e[score_cccc_I_min=1,score_cccc_I=1] ~ ~ ~ execute @e[r=1,score_cccc_I_min=2,score_cccc_I=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:stone\\\",Count:1,tag:{display:{Name:\\\"Combining Waste\\\"}}}}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] cccc_I 2 {Item:{id:\\\"minecraft:iron_ingot\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] cccc_I 1 {Item:{id:\\\"minecraft:diamond\\\"},OnGround:1b}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Passengers:[{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}