Skip to content

feat: add manual pest cleaning mode#53

Open
nedingus wants to merge 1 commit into
mizly:mainfrom
nedingus:feat/manual-pest-cleaning
Open

feat: add manual pest cleaning mode#53
nedingus wants to merge 1 commit into
mizly:mainfrom
nedingus:feat/manual-pest-cleaning

Conversation

@nedingus

Copy link
Copy Markdown

Manual Pest Cleaning Mode

Adds an opt-in alternative to the automated Pest Destroyer: instead of auto-navigating and vacuuming pests, Aether hands control back to the player. When pests spawn it tabs you in (failsafe-style), pauses the macro, lets you kill the pests by hand, then warps to garden and restarts farming once the tab shows them cleared.

With disco effectively gone and pest handling in the state it's in, some people would rather just do pests manually but keep the convenience around it — this makes that a one-toggle flow.

Flow

  • The pre-spawn prep loadout swap (1 → 2) still runs as usual.
  • On spawn: swap to the Pest Kill loadout, /setspawn at the farming spot, tab in, and pause the macro so keys are released.
  • You kill the pests manually.
  • On the last kill: /warp garden (back to the setspawn), restore the farming loadout, and restart farming — near-instant.

Settings (Pest Manager → Manual Pest Killing)

  • Manual Pest Killing master toggle
  • Detect Threshold (pests needed to trigger)
  • Tab In When Detected
  • Set Spawn on Detect
  • Auto Loadout Swap (kill loadout on spawn, farming loadout on resume)
  • Resume Confirm Delay, Resume Restart Delay, Re-trigger Cooldown sliders to tune how fast it returns to farming

Design notes

  • Self-contained in a new ManualPestManager, ticked from AetherAutomationTickHandler. While the mode is on, the automated cleaning trigger in PestManager is gated off, but the prep-swap is preserved so loadout handling still works.
  • Loadout swaps reuse the existing LoadoutManager/wardrobe path; the swap-back-to-farming on resume prevents resuming farming on the wrong loadout.
  • No new dependencies. Built and verified against MC 26.1.2 / Java 25.

Notes / open questions

  • Manual mode overrides the automated Pest Destroyer while enabled.
  • One inherent limit: since the player does the killing, "all pests cleared" is detected off the tab counter (no per-kill hook like the vacuum has), so the return waits on the tab refresh — the delay sliders let you minimise everything the mod adds on top of that.

Happy to adjust naming, defaults, or placement to match your preferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant