Skip to content

Optimizing and clean up. - #50

Closed
Lumitani-pixel wants to merge 6 commits into
MiranCZ:mainfrom
Lumitani-pixel:main
Closed

Optimizing and clean up.#50
Lumitani-pixel wants to merge 6 commits into
MiranCZ:mainfrom
Lumitani-pixel:main

Conversation

@Lumitani-pixel

@Lumitani-pixel Lumitani-pixel commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Summary

I optimized the killaura and cleaned it up and I did the same for the ChunkSearchTasks.
I also did a light cleanup in some files. (no breaking changes and no method removal)

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.

@MiranCZ

MiranCZ commented Oct 10, 2025

Copy link
Copy Markdown
Owner

Log4J dependency is not needed, you can look at https://docs.fabricmc.net/develop/debugging

@MiranCZ MiranCZ left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments.
I would generally be cautious making these big "cleanup" changes because its easy to get wrong, but the logic seems correct.

case OVERWORLD, NETHER -> {
if (timer.getDuration() >= 30) {
}
if (timer.getDuration() >= 30) {}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I think the newline was better

* - Directional bias to reduce ping-pong movement
* - BFS-style neighbor expansion for spatial continuity
* - Caching of chunk search results
* - Optional parallel scanning (lightweight)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole commit looks very AI generated. I am not merging obvious AI slop.

targetSlot.ifPresent(slot -> mod.getSlotHandler().clickSlot(slot, 0, SlotActionType.PICKUP));
}

// Release all held inputs and resume automation

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment feels useless

@Lumitani-pixel

Copy link
Copy Markdown
Contributor Author

made a new commit where i fixed the problems with the last ones

@Lumitani-pixel

Copy link
Copy Markdown
Contributor Author

Could you pls review my new commit to check if everything is fine now. I removed and added everything in the change request.

@Lumitani-pixel

Copy link
Copy Markdown
Contributor Author

Almost a month So I dont think there is much happening anymore

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.

2 participants