mojira.dev
MC-122514

Execute fails to detect Grass Block (using new command)

/execute at @p if block ~ ~-1 ~ minecraft:grass run say Yes

Fails to detect grass but:

/execute at @p if block ~ ~-1 ~ minecraft:dirt run say Yes

can detect dirt like expected.

Comments 2

Use

/execute at @p if block ~ ~-1 ~ minecraft:grass_block run say Yes
/execute at @p if block ~ ~-1 ~ minecraft:grass_block run say Yes

Oh, wow duh. Thank you soo very much. I have been doing a while now so when they changed this. I have to say I was ready to just stop so thank you!

TheTamedWolf

(Unassigned)

Unconfirmed

Minecraft 17w47b

Retrieved