Minecraft Testfor command 1.14?

co
6

I think the command does not exist in the new versions, there's an alternative

fl

/ execute if…

co

OK thanks

cl

Execute if - the syntax is more complex and better - look it up in the wiki.

Gu

execute if does not allow to test the location of a player. I can not find the presence of a player on a block in 1.14.4 if someone can inform me thank you in advance

Gu

How do you testfor items in a chest? I type in /execute if block 153 4 100 chest{Items:[{id: diamond_sword}]}, and it says "Test failed" could anyone help?