Skip to content

Feature/newer new chunks#18

Merged
omtoi101 merged 4 commits into
mainfrom
feature/newer-new-chunks
Sep 22, 2025
Merged

Feature/newer new chunks#18
omtoi101 merged 4 commits into
mainfrom
feature/newer-new-chunks

Conversation

@omtoi101

Copy link
Copy Markdown
Owner

No description provided.

google-labs-jules Bot and others added 4 commits September 21, 2025 17:12
Integrates the `NewerNewChunks` module from the Trouser-Streak addon into the StashHunter addon.

The `ElytraController` is modified to use the old chunk data from the `NewerNewChunks` module to generate waypoints for the bot's flight path.

Note: The `NewerNewChunks.java` file has a compilation error related to accessing the `Palette` from a `PalettedContainer`. The problematic code has been commented out to allow the addon to build, but the module will not be functional until this issue is resolved.
This commit introduces two main features to the ElytraController:
1.  **New Chunk Avoidance:** The bot will now actively avoid flying into new chunks by checking the area ahead and turning away if a new chunk is detected.
2.  **Old Chunk Pathing:** When old chunks are detected, the bot will generate a flight path that follows these chunks, instead of the default lawnmower pattern. A nearest neighbor algorithm is used to create a contiguous path.

These features are implemented using the `NewerNewChunks` module.

Note: The `NewerNewChunks.java` file has a compilation error in the agent's environment, but the user has stated that it will compile correctly in their own. The code has been implemented assuming the module is functional.
@omtoi101 omtoi101 merged commit d81e954 into main Sep 22, 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