You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.javahere 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.
The text was updated successfully, but these errors were encountered:
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 customBlockIndexer
subclass that doesn't have aif(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 toindexer.hasOre(item)
in line 121 inHudFragment.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.
The text was updated successfully, but these errors were encountered: