-
-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoFarm use any hotbar item to break crops #822
Comments
Hey @Lamby777, Thanks for the suggestion! That sounds like a useful feature to have. We could add a setting that allows AutoFarm to detect Fortune tools and automatically use them for harvesting crops while keeping the seeds in the offhand. I'm currently working on an InventoryUtils class as part of my AutoFish rewrite. This should make inventory management a lot easier once all of the inventory-related hacks use it. After finishing the AutoFish rewrite, I might work on rewriting AutoFarm's inventory management next. This should make it feasible to implement the option you've suggested. However, I would like to caution you against trying to modify AutoFarm's current code to work with the offhand. It might be a lot more complicated than it looks and could lead to unexpected issues. Let's wait until the new inventory management system is in place before implementing this feature. Cheers! |
I managed to implement your idea, along with some other enhancements, in #846. |
So the inventory refactoring stuff is done now? Or should I still wait before doing any inventory-related stuff? |
Yeah, it looks like AutoFarm uses InventoryUtils now. |
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks. Issues should be closed if:
|
PR is still open |
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks. Issues should be closed if:
|
among us |
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks. Issues should be closed if:
|
closable? is this still relevant? (ignore my deleted comment, i mixed this up with a different issue 💀) |
This issue has been open for a while with no recent activity. If this issue is still important to you, please add a comment within the next 7 days to keep it open. Otherwise, the issue will be automatically closed to free up time for other tasks. Issues should be closed if:
|
// |
Pickaxes (and probably other tools, not sure) with Fortune on them apply to crops, so AutoFarm could be made WAY more efficient by putting the crop in the offhand and using the main hand to break stuff, then allowing the user to switch whatever item like a Fortune III pickaxe into their main hand.
Not sure how complicated this'd be, though. I could give it a try, but I've never messed with any real inventory management hacks so I'd probably write really crappy code.
The text was updated successfully, but these errors were encountered: