Posted 24 February 2016 - 12:05 PM
Using latest version of FTB infinity evolved.
link to pastebin code: http://pastebin.com/mTsFaMjf
The Problem:
There are no error messages showing up.
If there ARE blocks in front of it it will mine the block in front and stop without having moving or digging up or down. The program is still running.
If there ARE NOT blocks in front it will move forward once and repetitively dig down. The program is still running.
So from my knowledge it is getting stuck in the digDown() loop if there aren't any blocks. but why?
Sections Explained:
Section 1:
for each dig function it is saying
if the detected block is not air, keep mining until it is.
Section 2:
mine forward till there is an airblock
move forward
mine up until there is an airblock
mine down until there is an airblock
Section3:
repeat section 2 until i > x
Does the data need to be constantly refreshed? Perhaps move the data sets into the function code?
Cant figure out a solution. I hope the code is neat enough for you :)/>
link to pastebin code: http://pastebin.com/mTsFaMjf
The Problem:
There are no error messages showing up.
If there ARE blocks in front of it it will mine the block in front and stop without having moving or digging up or down. The program is still running.
If there ARE NOT blocks in front it will move forward once and repetitively dig down. The program is still running.
So from my knowledge it is getting stuck in the digDown() loop if there aren't any blocks. but why?
Sections Explained:
Section 1:
for each dig function it is saying
if the detected block is not air, keep mining until it is.
Section 2:
mine forward till there is an airblock
move forward
mine up until there is an airblock
mine down until there is an airblock
Section3:
repeat section 2 until i > x
Does the data need to be constantly refreshed? Perhaps move the data sets into the function code?
Cant figure out a solution. I hope the code is neat enough for you :)/>