This command add pets to your Minecraft World! You can select ArmorStand/Pig Pet, You can put armor to your ArmorStand pet! Thanks for installing :) Command Version: 1.0.1
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 MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {Command:fill ~ ~ ~1 ~7 ~1 ~1 stone},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {Command:fill ~ ~ ~-1 ~7 ~1 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {Command:"/scoreboard objectives add PetFollow dummy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {Command:"/scoreboard objectives add PetArmor dummy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {Command:"/scoreboard objectives add PetWolf dummy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {Command:"/scoreboard objectives add PetAlert dummy"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {Command:"/tp @e[type=ArmorStand,name=Pet] @e[type=Wolf,name=Pet]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {Command:"/tp @e[type=Pig,name=Pet] @e[type=Wolf,name=Pet]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {Command:"/effect @e[type=Wolf,name=Pet] minecraft:invisibility 9999 200 true"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {Command:"/scoreboard players add @a PetFollow 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~-1 {Command:"/scoreboard players add @a PetArmor 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~1 {Command:"/scoreboard players add @a PetWolf 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-2 ~-1 {Command:"/testfor @a[score_PetFollow_min=200]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~9 ~-2 ~1 {Command:"/scoreboard players reset @a[score_PetFollow_min=200] PetFollow"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-2 ~-1 {Command:"/tp @e[type=Wolf,name=Pet] @p[score_PetFollow_min=199]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~10 ~-2 ~1 {Command:"/execute @a[score_PetArmor=1,score_PetArmor_min=1] ~ ~ ~ summon ArmorStand ~ ~1 ~ {CustomName:\\\"Pet\\\",CustomNameVisible:1,ShowArms:1,Small:1,NoBasePlate:1,Invulnerable:1}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~-1 {Command:"/execute @a[score_PetAmor=5,score_PetArmor_min=2] ~ ~ ~ scoreboard players set @a PetArmor 2"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {Command:"/execute @a[score_PetWolf=1,score_PetWolf_min=1] ~ ~ ~ summon Wolf ~ ~1 ~ {CustomName:\\\"Pet\\\",CustomNameVisible:1,Invulnerable:1}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~-1 {Command:"/execute @a[score_PetWolf=5,score_PetWolf_min=2] ~ ~ ~ scoreboard players set @a PetWolf 2"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {Command:"/execute @a[score_PetAlert=5,score_PetAlert_min=2] ~ ~ ~ scoreboard players set @a PetAlert 2"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~-1 {Command:"/execute @a[score_PetAlert=1,score_PetAlert_min=1] ~ ~ ~ tellraw @a [\\\"\\\",{\\\"text\\\":\\\"Pets \\\",\\\"color\\\":\\\"gold\\\"},{\\\"text\\\":\\\"by MrRockis\\\",\\\"color\\\":\\\"dark_green\\\"}]"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {Command:"scoreboard players add @a PetAlert 1"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~-1 {Command:"/execute @a[score_PetAlert=2,score_PetAlert_min=2] ~ ~ ~ /tellraw @a [\\\"\\\",{\\\"text\\\":\\\"Machine has been \\\",\\\"color\\\":\\\"gold\\\"},{\\\"text\\\":\\\"successful \\\",\\\"color\\\":\\\"dark_green\\\"},{\\\"text\\\":\\\"installed! \\\",\\\"color\\\":\\\"gold\\\"},{\\\"text\\\":\\\"Terms of Use\\\",\\\"color\\\":\\\"dark_red\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"value\\\":{\\\"text\\\":\\\"\\\",\\\"extra\\\":[{\\\"text\\\":\\\"Terms of Use \\\",\\\"color\\\":\\\"dark_red\\\"},{\\\"text\\\":\\\"1. Dont say this machine is yours! \\\",\\\"color\\\":\\\"dark_red\\\"},{\\\"text\\\":\\\"2. You can use my machine if you credit me, MrRockis! \\\",\\\"color\\\":\\\"dark_red\\\"},{\\\"text\\\":\\\"3. Thanks for Installing :)\\\",\\\"color\\\":\\\"dark_green\\\"}]}}}]"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~6 ~-1 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~10 ~-2 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~5 ~-1 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~10 ~-2 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text1:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"You Selected \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"Pig!\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"dark_green\\\\\\\"}]\\\"}}",Text2:"{text:\\\"Pig\\\",color:dark_purple,clickEvent:{action:\\\"run_command\\\",value:\\\"kill @e[type=Pig,name=Pet]\\\"}}",Text3:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"kill @e[type=ArmorStand,name=Pet]\\\"}}",Text4:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"/summon Pig ~ ~1 ~ {CustomName:\\\\\\\"Pet\\\\\\\",CustomNameVisible:1,Invulnerable:1}\\\"}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"You Selected \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"ArmorStand!\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"dark_green\\\\\\\"}]\\\"}}",Text2:"{text:\\\"ArmorStand\\\",color:dark_purple,clickEvent:{action:\\\"run_command\\\",value:\\\"kill @e[type=Pig]\\\"}}",Text3:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"kill @e[type=ArmorStand]\\\"}}",Text4:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"summon ArmorStand ~ ~1 ~ {CustomName:\\\\\\\"Pet\\\\\\\",CustomNameVisible:1,ShowArms:1,Small:1,NoBasePlate:1,Invulnerable:1}\\\"}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"You \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"Destroyed \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"dark_red\\\\\\\",\\\\\\\"insertion\\\\\\\":\\\\\\\"You Selected \\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"the machine! Commands will not work anymore!\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"gold\\\\\\\",\\\\\\\"insertion\\\\\\\":\\\\\\\"/tellraw @a %s\\\\\\\"}]\\\"}}",Text2:"{text:\\\"Destroy\\\",color:dark_red}",Text4:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"fill ~ ~-1 ~-2 ~11 ~2 ~2 air\\\"}}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~11 ~-1 ~2 stained_glass 3 replace stained_hardened_clay 3,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~11 ~ ~2 stained_hardened_clay 3 hollow,Riding:{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Block:activator_rail,Time:1,Riding:{id:FallingSand,Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}