I’m trying to use the testfor command to test if a player is on a certain block. However, even though the radius is set to 1, the command block tests 4 blocks.
I’ve done a bit of research and saw that you could maybe overload the r integer to set it to a true 1, but it doesn’t seem to work on bedrock. Can anyone help? Can I do a similar maneuver with the execute command?
try using /testfor @e[dy=1] It will do a 2 block height but if you set it so the command is one block lower than ground level it will be exactly what you are looking for
Hi,
I’m trying to use the testfor command to test if a player is on a certain block. However, even though the radius is set to 1, the command block tests 4 blocks.
I’ve done a bit of research and saw that you could maybe overload the r integer to set it to a true 1, but it doesn’t seem to work on bedrock. Can anyone help? Can I do a similar maneuver with the execute command?
try using /testfor @e[dy=1] It will do a 2 block height but if you set it so the command is one block lower than ground level it will be exactly what you are looking for