So I am trying to create Mario in Minecraft and I had an idea for the pipes. I want to detect a block 4 blocks under the player and I have a block 3 blocks under the player so when you jump you go through the pipe. This command used to work perfectly until I closed out of minecraft and opened it again. I don't know whats wrong and if nobody knows then please provide an alternative. This is the command
/execute @a ~ ~ ~ detect ~ ~-4 ~ minecraft:wool 15 setblock 1179 64 -349 minecraft:redstone_block
I want it to detect black wool and then when it finds the black wool 4 blocks under the player it will create a redstone block powering a line of repeaters and command blocks that waits, teleports you down 1 block, waits again, teleports you down another, and waits a third time to teleport you down two to the secret room. The error that I am getting is
[21:28:27] Failed to execute 'detect' as Heroblind55246
Please help!
Edit: Now I get this error :
[19:26:15] Failed to execute 'setblock minecraft:redstone_block 1179 64 -349' as Heroblind55246