Wurst7
Wurst7 copied to clipboard
AutoFarm use any hotbar item to break crops
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.
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
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:
- They are duplicates of other issues
- There is not enough demand
- They are no longer relevant
- There are not enough details
//