12 posts
Posted 29 January 2013 - 02:22 AM
I have been working on a program to auto farm trees. I'm just wondering if anyone knows if this function can detect specific blocks, like wood, instead of there simply being a block.
Thanks!
8543 posts
Posted 29 January 2013 - 04:45 AM
Split into new topic.
You're most likely looking for turtle.compare.
2005 posts
Posted 29 January 2013 - 06:34 PM
It's worth noting that currently turtle.compare (along with the Up/Down versions) is quite specific, requiring that the block ID and all block metadata match exactly. Thus it currently does not recognize sideways logs as being the same as regular logs. The development team is currently working on a way to address this, but may have to wait for a Forge update.