michaelzangl / minebot

Minebot
GNU General Public License v3.0
146 stars 48 forks source link

Which files are needed for the mining aspect of this project? #163

Closed ali6836 closed 7 years ago

ali6836 commented 7 years ago

I wish to attempt to update minebot, but only for the mining feature. Which files do I need for the mining aspect of this mod.

michaelzangl commented 7 years ago

Most of them.

Minebot works using strategies. The strategies are quite universal. Once you get mining working, lumberjack and most other features will work as well automatically, since they use the same data structures.

ali6836 commented 7 years ago

When you say most of them, does that also include all of the net.famzangl.minecraft.minebot.build files or not? I'm quite new to coding, and have gotten rid of 300 of the 1000+ errors.

michaelzangl commented 7 years ago

No, the .build files are not required. They don't contain much minecraft-version-dependent stuff (at least not the one that could not be changed using a simple search+replace). Map is not needed as well.

The most important part is in the .ai package. But this is the biggest one. Do not only search for compile errors - you need to adjust the reflective calls, too.

You might be able to remove/fake the net handler and play without it.