1
/testforblock help
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?
Create an account or sign in to comment.
3
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.
"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)
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.