Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How do I get my command block to test for a birch log in 1.8? What are the new item names?
I have already tried names like "birch_log", "17:2", "log:2" and so on. Google is against me on this as well.
/testforblock x y z minecraft:log 2
2 for facing up/down, 6 for facing east/west, 10 for facing north/south, 14 for with only bark.
Minecraft 1.13 removed the concept of data values, making commands like this much simpler:
/execute if block x y z minecraft:birch_log
(/testforblock was merged into /execute)
Required, but never shown