This command adds in a book that will allow you to find structures such as Nether Fortresses, End Cities, Mansions, Desert Temples, Villages, and more! Full list in the source codes as well as crafting recipes :) Please enjoy! -Mordial33
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
1 Compass + 1 Leather + 3 Paper + 3 Redstone Dust = Structure Locator book
Can locate Villages, Mineshafts, Ocean Monuments, Strongholds, Temples (Lumps in desert and jungles temples as well as witch huts for some reason), End Cities, Nether Fortresses, and Woodland Mansions
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-1 ~9 ~ ~1 stained_hardened_clay 3 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-1 ~9 ~-1 ~1 stained_glass_pane 10 0 stained_hardened_clay},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"**********\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"Click to\\\",\\\"color\\\":\\\"dark_purple\\\"}",Text3:"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\"}",Text4:"{\\\"text\\\":\\\"**********\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~8 ~2 ~1 air\\\"},\\\"bold\\\":true}"}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Structure\\\",\\\"color\\\":\\\"dark_purple\\\",\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"Locator\\\",\\\"color\\\":\\\"dark_purple\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"by\\\",\\\"color\\\":\\\"dark_blue\\\"}",Text4:"{\\\"text\\\":\\\"Mordial33\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}"}},{id:commandblock_minecart,Command:fill ~3 ~-2 ~ ~8 ~-1 ~ chain_command_block 5},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~ chain_command_block 1},{id:commandblock_minecart,Command:fill ~8 ~-1 ~ ~4 ~-1 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~8 ~-2 ~ chain_command_block 1},{id:commandblock_minecart,Command:setblock ~4 ~-2 ~ chain_command_block 13},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~ {auto:1,Command:kill @e[tag=dlbKill]}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~ {auto:1,Command:execute @e[tag=dlbKill] ~ ~ ~ playsound entity.evocation_fangs.attack hostile @a[r=20] ~ ~ ~ .8 1.1}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~ {auto:1,Command:execute @e[tag=dlbKill] ~ ~ ~ particle lava ~ ~ ~ .8 .5 .8 .05 50 force}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~ {auto:1,Command:execute @e[tag=dlbKill] ~ ~ ~ particle endRod ~ ~ ~ .5 .5 .5 .1 35 force}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~ {auto:1,Command:execute @e[tag=dlbKill] ~ ~ ~ particle iconcrack ~ ~ ~ .5 .5 .5 .1 100 force @a 331}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~ {auto:1,Command:"execute @e[tag=dlbCompass] ~ ~ ~ execute @e[tag=dlbPaper,r=1] ~ ~ ~ execute @e[tag=dlbLeather,r=1] ~ ~ ~ execute @e[tag=dlbRedstone,r=1] ~ ~ ~ summon item ~ ~ ~ {Item:{id:written_book,Count:1,tag:{display:{Name:\\\"Structure Locator\\\"},title:\\\"Structure Locator\\\",author:\\\"Mordial33\\\",generation:0,pages:[\\\"{text:\\\\\\\"Village\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest village.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Village\\\\\\\"},extra:[{text:\\\\\\\"\\\\n\\\\nMineshaft\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest mineshaft.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Mineshaft\\\\\\\"}},{text:\\\\\\\"\\\\n\\\\nOcean Monument\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest Ocean Monument.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Monument\\\\\\\"}},{text:\\\\\\\"\\\\n\\\\nStronghold\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest stronghold.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Stronghold\\\\\\\"}},{text:\\\\\\\"\\\\n\\\\nTemple\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest desert/jungle temple.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Temple\\\\\\\"}},{text:\\\\\\\"\\\\n\\\\nNether Fortress\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest Nether Fortress.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Fortress\\\\\\\"}}]}\\\",\\\"{text:\\\\\\\"End City\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest End City.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate EndCity\\\\\\\"},extra:[{text:\\\\\\\"\\\\n\\\\nWoodland Mansion\\\\\\\",color:black,bold:true,hoverEvent:{action:'show_text',value:\\\\\\\"Locates the closest Woodland Mansion.\\\\\\\"},clickEvent:{action:'run_command',value:\\\\\\\"/locate Mansion\\\\\\\"}}]}\\\"]}}}"}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~ {auto:1,Command:execute @e[tag=dlbCompass] ~ ~ ~ execute @e[tag=dlbPaper,r=1] ~ ~ ~ execute @e[tag=dlbLeather,r=1] ~ ~ ~ execute @e[tag=dlbRedstone,r=1] ~ ~ ~ scoreboard players tag @e[type=item,r=1] add dlbKill}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~ {auto:1,Command:execute @a ~ ~ ~ scoreboard players tag @e[type=item,r=5] add dlbRedstone {Item:{id:minecraft:redstone,Count:3b},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~ {auto:1,Command:execute @a ~ ~ ~ scoreboard players tag @e[type=item,r=5] add dlbLeather {Item:{id:minecraft:leather,Count:1b},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:execute @a ~ ~ ~ scoreboard players tag @e[type=item,r=5] add dlbPaper {Item:{id:minecraft:paper,Count:3b},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:execute @a ~ ~ ~ scoreboard players tag @e[type=item,r=5] add dlbCompass {Item:{id:minecraft:compass,Count:1b},OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:execute @a ~ ~ ~ execute @e[type=item,r=5,c=1] ~ ~ ~ particle take ~ ~ ~ 0 0 0 0 1}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}