Affects Version/s: Minecraft 17w49b
Fix Version/s: Minecraft 17w50a
Windows 10, Java 1.8.0_25 64bit
Consider the following custom tag.
When this tag is used to test for blocks, it correctly finds grass blocks and does not find other blocks, but it incorrectly finds air. This is shown in the attachment setup.png, where each command block contains the following command:
execute if block ~-2 ~ ~ #test:grass_block run say <block>
where <block> is replaced by the name of the block it is testing for. After pushing the button, it is clear that, alongside grass, air is also detected by this custom tag. If the non-existent block "minecraft:doesnotexist" is removed from the list, then it does correctly not detect air.
The expected behaviour is that an error or a warning is shown in the game log, and that it does not detect air.