Posted 06 March 2012 - 04:23 PM
turtle.setPos(x,y,z) - would set the relative position of the turtle. This would be saved on a per-turtle basis, and would be persistent, and would be affected by the movements of the turtle.
turtle.getPos("x/y/z") - returns coordinates base on what axis you give it.
turtle.examine("front/back/left/right/up/down") - returns block type, if no type available, then return ID. Require some sort of eye attachment?
turtle.detectLeft() - Self explanatory. good for pathfinding so you don't have to turn every block to see if there's something next to it.
turtle.detectRight() - see above
turtle.getPos("x/y/z") - returns coordinates base on what axis you give it.
turtle.examine("front/back/left/right/up/down") - returns block type, if no type available, then return ID. Require some sort of eye attachment?
turtle.detectLeft() - Self explanatory. good for pathfinding so you don't have to turn every block to see if there's something next to it.
turtle.detectRight() - see above