This OneCMD creation adds a randomly spawning Spider Queen every two minutes. Every five seconds she births a larva that converts dirt and grass into endstone. If you don't kill it fast enough, it becomes another Queen. Every ten seconds, she births a drone. Drones eat away at the endstone.
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},{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~3 ~-3 ~-1 ~9 ~3 ~1 minecraft:stained_glass 15 hollow},{id:MinecartCommandBlock,Command:fill ~3 ~-3 ~ ~9 ~3 ~0 minecraft:stained_hardened_clay 15 replace stained_glass},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ repeating_command_block 5 replace {TrackOutput:0b,auto:1b,Command:/scoreboard players add @p waittime 1}},{id:MinecartCommandBlock,Command:setblock ~2 ~ ~0 minecraft:wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"-=+=-\\\",\\\"color\\\":\\\"dark_blue\\\"}",Text2:"{\\\"text\\\":\\\"Right-Click\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"kill @e[type=ArmorStand,r=5]\\\"}}",Text3:"{\\\"text\\\":\\\"To Remove\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-3 ~-1 ~8 ~3 ~1 minecraft:air\\\"}}",Text4:"{\\\"text\\\":\\\"-=+=-\\\",\\\"color\\\":\\\"dark_blue\\\"}"}},{id:MinecartCommandBlock,Command:scoreboard objectives add waittime dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add age dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add virus dummy},{id:MinecartCommandBlock,Command:summon ArmorStand ~2 ~2 ~0.0 {CustomName:Example in One Command!,CustomNameVisible:1,Marker:1,Invisible:1,NoGravity:1}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:/execute @p[score_waittime=1200,score_waittime_min=1200] ~ ~ ~ /tellraw @a {"text":"You feel as if something got ","color":"red","extra":[{"text":"bigger.","bold":true,"color":"dark_red"}]}}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:/execute @p[score_waittime=1200,score_waittime_min=1200] ~ ~ ~ /entitydata @r[type=Spider] {Health:60,CustomName:Queen,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:50.5}]}}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:/scoreboard players reset @p[score_waittime=1200,score_waittime_min=1200] waittime}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~0 chain_command_block 1 replace {TrackOutput:0b,auto:1b,Command:execute @e[name=Larva] ~ ~ ~ /fill ~ ~-1 ~ ~ ~-1 ~ end_stone 0 replace dirt}},{id:MinecartCommandBlock,Command:setblock ~8 ~-1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:execute @e[name=Larva] ~ ~ ~ /fill ~ ~-1 ~ ~ ~-1 ~ end_stone 0 replace grass}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:execute @e[name=Drone] ~-2 ~ ~-2 /fill ~ ~ ~ ~5 ~-1 ~5 air 0 replace end_stone}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:scoreboard players add @e[name=Larva] age 1}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:execute @e[score_age=1800,score_age_min=1800] ~ ~ ~ summon Spider ~ ~ ~ {CustomName:Queen,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:60}]}}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~0 chain_command_block 1 replace {TrackOutput:0b,auto:1b,Command:/tp @e[score_age=1800,score_age_min=1800] ~ ~-500 ~}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:scoreboard players reset @e[score_age=1800,score_age_min=1800] age}},{id:MinecartCommandBlock,Command:setblock ~5 ~0 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:execute @e[name=Queen] ~-1 ~ ~-1 /fill ~ ~ ~ ~2 ~-1 ~2 end_stone 0 replace grass}},{id:MinecartCommandBlock,Command:setblock ~6 ~0 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:scoreboard players add @e[name=Queen] virus 1}},{id:MinecartCommandBlock,Command:setblock ~7 ~0 ~0 chain_command_block 5 replace {TrackOutput:0b,auto:1b,Command:execute @e[score_virus=100,score_virus_min=100] ~ ~ ~ /summon Silverfish ~ ~ ~ {CustomName:Larva}}},{id:MinecartCommandBlock,Command:setblock ~8 ~0 ~0 chain_command_block 1 replace {TrackOutput:0b,auto:1b,Command:execute @e[score_virus=200,score_virus_min=200] ~ ~ ~ /summon Endermite ~ ~ ~ {CustomName:Drone}}},{id:MinecartCommandBlock,Command:setblock ~8 ~1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:execute @e[score_virus=200,score_virus_min=200] ~ ~ ~ /summon Silverfish ~ ~ ~ {CustomName:Larva}}},{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~0 chain_command_block 4 replace {TrackOutput:0b,auto:1b,Command:scoreboard players reset @e[score_virus=200,score_virus_min=200] virus}},{id:MinecartCommandBlock,Command:setblock ~-1 ~-3 ~ command_block 0 replace {Command:fill ~ ~ ~ ~2 ~3 ~ air 0}},{id:MinecartCommandBlock,Command:setblock ~-1 ~-2 ~ redstone_block 0 replace},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock]}]}]}