How do I use command blocks to test for multiple blocks(a specified block)? I've been looking and no website will tell me. I have tried using many test for block but just lined up, but it takes long amounts of time and is very tedious.
You can chain
execute detect, for example like this:
/execute @p ~ ~ ~ detect ~ ~-1 ~ gold_block 0 execute @s ~ ~ ~ detect ~ ~2 ~ diamond_block 0 say hi
This makes every player who stands on a gold block and under a diamond block say "hi".