perf: re-evaluate wart targets after each confirmed tool swing #95

Merged
gecko merged 1 commit from t3/toolmode-opportunistic into main 2026-11-02 19:02:04 +00:00
Owner

After a confirmed nether-wart tool swing, rank every reachable ripe target again instead of letting the pre-aimed route target pin the next swing. The prepared target remains a fallback, so sideways and diagonal opportunities are used before moving on.

This targets the observed single-direction swing cadence without relaxing the one-unconfirmed-swing or packet/reach guards.

Validation: ./gradlew test --tests systems.gecko.mcbot.farming.WartToolSweepTest --tests systems.gecko.mcbot.farming.WartToolRouteTest.

After a confirmed nether-wart tool swing, rank every reachable ripe target again instead of letting the pre-aimed route target pin the next swing. The prepared target remains a fallback, so sideways and diagonal opportunities are used before moving on. This targets the observed single-direction swing cadence without relaxing the one-unconfirmed-swing or packet/reach guards. Validation: `./gradlew test --tests systems.gecko.mcbot.farming.WartToolSweepTest --tests systems.gecko.mcbot.farming.WartToolRouteTest`.
perf: re-evaluate all reachable wart tiles after confirmation
All checks were successful
build / Java 25 build (pull_request) Successful in 2m57s
f41b3f5cf6
After a confirmed tool swing, rank every reachable ripe target again instead of letting the pre-aimed route target pin the next swing. Keep the prepared target as a fallback when no other tile is usable, so sideways and diagonal opportunities are taken before moving on.
gecko merged commit 3eab6fad83 into main 2026-11-02 19:02:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gecko/mcbot!95
No description provided.