I'm moving an armor stand with command blocks and I want to check if the block under it is grass.
This is what I've done so far:
execute as @e[type=armor_stand] run execute if block ~ ~ ~ grass_block
This doesn't seem to be working and I cant figure out why. Any help is appreciated, Thanks!
~ ~ ~
is the current block, the one under the armor stand shouldn't be~ ~-1 ~
?