Select Page

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]}]}]}]}