Skip to content

feat: Add pause and resume functionality to StashHunter#17

Merged
omtoi101 merged 1 commit into
mainfrom
feature/stash-hunter-trip-resume
Sep 21, 2025
Merged

feat: Add pause and resume functionality to StashHunter#17
omtoi101 merged 1 commit into
mainfrom
feature/stash-hunter-trip-resume

Conversation

@omtoi101

Copy link
Copy Markdown
Owner

Adds the ability to pause and resume stash hunting trips. Trips are saved to a file, allowing them to be resumed across game sessions.

New commands:

  • .stashhunter pause: Pauses the current trip and saves it to a file.
  • .stashhunter resume [timestamp]: Resumes the latest trip, or a specific trip if a timestamp is provided.
  • .stashhunter list: Lists all saved trips with their timestamps.

Includes:

  • A TripManager to handle saving and loading trip data.
  • A custom GSON TypeAdapter for Vec3d objects.
  • Refactoring of ElytraController to reduce code duplication.

Adds the ability to pause and resume stash hunting trips. Trips are saved to a file, allowing them to be resumed across game sessions.

New commands:
- `.stashhunter pause`: Pauses the current trip and saves it to a file.
- `.stashhunter resume [timestamp]`: Resumes the latest trip, or a specific trip if a timestamp is provided.
- `.stashhunter list`: Lists all saved trips with their timestamps.

Includes:
- A `TripManager` to handle saving and loading trip data.
- A custom GSON `TypeAdapter` for `Vec3d` objects.
- Refactoring of `ElytraController` to reduce code duplication.
@omtoi101 omtoi101 merged commit fe93a3e into main Sep 21, 2025
1 of 2 checks passed
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