Adds settable and removable homes into Minecraft! WARNING: Do not set more than 1 home in creative, or the command will not work properly! If you do, just use the Delete Home spawn egg, and you should be fine.
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
INIT:/scoreboard objectives add useCOAS stat.useItem.minecraft.carrot_on_a_stick
INIT:/give @p minecraft:carrot_on_a_stick 1 0 {display:{Name:"Teleport Home"},Unbreakable:1}
INIT:/give @p minecraft:spawn_egg 1 60 {display:{Name:"Set_Home"}}
INIT:/give @p minecraft:spawn_egg 1 60 {display:{Name:"Delete_Home"}}
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":" "}]
INIT:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]
INIT:/tellraw @p ["",{"text":"Homes","color":"dark_purple","bold":"true"}]
INIT:/tellraw @p ["",{"text":"Command Made by:","color":"blue","bold":"true"},{"text":" Zabitsu13","color":"gold","bold":"true"}]
INIT:/tellraw @p ["",{"text":"Adds setable and removeable homes in Minecraft!","color":"red","bold":"true"}]
INIT:/tellraw @p ["",{"text":"Do NOT set more than 1 home without deleting the first home!","color":"red","bold":"true"}]
INIT:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]
INIT:/tellraw @p ["",{"text":" "}]
/execute @e[type=Silverfish,name=Set_Home] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:"Home",Invisible:1,Invulnerable:1,NoGravity:1}
/tp @a[score_useCOAS_min=1] @e[type=ArmorStand,name=Home]
/tellraw @a[score_useCOAS_min=1] ["",{"text":"Teleported to your set home.","color":"blue","bold":"true"}]
/execute @e[type=Silverfish,name=Delete_Home] ~ ~ ~ kill @e[type=ArmorStand,name=Home]
/execute @e[type=Silverfish,name=Delete_Home] ~ ~ ~ tellraw @p ["",{"text":"You have successfully deleted your home.","color":"blue","bold":"true"}]
/scoreboard players set @a[score_useCOAS_min=1] useCOAS 0
/kill @e[type=Silverfish,name=Set_Home]
/kill @e[type=Silverfish,name=Delete_Home]
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:fill ~ ~0 ~1 ~ ~-39 ~1 redstone_block},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~ ~3 ~1 stone},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~ ~4 ~ command_block 0 replace {Command:fill ~ ~2 ~ ~ ~-43 ~1 air}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Do NOT set more than 1 home without deleting the first home!","color":"red","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Adds setable and removeable homes in Minecraft!","color":"red","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Command Made by:","color":"blue","bold":"true"},{"text":" Zabitsu13","color":"gold","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"Homes","color":"dark_purple","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":"----------------------------------------------------------------------------","color":"gray"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @p ["",{"text":" "}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/give @p minecraft:spawn_egg 1 60 {display:{Name:"Delete_Home"}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/give @p minecraft:spawn_egg 1 60 {display:{Name:"Set_Home"}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/give @p minecraft:carrot_on_a_stick 1 0 {display:{Name:"Teleport Home"},Unbreakable:1}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard objectives add useCOAS stat.useItem.minecraft.carrot_on_a_stick},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~-1 {Block:command_block,TileEntityData:{Command:/kill @e[type=Silverfish,name=Delete_Home]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_useCOAS_min=1] useCOAS 0},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/execute @e[type=Silverfish,name=Delete_Home] ~ ~ ~ kill @e[type=ArmorStand,name=Home]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tp @a[score_useCOAS_min=1] @e[type=ArmorStand,name=Home]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:},Time:1,}}}}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~1 {Block:command_block,TileEntityData:{Command:/kill @e[type=Silverfish,name=Set_Home]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/execute @e[type=Silverfish,name=Delete_Home] ~ ~ ~ tellraw @p ["",{"text":"You have successfully deleted your home.","color":"blue","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/tellraw @a[score_useCOAS_min=1] ["",{"text":"Teleported to your set home.","color":"blue","bold":"true"}]},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:/execute @e[type=Silverfish,name=Set_Home] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:"Home",Invisible:1,Invulnerable:1,NoGravity:1}},Time:1,}}}}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:fill ~2 ~-2 ~ ~2 ~3 ~ redstone_block},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~2 ~-1 ~-1 command_block 0 replace {Command:fill ~ ~ ~1 ~ ~5 ~1 stone 0 replace redstone_block}},Time:1,Riding:{id:FallingSand,Block:command_block,TileEntityData:{Command:setblock ~2 ~ ~1 command_block 0 replace {Command:fill ~ ~ ~-1 ~ ~5 ~-1 redstone_block 0 replace stone}},Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}