-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Improve InventoryBehavior #4037
base: master
Are you sure you want to change the base?
Conversation
Also stole `Pair` from elytra branch 😎
While I'm looking at ToolSet (since there's multiple code paths that almost do the same thing but not quite, for example
|
will InventoryBehavior get a method to safely move items from, to, inside containers (like furnaces)? |
That's not an objective of this PR, but I hope to get the code to a point where adding such functionality would be as simple as creating a custom inventory move operation that could be submitted in a similar way to regular inventory->hotbar moves. |
Since I'll be away for the next couple days, will this be capable of doing what this patch could do all the time (i.e. move items on demand)? So far you only seem to plan on cleaning up the old behavior. To find a slot to move the item to, instead of using hardcoded slots |
Yes. I intend on moving all inventory management code to use
The
Good idea 👍 |
Tools are automatically moved from the inventory as of bc18f0e |
Eventually aiming to fix #4020, fix #3409, fix #3000, the first point listed in #3565, and probably other issues.
Supersedes #4021.