Posted 02 February 2013 - 08:33 AM
Hi again.
Since this forum *actually* contains "pros" I figured I'd ask here again.
I made a program that makes a safe tunnel through the nether for me(digging a 2x1 tunnel and placing blocks when there is a hole that shouldn't be, to avoid lava.).
Problems arise when my turtle passes through a large open area though, which makes him run out of blocks but still tries to complete the "todo", so my question is:
Can someone please be so kind as to tell me how to make him check his active slot *and* if empty transfer from any inactive slot to slot(1)?
I checked the wiki, and considered trying "for x = 2, 16 do", but I have no idea if/how that will actually work.
Will I need to use both "compare" and "transfer" here, or is there a simpler way?
If an easy way, please supply the correct wiki link or the actual function line.
Thank you all for your awesomeness!
Since this forum *actually* contains "pros" I figured I'd ask here again.
I made a program that makes a safe tunnel through the nether for me(digging a 2x1 tunnel and placing blocks when there is a hole that shouldn't be, to avoid lava.).
Problems arise when my turtle passes through a large open area though, which makes him run out of blocks but still tries to complete the "todo", so my question is:
Can someone please be so kind as to tell me how to make him check his active slot *and* if empty transfer from any inactive slot to slot(1)?
I checked the wiki, and considered trying "for x = 2, 16 do", but I have no idea if/how that will actually work.
Will I need to use both "compare" and "transfer" here, or is there a simpler way?
If an easy way, please supply the correct wiki link or the actual function line.
Thank you all for your awesomeness!