Finding Blocks without Coordinates
Just a quick question that is slightly complicated that has to do with command blocks and such.
Is it possible to determine where a certain block is placed in the world without knowing where it can be placed? In my case, I have an admin team (I am making a red vs. blue game), and for the admin team to teleport around, they must place a glass block on the ground. The admin can place the block anywhere therefore there is no set coordinates of where the block will be.
After finding the block, I can do the rest. It would be very helpful if you guys (or girls) could explain if this is in fact possible, and then how it could be achieved.
Best Answer
run this:
/scoreboard objectives add name stat.useItem.minecraft.glass
run on loop in chain:
/tp @a[score_name_min=1] whereverYouWant
/scoreboard players remove @a[score_name_min=1] name 1
Pictures about "Finding Blocks without Coordinates"



Is there a command to locate blocks?
Let's say you're lost in the Nether and need to find your Nether Portal, you could type : /locateblock obsidian, and get the coordinates for the nearest obsidian, most likely being your, said, Portal.How do you teleport to a block?
Type this command in when having the command block GUI open /teleport @p <x> <y> <z> . Then, activate the command block with redstone (including buttons, levers, and pressure plates), and they will be sent to their destination. The player can set up multiple different teleports.How to find buried treasure without coordinates and blocks.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Sandro Sandrone Lazzarini, DS stories, Maƫl BALLAND, Sharon McCutcheon
