Metal detectors in the real world
There are a lot of roles
In addition to detecting buried metal products
It can also be used for mineral exploration
If only the block world also had ore detectors...
Let me study it
The idea of the little partner seems to be wild
But it can be easily achieved through instructions
Adventurers let's take a look at it with Xiao Guanwei

▲Poke pictures can review the previous instructions Oh ~
Today when the petty officer is exploring in the sea
A shipwreck was found
So I swam over to see
Unexpectedly, the command block was found in the treasure chest
Adventurers (honest people) who did not find shipwrecks can enter
/give @s command_block get the command block~
A total of 4 command blocks and 1 lever are required for this time
Place the command block as shown
The next step is to enter the instructions
Enter in command block No. 1
clear @p compass 0 0
The block type is set to Loop
Conditional is unconditional
Redstone is set to redstone control
Enter in command block #2
execute @p ~~~ fill ~~~ ~ 1 ~ diamond_block 0 replace diamond_ore
The block type is set to Chain
The condition is conditional
Redstone is set to stay open
Enter in command block No. 3
execute @p ~~~ playsound note.banjo
Then, enter it in command block 4
execute @p ~~~ fill ~~~ ~ 1 ~ diamond_ore 0 replace diamond_block
Pull down the lever after all command inputs are complete
Adventurers only need to walk on the road with a compass
When walking directly above the diamond ore
The compass will sound "drip"
At this point, you just need to dig all the way down
You can find diamond ore
That's also very convenient! But what if I want to dig for other ores?
That's not simple, just need to modify the instructions slightly
Use gold mines as an example
Modify the instructions in command block No. 2 to
execute @p ~~~ fill ~~~ ~ 1 ~ gold_block 0 replace gold_ore
Modify command block 4 again
execute @p ~~~ fill ~~~ ~ 1 ~ gold_ore 0 replace gold_block
After the startup command
You can use the same method
Easy to find the gold mine ~
Have today's instructional adventurers learned?
Let's go to the game and try it out
If there are other interesting instructions
Welcome to leave a message in the comment area to tell the petty official
■ Block talk
After learning the detector command, what ore does the adventurer want to use?
A. Village favorite emerald!
C. Beautiful lapis lazuli ~
B. The redstone that the redstone god loves the most
D. Tell the petty officer micro in the comment area
Poke in the look & likes
+1 diamond detected