Posted 21 September 2012 - 09:51 PM
Simple mineshaft
there are probably a bunch of other programs just like this one, but this is my take on it.
It's a simple 2 high mineshaft miner that returns to it's point of origin and drops off to a chest on the left.
it places torches to stop mobs every 6 blocks.
it's here on pastebin : http://pastebin.com/8gWDZ7tu
as I said, nothing unique, just my version.
torches must be placed into the first slot, and a chest on the left of it's starting position.
It also cannot account for falling gravel, because while i tried to do this, it would not work. Still gonna keep trying. It will work through falling gravel, but it will mess up the count on how many blocks it has moved, and as such, where it will return to.
Simple farm
This farm simply goes in a line the distance you tell it to, and makes a farm along the way. It will not turn no matter how far it goes. And it uses the same code as my mineshaft for remembering how far to move, so be careful not to let it run into anything. It will deposit into a chest behind it's start position. It will not, for some reason, place the seeds it gathers into the seeds it uses to plant.
It even comes with a built in bonemeal mode.
If you do not enter bonemeal mode, when it reaches the end it will say do not disturb. Don't. It will sit there and wait for 20 minutes then harvest whatever grew. In bonemeal mode,it will not unload extra bonemeal but without it will of course still unload the slot bonemeal goes in. Interesting bug about bonemeal mode i can't seem to fix, it goes one further than you tell it to. And wastes a bonemeal if it's over grass. Just place cobble or water there to fix that.
Here it is on pastebin: http://pastebin.com/P5fGvPWz
ultra's not-so-simple staircase
I'm working on a program that will create a staircase going up or down, and will only use time trying to break stuff if you tell it there is stuff to break. however, it's not going so well. my if then statement won;t recognise that i put a then there.
here it is on pastebin if anyone is feeling generous enough to tell me what's wrong: http://pastebin.com/kd8CQ4Th
there are probably a bunch of other programs just like this one, but this is my take on it.
It's a simple 2 high mineshaft miner that returns to it's point of origin and drops off to a chest on the left.
it places torches to stop mobs every 6 blocks.
it's here on pastebin : http://pastebin.com/8gWDZ7tu
as I said, nothing unique, just my version.
torches must be placed into the first slot, and a chest on the left of it's starting position.
It also cannot account for falling gravel, because while i tried to do this, it would not work. Still gonna keep trying. It will work through falling gravel, but it will mess up the count on how many blocks it has moved, and as such, where it will return to.
Simple farm
This farm simply goes in a line the distance you tell it to, and makes a farm along the way. It will not turn no matter how far it goes. And it uses the same code as my mineshaft for remembering how far to move, so be careful not to let it run into anything. It will deposit into a chest behind it's start position. It will not, for some reason, place the seeds it gathers into the seeds it uses to plant.
It even comes with a built in bonemeal mode.
If you do not enter bonemeal mode, when it reaches the end it will say do not disturb. Don't. It will sit there and wait for 20 minutes then harvest whatever grew. In bonemeal mode,it will not unload extra bonemeal but without it will of course still unload the slot bonemeal goes in. Interesting bug about bonemeal mode i can't seem to fix, it goes one further than you tell it to. And wastes a bonemeal if it's over grass. Just place cobble or water there to fix that.
Here it is on pastebin: http://pastebin.com/P5fGvPWz
ultra's not-so-simple staircase
I'm working on a program that will create a staircase going up or down, and will only use time trying to break stuff if you tell it there is stuff to break. however, it's not going so well. my if then statement won;t recognise that i put a then there.
here it is on pastebin if anyone is feeling generous enough to tell me what's wrong: http://pastebin.com/kd8CQ4Th