Ignore data value for execute ... detect
//ads -- adsterra.com -- native banner
?>
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 <data value>)
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
Pictures about "Ignore data value for execute ... detect"



Removing NAs in R dataframes
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ivan Babydov, Alesia Kozik, Monstera, Andrea Piacquadio
