The command /execute with detect does not work in command blocks and functions and only works in chat.
This works in Minecraft 1.11.2
For example:
/execute @p ~ ~ ~ detect ~ ~-1 ~ minecraft:grass -1 say grass
Linked issues
duplicates 1
Attachments
Comments 0
No comments.