Select Page
Create your own dungeon in vanilla minecraft

Create your own dungeon in vanilla minecraft

/scoreboard objectives add dungeon dummy

Adds a score called dungeon

/execute @a[score_dungeon_min=20000] ~ ~ ~ execute @r[type=Bat] ~ ~ ~ clone x y z x y z ~ ~-1 ~

Executes a player with the score setted at 20000 (change the number to change the frequency of dungeon's spawning) the action to execute a bat the action to clone the structure block.
If you want to spawn a structure on the surface, just use a surface mob instead of a bat (for example a Pig, ...)

/execute @e[type=Bat] ~ ~ ~ detect ~ ~-1 ~ minecraft:structure_block 1 setblock ~ ~-1 ~1 redstone_block

When the block is cloned, all the bats detect a structure block, and if they find it, they place a redstone block, to power the structure block

/execute @e[type=Bat] ~ ~ ~ detect ~ ~-1 ~ minecraft:structure_block 1 fill ~ ~-1 ~1 ~ ~-1 ~ air

When the redstone block is placed, all the bats detect a structure block, and if they find it, they remove the two blocks

/tp @e[type=Bat] ~ 0 ~

Teleports all the bats at bedrock level, so they die. This is used to be sure you don't find two dungeons too near.

/scoreboard players add @a dungeon 1

Adds one to the score of each player

/scoreboard players set @a[score_dungeon_min=20001] dungeon 0

Resets the score of all the players with the score of 20001 or more

Dungeon Items series- Spikes in one command

Dungeon Items series- Spikes in one command

Simple steps to install this command in your minecraft world
1 copy this command (mac: cmd+c/windows: ctrl+c)
2 open in-game chat (press T)
3 write /give @p minecraft:command_block
4 place the command block
5 go on the text section
6 paste the command (mac: cmd+v/windows: ctrl+v)
7 press the "always active" button
8 press enter
9 enjoy the command

Remember to follow me also on Google+

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 ~6 ~2 ~2 obsidian 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~6 ~1 ~2 stained_glass 1 replace obsidian"},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~-1 wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"deactivate\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/blockdata ~2 ~1 ~ {auto:0b}\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.chest.close voice @a ~ ~ ~ 10 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~1 ~1 ~-1 ~5 ~4 ~4 stained_glass 14 replace stained_glass\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~1 wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"activate\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/blockdata ~2 ~1 ~-2 {auto:1b}\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.chest.open voice @a ~ ~ ~ 10 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~1 ~1 ~-3 ~5 ~4 ~4 stained_glass 1 replace stained_glass\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~1 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"destroy\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~-1 ~1 ~-2 ~5 ~-4 ~2 air\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound entity.generic.explode voice @a ~ ~ ~ 12 2 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove cdun\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove idun\\\"}}"}},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Dungeon Items series-Spikes v 1.0 by GYGY. Click on the recipes and explenation sign to get started. Don't spam this command as your own one, and if you are a youtuber credit me and leave a link to my channel. Remember also to take a look of my channel:\",\"color\":\"aqua\"},{\"text\":\" My channel\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC3_Gm-pfskCh2bnzcekR0ow\"}}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Explenation\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"To craft a spike drop 1x redstone and 2x iron ingots. All the spikes will move at the same time. To break a spike, mine the block under it (to do this better, be sure you are facing west). Also remember to take a look of my channel: \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"My channel\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"dark_aqua\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"open_url\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"https://www.youtube.com/channel/UC3_Gm-pfskCh2bnzcekR0ow\\\\\\\"}}]\\\"}}",Text2:"{\\\"text\\\":\\\"&\\\",\\\"color\\\":\\\"aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/execute @a ~ ~ ~ playsound minecraft:entity.experience_orb.pickup voice @a ~ ~ ~ 12 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"Recipes\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"2\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"3\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=3dun,score_cdun_min=28,score_cdun=28] ~ ~ ~ playsound minecraft:item.armor.equip_diamond voice @a ~ ~ ~ 1 1 "}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~ chain_command_block 2 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=3dun,score_cdun_min=15,score_cdun=15] ~ ~ ~ playsound minecraft:item.armor.equip_iron voice @a ~ ~ ~ 1 1 "}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=3dun] ~ ~ ~ detect ~ ~1 ~ air 0 kill @e[type=ArmorStand,r=0,name=3dun] "}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=2dun] ~ ~ ~ detect ~ ~-1 ~ air 0 kill @e[type=ArmorStand,r=0,name=2dun] "}},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=2dun] ~ ~ ~ detect ~ ~-1 ~ air 0 summon Item ~ ~ ~ {Item:{Count:1b,id:\\\"minecraft:spawn_egg\\\",tag:{EntityTag:{id:Endermite},display:{Name:\\\"Spikes\\\",Lore:[From GYGY's dungeon items command-mod]},ench:[]}}}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~1 chain_command_block 2 replace {auto:1,Command:"/scoreboard objectives add cdun dummy"}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Item,score_idun_min=2,score_idun=2] ~ ~ ~ kill @e[type=Item,score_idun_min=1,score_idun=1,r=1]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Item,score_idun_min=1,score_idun=1] ~ ~ ~ entitydata @e[type=Item,score_idun_min=2,score_idun=2,r=1] {Item:{id:\\\"minecraft:spawn_egg\\\",tag:{EntityTag:{id:Endermite},display:{Name:\\\"Spikes\\\",Lore:[From GYGY's dungeon items command-mod]},ench:[]}}} "}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~1 chain_command_block 1 replace {auto:1,Command:"/scoreboard players set @e[type=Item] idun 2 {Item:{id:\\\"minecraft:redstone\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard objectives add idun dummy"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item] idun 1 {Item:{id:\\\"minecraft:iron_ingot\\\",Count:2b}}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @e[type=ArmorStand,score_cdun_min=33] cdun 0"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=2dun,score_cdun_min=2] ~ ~ ~ scoreboard players set @e[type=ArmorStand,name=4dun] cdun 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~ chain_command_block 4 replace {auto:1,Command:"/entitydata @e[type=ArmorStand,name=4dun,score_cdun_min=2] {CustomName:\\\"2dun\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~-1 chain_command_block 3 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=4dun] cdun 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=3dun,score_cdun_min=2] ~ ~ ~ scoreboard players set @e[type=ArmorStand,name=1dun] cdun 0"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/entitydata @e[type=ArmorStand,name=1dun,score_cdun_min=2] {CustomName:\\\"3dun\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=1dun] cdun 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/tp @e[type=ArmorStand,name=3dun,score_cdun_min=1,score_cdun=1] ~ ~-0.3 ~"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/tp @e[type=ArmorStand,name=3dun,score_cdun_min=28,score_cdun=28] ~ ~0.2 ~"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"/tp @e[type=ArmorStand,name=3dun,score_cdun_min=15,score_cdun=15] ~ ~0.1 ~"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=ArmorStand,score_cdun_min=33,name=3dun] ~ ~ ~ scoreboard players set @e[type=ArmorStand,name=3dun,r=0] cdun 0"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=2dun] cdun 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"/scoreboard players add @e[type=ArmorStand,name=3dun] cdun 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,name=2dun,score_cdun_min=32] ~ ~ ~ effect @a[r=1] 7 1 0 true"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/kill @e[type=Endermite,name=Spikes]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\\"4dun\\\",Invisible:1b,NoGravity:1b,Small:1b}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~-0.4 ~-1.3 ~-0.3 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~0.4 ~-1.3 ~0.1 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~0.1 ~-1.3 ~0.4 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~-0.2 ~-1.3 ~0.1 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~-0.3 ~-1.3 ~0.4 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~0.1 ~-1.3 ~-0.2 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~0.2 ~-1.3 ~0.2 {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/execute @e[type=Endermite,name=Spikes] ~ ~ ~ summon ArmorStand ~ ~-1.3 ~ {CustomName:\\\"1dun\\\",Invisible:1b,NoGravity:1b,Small:1b,ArmorItems:[{},{},{},{id:\\\"minecraft:end_rod\\\",Count:1b}],HandItems:[{},{}],Pose:{Head:[300f,0f,0f]},DisabledSlots:16}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}

Tameable guardians in one command

Tameable guardians in one command

Simple steps to install this command in your minecraft world
1 copy this command (mac: cmd+c/windows: ctrl+c)
2 open in-game chat (press T)
3 write /give @p minecraft:command_block
4 place the command block
5 go on the text section
6 paste the command (mac: cmd+v/windows: ctrl+v)
7 press the "always active" button
8 press enter
9 enjoy the command

To turn a guardian to an elder guardian:
/entitydata @e[type=Guardian,r=10,c=1] {Elder:1b}

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 ~8 ~2 ~2 obsidian 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~8 ~1 ~2 stained_glass 1 replace obsidian"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add ber dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add c dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add igua dummy"},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~-1 wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"deactivate\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/blockdata ~2 ~1 ~ {auto:0b}\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.chest.close voice @a ~ ~ ~ 10 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~1 ~1 ~-1 ~7 ~4 ~3 stained_glass 14 replace stained_glass\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~1 wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"activate\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/blockdata ~2 ~1 ~-2 {auto:1b}\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound minecraft:block.chest.open voice @a ~ ~ ~ 10 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~1 ~1 ~-3 ~7 ~4 ~1 stained_glass 1 replace stained_glass\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~1 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"destroy\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~7 ~ ~-1 ~2 ~ ~-1 redstone_block 0 replace air\\\"}}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound entity.generic.explode voice @a ~ ~ ~ 12 2 1\\\"}}",Text3:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove c\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove igua\\\"}}"}},{id:MinecartCommandBlock,Command:"/tellraw @a [\"\",{\"text\":\"Tameable guardian in one command v 1.0 by GYGY. There are some bugs and some things not completed yet. Click on the recipes and explenation sign to get started. Don't spam this command as your own one, and if you are a youtuber credit me. Remember also to take a look of my channel:\",\"color\":\"aqua\"},{\"text\":\" My channel\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/channel/UC3_Gm-pfskCh2bnzcekR0ow\"}}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Explenation\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"To tame a guardian, just drop 10 ink sacs to it. Select the first slot of you hotbar to active guardian's laser. Remember elder guardians are powerful: nobody will attack you! Tamed guardians can't die. Also remember to take a look of my channel: \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"My channel\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"dark_aqua\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"open_url\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"https://www.youtube.com/channel/UC3_Gm-pfskCh2bnzcekR0ow\\\\\\\"}}]\\\"}}",Text2:"{\\\"text\\\":\\\"&\\\",\\\"color\\\":\\\"aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/execute @a ~ ~ ~ playsound minecraft:entity.experience_orb.pickup voice @a ~ ~ ~ 12 1 1\\\"}}",Text3:"{\\\"text\\\":\\\"Recipes\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"2\\\"}}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"3\\\"}}"}}, {id:MinecartCommandBlock,Command:setblock ~6 ~1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ detect ~ ~ ~ water 0 tp @e[name=gua,r=1,type=!Player] ~ ~1 ~"}},{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~-1 chain_command_block 4 replace {auto:1,Command:"/entitydata @e[type=EntityHorse,name=gua] {SaddleItem:{id:saddle},Fire:-10s}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~-1 command_block 4 replace {auto:0,Command:"/scoreboard objectives remove ber"}},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~-1 chain_command_block 4 replace {auto:1,Command:"/fill ~-2 ~1 ~-1 ~5 ~-4 ~3 air"}},{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~ chain_command_block 2 replace {auto:1,Command:"/scoreboard players set @e[type=Arrow] ber -10"}},{id:MinecartCommandBlock,Command:setblock ~6 ~1 ~ chain_command_block 13 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ entitydata @e[type=Arrow,r=10,rm=3] {Motion:[0.0,0.0,0.0]}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~ chain_command_block 13 replace {auto:1,Command:"/tp @e[type=Guardian,name=gua] ~ ~-1.5 ~"}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~ chain_command_block 5 replace {auto:1,Command:"/testfor @e[type=Guardian,name=gua] {Elder:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~ chain_command_block 5 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~1 chain_command_block 2 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~4 ~1 ~1 chain_command_block 12 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ execute @e[type=!Player,r=5,rm=2] ~ ~ ~ detect ~ ~ ~ air 0 tp @e[type=!Player,r=1] ~ ~-0.1 ~"}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~1 chain_command_block 12 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ effect @e[type=!Player,r=5,rm=2] 2 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~6 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"/testfor @e[type=Guardian,name=gua] {Elder:1b}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~1 chain_command_block 4 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~1 chain_command_block 1 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~1 chain_command_block 13 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ effect @a[r=5] 4 0 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/tp @e[type=Guardian,name=gua] ~ ~-1.5 ~ "}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~1 chain_command_block 13 replace {auto:1,Command:"compatting is boring"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3 replace {auto:1,Command:"/testfor @e[type=Guardian,name=gua] {Elder:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~1 chain_command_block 5 replace {auto:1,Command:"/entitydata @e[type=Guardian,name=gua] {PersistenceRequired:1b,Invulnerable:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3 replace {auto:1,Command:"/execute @a[score_c_min=0,score_c=0] ~ ~ ~ scoreboard players set @e[type=!Player] ber 0"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Guardian,name=gua] c 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~ chain_command_block 12 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ particle heart ~ ~ ~ 0.4 0.4 0.4 1 10 "}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~ chain_command_block 12 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ summon EntityHorse ~ ~-1 ~ {Tame:1b,SaddleItem:{id:saddle},CustomName:\\\"gua\\\",Health:30f,Silent:1b}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Guardian,score_c_min=10] ~ ~ ~ entitydata @e[type=Guardian,r=1,c=1] {CustomName:\\\"gua\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~-1 chain_command_block 3 replace {auto:1,Command:"hello there"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[type=Guardian] ~ ~ ~ kill @e[type=Item,score_igua_min=1,score_igua=1,r=1]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[type=Item,score_igua_min=1,score_igua=1] ~ ~ ~ particle blockcrack ~ ~ ~ 0.4 0.4 0.4 0 10 force @a 173"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @e[type=Item,score_igua_min=1,score_igua=1] ~ ~ ~ playsound minecraft:entity.player.burp voice @a ~ ~ ~ 12 1 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"not needed"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Item,score_igua_min=1,score_igua=1] ~ ~ ~ scoreboard players add @e[type=Guardian,r=1] c 1"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Item] igua 1 {Item:{id:\\\"minecraft:dye\\\",Damage:0s}}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"/effect @e[type=EntityHorse,name=gua] 10 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/effect @e[type=EntityHorse,name=gua] 11 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/effect @e[type=Guardian,name=gua] 11 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ fill ~-2 ~-1 ~2 ~2 ~1 ~2 air 0 replace barrier"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ fill ~-2 ~-1 ~-2 ~2 ~1 ~-2 air 0 replace barrier"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ fill ~2 ~-1 ~-2 ~2 ~1 ~2 air 0 replace barrier"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ fill ~-2 ~-1 ~-2 ~-2 ~1 ~2 air 0 replace barrier"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ detect ~ ~-2 ~ water 0 fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 barrier 0 replace air"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ detect ~ ~-1 ~ water 0 tp @e[type=EntityHorse,r=1,name=gua] ~ ~1 ~"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @e[type=Guardian,name=gua] ~ ~ ~ scoreboard players set @e[type=!Player,r=50,rm=11] ber 0"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"/execute @e[type=!Player,score_ber_min=1] ~ ~ ~ particle dripWater ~ ~ ~ 0.5 0.5 0.5 0 100"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=!Player,score_ber_min=90] ~ ~ ~ effect @e[type=EntityHorse,name=gua,r=10] 11 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/effect @e[type=Guardian,name=gua] 11 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 13 replace {auto:1,Command:"/effect @a 11 1 255 true"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=!Player,score_ber_min=100] ~ ~ ~ summon LightningBolt ~ ~ ~"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @a ber 0"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Item] ber -10"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_c_min=1,score_c=1] ~ ~ ~ execute @e[type=Guardian,r=3,name=gua] ~ ~ ~ scoreboard players add @e[type=!Guardian,r=10,rm=3] ber 1"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/effect @e[type=EntityHorse,name=gua] 14 1 1 true"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/entitydata @e[type=Guardian,name=gua] {Motion:[0.0,0.0,0.0],Attributes:[5:{Base:0.0d,Name:\\\"generic.followRange\\\"}]}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/execute @e[type=EntityHorse,name=gua] ~ ~ ~ tp @e[type=Guardian,name=gua] ~ ~2 ~"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/entitydata @e[type=EntityHorse,name=gua] {Motion:[0.0,0.0,0.0]}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/tp @e[type=Guardian,name=gua] @e[type=EntityHorse,name=gua]"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/scoreboard players set @a c 1 {SelectedItemSlot:0}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/scoreboard players set @a c 0"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}

Climb like a spider in minecraft vanilla

Climb like a spider in minecraft vanilla

/scoreboard objectives add shift stat.sneakTime

Adds a scoreboard called shift that increases when you shift

/execute @a[score_shift_min=1] ~ ~ ~ detect ~0.5 ~ ~ air 0 execute @a[score_shift_min=1,r=1] ~ ~ ~ detect ~-0.5 ~ ~ air 0 execute @a[score_shift_min=1,r=1] ~ ~ ~ detect ~ ~ ~0.5 air 0 execute @a[score_shift_min=1,r=1] ~ ~ ~ detect ~ ~ ~-0.5 air 0 execute @a[score_shift_min=1,r=1] ~ ~ ~ detect ~ ~1.9 ~ air 0 scoreboard players set @a[r=1] shift 0

Executes all the players with the score settled at 1 the action to detect around (all the blocks around at the same highness and one block up) and if successfully done, resets the score

/effect @a[score_shift_min=1] 25 1 1 true

Gives levitation effect to all the players with the score setted at one or more. If you want to climb faster, just change the last "1"

/scoreboard players set @a shift 0

resets the score, but only when the levitation effect has been successfully given

Floor crafting in minecraft

Floor crafting in minecraft

/scoreboard objectives add item dummy
adds a scoreboard called item

/scoreboard players set @e[type=Item] item 1 {Item:{id:"minecraft:egg",Count:1b,Damage:0s}}
Sets to 1 the score of all the eggs (id:"minecraft:egg"), with the count of 1 and 0 data

/scoreboard players set @e[type=Item] item 2 {Item:{id:"minecraft:gunpowder",Count:4b,Damage:0s}}
Does the same of the first, but with a four-counted item (Count:4b)

/scoreboard players set @e[type=Item] item 3 {Item:{id:"minecraft:coal",Count:1b,Damage:1s,tag:{display:{Name:"creeper's coal"}}}}
The same of the first, but with a 1-data item and also a renamed item, so you know how to insert tags.
You can use an infinite number of items

/scoreboard players set @e[type=Item] item 4 {Item:{id:"minecraft:spawn_egg",Count:1b,Damage:0s,tag:{EntityTag:{id:Creeper}}}}
The same of the first, but with a creeper egg

/execute @e[type=Item,score_item_min=3,score_item=3] ~ ~ ~ execute @e[type=Item,score_item_min=2,score_item=2,r=1] ~ ~ ~ entitydata @e[type=Item,score_item_min=1,score_item=1,r=1] {Item:{id:"minecraft:spawn_egg",Count:1b,Damage:0s,tag:{EntityTag:{id:Creeper}}}}
Executes an item with the score settled at 3 execute an item in the range of a block and with the score at 2 change the data of an item with the score at 1 in the range of a block.
You can type all the times you want the execute @e[type=Item,score_item_min=n,score_item=n] ~ ~ ~ string

/execute @e[type=Item,score_item_min=4,score_item=4] ~ ~ ~ kill @e[type=Item,score_item_min=2,score_item=2,r=1]
executes all the creeper eggs (score at 4) kill all the items with the score setted at 2

/execute @e[type=Item,score_item_min=4,score_item=4] ~ ~ ~ kill @e[type=Item,score_item_min=3,score_item=3,r=1]
The same of the previous, but with an item with the score setted at 3

/execute @e[type=Item,score_item_min=4,score_item=4] ~ ~ ~ summon FireworksRocketEntity ~ ~ ~ {LifeTime:0,Motion:[0.00,0.00,0.00],FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[4871935],FadeColors:[16777215]},{Type:0,Flicker:0,Trail:0,Colors:[16755530],FadeColors:[16777215]},{Type:0,Flicker:0,Trail:0,Colors:[16775508],FadeColors:[16777215]}]}}}}
Execute all the creeper's eggs summon a firework that explodes at the moment