execute if block doesn't work when used alone
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
I tried with the command:
/execute if block ~ ~ ~ stone
Error:
Unknown command at position 28: ... ~ ~ stone<--[HERE]
Created Issue:
execute if block doesn't work when used alone
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
/execute if block ~ ~ ~ stone
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
/execute if block ~ ~ ~ stone
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
I tried with the command:
/execute if block ~ ~ ~ stoneError:
Unknown command at position 28: ... ~ ~ stone<--[HERE]
It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
I tried with the command:
/execute if block ~ ~ ~ stoneError:
Unknown command at position 28: ... ~ ~ stone<--[HERE]It works for all the other execute if commands so expected it to also work for execute if block. Currently it comes up with an error.
I tried with the command:/execute if block ~ ~ ~ stoneError:
Unknown command at position 28: ... ~ ~ stone<--[HERE]
What is the exact command used and the error you get?
The other "execute if" subcommands work fine on their own (without a "run <command>").
/execute if entity @sparses and runs fine.
/execute if score @s test = foo testparses and runs fine.
/execute if block ~ ~ ~ stoneparses fine but returns an error when running: "Unknown command at position 30: ...~ ~ stone<--[HERE]"
Exactly as they mentioned above.
My command is just a tiny bit more complex, but just for testing:
execute if blocks -183 -60 343 -181 -58 345 -183 -60 348 all run say helloEven though it works and runs just fine, it still gives the error message:
Incorrect argument for command at position 61: ...0 348 all <--[HERE]So, according to the error message, my 'run say hello' shouldn't run, but it does.
Edit: forgot to mention that I was using 1.21