Newer Redstone Clock Blocks
Newer Redstone Clock Blocks by mincerafter421613793    0
This command adds Redstone Clocks to Minecraft that are only 1 block in size! The command is the 1.9-1.10.2 version of my Redstone Clock Blocks command for 1.8.
Minecraft 1.9x
8728 characters
More by mincerafter42
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 ~-2 ~7 ~ ~2 stained_hardened_clay 14 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~7 ~-1 ~2 stained_glass 14 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:scoreboard objectives add 42rdclk dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add 42rdclkdl dummy},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Made with\\\"}",Text2:"{\\\"text\\\":\\\"MrGarretto's\\\"}",Text3:"{\\\"text\\\":\\\"One Command\\\"}",Text4:"{\\\"text\\\":\\\"Combiner\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove 42rdclk\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove 42rdclkdl\\\"}}",Text3:"{\\\"text\\\":\\\"[Remove]\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"tp @e[type=ArmorStand,name=42rdclk] ~ -512 ~\\\"},\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-2 ~6 ~1 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Redstone Clocks\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say Drop 3 pieces of redstone dust, a redstone repeater, a stone block, and a redstone torch on the ground to craft a redstone clock. After placing the clock, placing a redstone torch on top will make the delay 1 tick longer, and a cobblestone block will make it 1 tick shorter.\\\"}}",Text2:"{\\\"text\\\":\\\"v1.5\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"By mincerafter42\\\",\\\"color\\\":\\\"aqua\\\"}",Text4:"{\\\"text\\\":\\\"[Item recipes]\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~3 ~ cobblestone 0 setblock ~ ~3 ~ air 0 destroy}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~3 ~ cobblestone 0 scoreboard players remove @e[name=42rdclk,c=1] 42rdclkdl 1}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~3 ~ unlit_redstone_torch 5 setblock ~ ~3 ~ air 0 destroy}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~-1 chain_command_block 4 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~3 ~ redstone_torch 5 setblock ~ ~3 ~ air 0 destroy}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 2 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~3 ~ redstone_torch 5 scoreboard players add @e[name=42rdclk,c=1] 42rdclkdl 1}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 0 {auto:1,Command:execute @e[name=42rdclk] ~ ~ ~ detect ~ ~2 ~ air 0 tp @e[name=42rdclk,c=1] ~ -512 ~}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 0 {auto:1,Command:"execute @e[name=42rdclk] ~ ~ ~ detect ~ ~2 ~ air 0 summon Item ~ ~2 ~ {CustomName:\\\"Redstone Clock\\\",CustomNameVisible:1,Item:{id:spawn_egg,Damage:96,Count:1,tag:{display:{Name:\\\"Redstone_Clock\\\"},EntityTag:{id:\\\"MushroomCow\\\",NoAI:1}}}}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 0 {auto:1,Command:execute @e[name=42rdclk,score_42rdclk=0] ~ ~ ~ scoreboard players operation @e[name=42rdclk,c=1] 42rdclk = @e[name=42rdclk,c=1] 42rdclkdl}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 0 {auto:1,Command:execute @e[name=42rdclk,score_42rdclk=0] ~ ~ ~ fill ~ ~2 ~ ~ ~2 ~ minecraft:stained_glass 14 replace minecraft:stone 0}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 0 {auto:1,Command:execute @e[name=42rdclk,score_42rdclk=0] ~ ~ ~ fill ~ ~2 ~ ~ ~2 ~ minecraft:redstone_block 0 replace minecraft:stained_glass 14}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 0 {auto:1,Command:execute @e[name=42rdclk,score_42rdclk=0] ~ ~ ~ fill ~ ~2 ~ ~ ~2 ~ minecraft:stone 0 replace minecraft:redstone_block 0}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 0 {auto:1,Command:scoreboard players remove @e[name=42rdclk,score_42rdclk_min=1] 42rdclk 1}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 1 0 {auto:1,Command:tp @e[name=Redstone_Clock,type=MushroomCow] ~ -512 ~}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 0 {auto:1,Command:execute @e[name=Redstone_Clock,type=MushroomCow] ~ ~-1.25 ~ scoreboard players set @e[name=42rdclk,type=ArmorStand,c=1] 42rdclk 0}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 0 {auto:1,Command:execute @e[name=Redstone_Clock,type=MushroomCow] ~ ~-1.25 ~ scoreboard players set @e[name=42rdclk,type=ArmorStand,c=1] 42rdclkdl 2}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 0 {auto:1,Command:"execute @e[name=Redstone_Clock,type=MushroomCow] ~ ~ ~ summon ArmorStand ~ ~-1.25 ~ {CustomName:\\\"42rdclk\\\",NoGravity:1b,Invisible:1,Invulnerable:1,ArmorItems:[{},{},{},{id:skull,Damage:3,Count:1,tag:{SkullOwner:{Id:\\\"a8f5a413-8ff3-4d04-a3b9-35585460bf8e\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiMGEyNzA5YWQyN2M1NzgzYmE3YWNiZGFlODc4N2QxNzY3M2YwODg4ZjFiNmQ0ZTI0ZWUxMzI5OGQ0In19fQ==\\\"}]}}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 0 {auto:1,Command:execute @e[name=Redstone_Clock,type=MushroomCow] ~ ~ ~ setblock ~ ~ ~ stained_glass 14}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 0 {auto:1,Command:execute @e[type=Item,score_42rdclk_min=4,score_42rdclk=4] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=3,score_42rdclk=3,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=2,score_42rdclk=2,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=1,score_42rdclk=1,r=1] ~ ~ ~ kill @e[type=Item,score_42rdclk_min=1,score_42rdclk=4,r=1]}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 0 {auto:1,Command:execute @e[type=Item,score_42rdclk_min=4,score_42rdclk=4] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=3,score_42rdclk=3,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=2,score_42rdclk=2,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=1,score_42rdclk=1,r=1] ~ ~ ~ summon FireworksRocketEntity ~ ~ ~ {FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[16711680],FadeColors:[16711680]}]}}}}}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 0 {auto:1,Command:"execute @e[type=Item,score_42rdclk_min=4,score_42rdclk=4] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=3,score_42rdclk=3,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=2,score_42rdclk=2,r=1] ~ ~ ~ execute @e[type=Item,score_42rdclk_min=1,score_42rdclk=1,r=1] ~ ~ ~ summon Item ~ ~ ~ {CustomName:\\\"Redstone Clock\\\",CustomNameVisible:1,Item:{id:spawn_egg,Damage:96,Count:1,tag:{display:{Name:\\\"Redstone_Clock\\\"},EntityTag:{id:\\\"MushroomCow\\\",NoAI:1}}}}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 3 0 {auto:1,Command:"scoreboard players set @e[type=Item] 42rdclk 4 {Item:{id:\\\"minecraft:redstone_torch\\\"},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 0 {auto:1,Command:"scoreboard players set @e[type=Item] 42rdclk 3 {Item:{id:\\\"minecraft:stone\\\"},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 0 {auto:1,Command:"scoreboard players set @e[type=Item] 42rdclk 2 {Item:{id:\\\"minecraft:repeater\\\"},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 0 {auto:1,Command:"scoreboard players set @e[type=Item] 42rdclk 1 {Item:{id:\\\"minecraft:redstone\\\",Count:3b},OnGround:1b}"}},{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]}]}]}]}