MCPcopy Create free account
hub / github.com/cabaletta/baritone / mine

Method mine

src/main/java/baritone/process/MineProcess.java:505–520  ·  view source on GitHub ↗
(int quantity, BlockOptionalMetaLookup filter)

Source from the content-addressed store, hash-verified

503 }
504
505 @Override
506 public void mine(int quantity, BlockOptionalMetaLookup filter) {
507 this.filter = filter;
508 if (this.filterFilter() == null) {
509 this.filter = null;
510 }
511 this.desiredQuantity = quantity;
512 this.knownOreLocations = new ArrayList<>();
513 this.blacklist = new ArrayList<>();
514 this.branchPoint = null;
515 this.branchPointRunaway = null;
516 this.anticipatedDrops = new HashMap<>();
517 if (filter != null) {
518 rescan(new ArrayList<>(), new CalculationContext(baritone));
519 }
520 }
521
522 private BlockOptionalMetaLookup filterFilter() {
523 if (this.filter == null) {

Callers 2

onLostControlMethod · 0.95
mineByNameMethod · 0.95

Calls 2

filterFilterMethod · 0.95
rescanMethod · 0.95

Tested by

no test coverage detected