Minecraft 1.14 when a player is standing on a block execute command?

Ab
2

How can you query in Minecraft in 1.14 whether a player stands at a certain coordinate and then execute a command?

Ta

/ execute if entity @a [x = 1, y = 1, z = 1, dx = 0, dy = 0, dz = 0] run [COMMAND]

This should be it! Just change the coordinates and the command.
Hope that helps!

Ab

Thanks, will test it