MrKinau / FishingBot

1.8 - 1.21 Fishing bot for Minecraft
GNU General Public License v3.0
322 stars 68 forks source link

mining bot #6

Closed Skided closed 3 years ago

Skided commented 5 years ago

please do that they can put items they catch in chest and please make automine bots

MrKinau commented 5 years ago

This bot is not intended to do other things except fishing, but I don't know if there are other bots for mining etc out. Maybe I will extend the functionality if there is nothing else out. The thing with the chest is not really important, because you can build a simple setup with a hopper (like normal afk fishing farms) that collects everything

MrKinau commented 5 years ago

Havent found any good free mining bots. I am working on an mining implementation, but I cant promise that it will be added in the future.

gargamelbot commented 4 years ago

the mining feature will be soon?

MrKinau commented 4 years ago

Not soon. Sorry to say that. I've started to code and it's much work. As I last worked on it I was able to let the bot mine straight forward and it won't kill itself with falling blocks, but there are other difficulties it have to pass like water/lava etc. Overall it's just much work and I have done this only for the 1.8. To the 1.14. are at least 2 major chunk protocol changes that I have to understand and implement.

To summarize it: I'm still interested in this feature and it might come someday, but currently I have not that much time, because I also have several other projects (e.g. from university) which are more important. Sorry

gargamelbot commented 4 years ago

You can take some codes from baritone

MrKinau commented 4 years ago

Baritone looks to be some kind of mod and so don't have to handle the protocol and can use Minecraft methods. I can't use the protocol like baritone. This bot is somekind of a new mc client. The whole packet handling is self-made (or stolen from some other projects like TorchBot)

MrKinau commented 4 years ago

As there is an interest for such feature, I'm focusing on an implementation.

Current progress is this: https://youtu.be/Z4IJXCul8zk

gargamelbot commented 4 years ago

what is the progress

MrKinau commented 4 years ago

Haven't spent much time on it. It's still only 1.8.X, some things I added is Gravity and block placement to avoid lava/water, but this doesn't work well, because of the vanilla anti-cheat I think. But it's only a prototype atm. Before it could be merged into this project, the project need to split up into multiple modules (e.g. simple bot (does nothing, just authentication and server join), fishing bot and mining bot). That needs much time to refactor and atm I am still having projects at university, which costs much of my time. Another big step is to make this feature available for all versions (I've read that the newer Chunk packet (1.14+ i think) isn't easy to implement).

MrKinau commented 4 years ago

Well I just worked on it today a little bit: https://youtu.be/V641ZxmTvvg

BUT it's just a prototype. Main problem is that the player still dies pretty fast.

matthewfcarlson commented 4 years ago

Do you have a branch with your work?

MrKinau commented 4 years ago

The branch feature/mining is targetting the current progress. It's currently not usable for productive usage and only implements chunk / inventory handling + simple mining. I will work on it if the base is more modular and not only a Only-Fishingbot. Maybe I'll find some time to do this with the 1.16 release

matthewfcarlson commented 4 years ago

No worries- I understand the time pressures that come from university and life

Nidelon commented 4 years ago

You already need to transfer this to another project or connect them, but then you will get a bot not for fishing :)

MrKinau commented 3 years ago

Want to keep the issues only fishing related. I think (as it is over a year ago) I am not confident enough to do this. Sorry