-
Notifications
You must be signed in to change notification settings - Fork 35
Description
On Erekir, the MinerAI breaks down, trying to mine ground items that are not mineable and ignoring those items that are.
Since MinerAI.java is only 78 lines, it should be possible to add the NetMinerAI tweaks directly. If that were done, the call to indexer.findClosestOre in line 43 could be set to a custom BlockIndexer subclass that doesn't have a if(tile.block() == Blocks.air){ (line 419 here) check, or even better, ??mixtech?? || ??serpulo?? == (tile.block() == Blocks.air).
The same tweak should be applied in public BlockIndexer() (line 88), and the call to indexer.hasOre(item) in line 121 in HudFragment.java here would need to be updated, to reference the 'static CustomIndexer'. This ensures that e.g. graphite can even be selected.
I sadly cannot currently make pull requests, and have not tested the tweaks I suggested, but I believe it should work.