Is there any way to avoid specifying the data value when using the detect syntax of execute (
execute ... detect ~ ~ ~ ...)?
I want to execute on an item and detect if there is stone under it and an anvil at ~+1 ~ ~, but the problem is that an anvil facing towards +x has a different data value than one facing towards -x etc. Do you know any way in Minecraft Vanilla to ignore this data value or put there universal one? (I can't just stop command because i need
<command> that is after
At the moment command looks like that:
execute @e[type=Item] ~ ~ ~ detect ~ ~-1 ~ minecraft:stone 0 execute @e[type=Item] ~ ~ ~ detect ~1 ~ ~ minecraft:anvil <data value> say hi