1

/testforblock help

Brennen3828's Avatar Brennen382812/11/13 9:30 pm
1 emeralds 880 3
12/12/2013 5:28 pm
Jmal116's Avatar Jmal116
I am currently making a map that involves the command /testforblock through command blocks. In my map people find a certain block, if they find it, they break it and they gain a point. So i put the command /testforblock <x y z> <blockid> in a command block, i connected a clock. and inverted the signal at the end. But the /testforblock command seems it cant find that block and I am sure that it is the right block id and the right coordinates. So When i typed the command by chat it gave me the message "Can't find block that is outside the world" But there is only one world here. But the command block is pretty far away from the block. I decided to load the chunks between the two that didnt work either. It only works when I type the command that is right next to the block? Is there a way I can leave it as it is, or I have to bring my whole clock system (registering 45 blocks) D= to where the block is?
Posted by Brennen3828's Avatar
Brennen3828
Level 6 : Apprentice Explorer
3

Create an account or sign in to comment.

3

Jmal116
12/12/2013 5:28 pm
Level 33 : Artisan Engineer
Jmal116's Avatar
If the player is the one who is destroying the block, then the chunks where it is will be loaded while the player was there, so this error becomes a non-issue. If you would like though, you can keep a chunk loaded by placing 2 hoppers going back and forth into each other somewhere in the chunk.
1
kolokkol
12/12/2013 8:39 am
Level 27 : Expert Engineer
kolokkol's Avatar
"can't find block outside the world" means that the chunks aren't loaded. it is the best if the block and the clock are closer together. (50-100 blocks, It will not unload then)
1
Bongotezz
12/12/2013 5:37 am
Level 21 : Expert Ranger
Bongotezz's Avatar
you'll probably have to move the clock system closer. Download MCedit. you'll be able to quickly copy and paste the clock to the new location.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome