Feature/newer new chunks#18
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.