Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

make a really move to <position> command #12

Open
6 tasks done
rom1504 opened this issue Feb 7, 2013 · 4 comments
Open
6 tasks done

make a really move to <position> command #12

rom1504 opened this issue Feb 7, 2013 · 4 comments

Comments

@rom1504
Copy link
Owner

rom1504 commented Feb 7, 2013

It would be a command that get to the position even if it's :

  • very far away : it could go in the general direction until it's near enough then try using the move to command
  • underground : it could use repeat spiral down until it's underground enough then use repeat dig forward to get to the position
  • in a close space : it could use repeat dig forward to get inside
  • in the air : it could use the (not yet implemented) build command to get there (and possibly use the get command to get enough block)
  • under water : one way is to build a descending ladder down the water (after getting at the right x and z with the build command)
  • under lava : maybe the same way than water, but it will probably be harder for the bot not to get killed
@rom1504
Copy link
Owner Author

rom1504 commented Feb 11, 2013

smove command try to to this
I didn't use the spirals command and instead just get up and down, maybe I could do another command using spiral up and spiral down.
Left to do : under water and under lava

@andrewrk
Copy link

at some point I will make the movement from miner into a mineflayer plugin. maybe we could share code and combine our efforts so that the increaseY and decreaseY strategy uses a spiral instead of a straight line

@andrewrk
Copy link

I found that you can avoid lava/water death by a simple algorithm: whenever you are about to break a block, if any of the blocks on any side is water or lava, place a block on that side replacing the lava or water before breaking the target block

@rom1504
Copy link
Owner Author

rom1504 commented Feb 23, 2013

What's missing :

  • be able to survive : eat, don't get killed by mob
  • integrate cget command with smove in order to get the needed tools and blocks

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants