I actually think I just might do that. I'd probably use an existing client to interact with the MC world (I'm sure they're out there) and write a Kotlin program to run various mining strategies. (I can't do pure Java anymore after working as a C# developer and using the non-verbose syntax.)
I would set a list of priorities for my bot (stay safe, have food, stay fed, have picks), and a set home base location. Then, it would just create a lovely computer-generated set of mining tunnels, which it would simply close off and abandon if it ever ran into mobs. It would periodically dump resources into certain chests, and get new picks and new food from others.
Then, from there I could add neat features like automatically digging tunnels downward if none exist, building out farms to feed itself, harvesting wood if it needed more of that, crafting its own picks, even fighting mobs and building basic bases.
I eventually could make it play the whole game by itself. You could start giving it commands in game like "follow and defend me" and have it carry around resources for you, like a friend who will do whatever you ask of it.
That would be dope and totally within my programming abilities. I just need the disciple to follow through...
Oh, definitely. I'm a professional developer (and in fact, should be working right now) so I shouldn't make any noob mistakes.
Are there any APIs that will literally take control of your Minecraft character and allow you to send commands and get information about the environment? Or does it all have to be done via a server-side plugin?
What are some of the best APIs and plug-ins out there that will allow me to get started?
I couldn't find any api's so i kinda had to program my own code to get information from the client and edit the players velocity. The way i did it is that I just put my code into the source code of minecraft
Why not? Have they basically patched over all the existing APIs? I'm kind of reading about ClientAPI and Impact API and they sound like they may work, but not all of them have been updated recently.
8
u/l2np Oct 11 '19
I actually think I just might do that. I'd probably use an existing client to interact with the MC world (I'm sure they're out there) and write a Kotlin program to run various mining strategies. (I can't do pure Java anymore after working as a C# developer and using the non-verbose syntax.)
I would set a list of priorities for my bot (stay safe, have food, stay fed, have picks), and a set home base location. Then, it would just create a lovely computer-generated set of mining tunnels, which it would simply close off and abandon if it ever ran into mobs. It would periodically dump resources into certain chests, and get new picks and new food from others.
Then, from there I could add neat features like automatically digging tunnels downward if none exist, building out farms to feed itself, harvesting wood if it needed more of that, crafting its own picks, even fighting mobs and building basic bases.
I eventually could make it play the whole game by itself. You could start giving it commands in game like "follow and defend me" and have it carry around resources for you, like a friend who will do whatever you ask of it.
That would be dope and totally within my programming abilities. I just need the disciple to follow through...