Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
6 years, 2 months ago
I've been experimenting with command blocks in Minecraft Pocket Edition, and I decided to have repeating command blocks to set the time to day.
Since then, I don't want them anymore. Is there a command I can put in a command block to test if there are any command blocks within a certain radius, or does radius only work with players?
2,999 4 4 gold badges 24 24 silver badges 41 41 bronze badges
Apr 3, 2017 at 18:01
81 6 6 bronze badges
/testforblock command, where
<position: x y z> is the position of the block to be tested and
<tileName: string> is the block ID of a block. So you would want to do
testforblock <x> <y> <z> minecraft:repeating_command_block
Refer to the official wiki:
Apr 4, 2017 at 1:47
4,847 9 9 gold badges 34 34 silver badges 63 63 bronze badges
log in to answer this question.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only
fill-replacethe are you think its in.