-2

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 :)

1
  • 1
    That command already looks correct. What is your actual issue with it? Commented Sep 2, 2020 at 20:53

1 Answer 1

2

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!

1
  • oh also I forgot to make it a repeating command block XD
    – Locomeon
    Commented Jun 11, 2020 at 19:48

Not the answer you're looking for? Browse other questions tagged .