This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
pofferman's profile picture

commands.getBlockInfo(x, y, z)

Started by pofferman, 23 December 2015 - 03:49 PM
pofferman #1
Posted 23 December 2015 - 04:49 PM
I think that the command
commands.getBlockInfo(x, y, z)
should also return the faceing value of a turtle or a computer. This would be extremly usefull for navigation systems.

Would love if it would get included in cc:)
Thanks.
SquidDev #2
Posted 23 December 2015 - 06:10 PM
In 1.76 (the 1.8 version) I believe such a command exits: it returns all blockstates for that block (such as turtle type, facing direction, etc…). This wouldn't be as easy in 1.7.10.
pofferman #3
Posted 23 December 2015 - 06:18 PM
Ok, didnt know that. Isnt the 1.76 version in Beta?
Wojbie #4
Posted 23 December 2015 - 06:54 PM
Yes. That is currently in beta version.
dan200 #5
Posted 26 December 2015 - 11:20 PM
1.76 includes blockstate info in the results. For many blocks, this includes facing.