I am trying to test for a Redstone block using the /testforblock 42 6 79 redstone_block

could someone explain how to use this command correctly?

I am playing on bedrock :)


Using the /testforblock command by itself doesn't do anything. You need to create a command chain with the /testforblock command for it to have a result.

Here is how to create a command chain.

You need to have 1 chain command block after the 1st command block (the one with the /testforblock.) This command block needs to be set to conditional mode. This means it will only run if the /testforblock succeeds!

| improve this answer | |
  • oh also I forgot to make it a repeating command block XD – Locomeon Jun 11 at 19:48
  • If you liked my answer please consider clicking the check button to let everybody know that the problem is solved. – ExpertCoder14 Jun 14 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.