Item deletion bug when using crafting upgrade
duck-mon opened this issue ยท 0 comments
Describe the bug
Shift-clicking an item into a backpack with the crafting table upgrading table open causes items to prioritize the crafting table inventory. If the item in the output is the same as the item being shift-clicked into the backpack, the transferred item will sit in the output inventory of the crafting table. Removing the input item in the crafting window or shift-clicking more than 64 (including the output) will delete items. If the amount is 64 or less (including the recipe amount), any items shift-clicked into the output window will be deleted if the recipe is not finalized.
Info on what other mods you're using that may cause a conflict here if applicable.
I'm playing on the Enigmatica 6 modpack.
To Reproduce
Steps to reproduce the behavior:
- Open backpack
- Click on crafting tab
- Place an ingot into the crafting grid to show the nugget conversion recipe.
- Have a separate stack of the nuggets that would be produced either in backpack or main inventory.
- Shift-click to quick transfer items into grid
- Any amount past 64 will overflow the output inventory and will go into the crafting grid causing item deletion.
Alternative: - Place an ingot into the crafting grid to show the nugget conversion recipe.
- Have any amount of nuggets that would not total 65 or more. (Ex. recipe makes 9 nuggets + 21 nuggets in inventory)
- Shift-click to quick transfer items into grid
- The output inventory should total what the recipe would make in addition to whatever that was shift-clicked
- Remove crafting input item
- The items moved into the crafting grid are missing.
Expected behavior
Item deletion when shift-clicking items into crafting grid
Screenshots
If applicable, add screenshots to help explain your problem.
Notice the count,
The stack overflows from output into the input, breaking the recipe and deleting the output. Count in backpack has not changed.
Alternatively.
Notice inventory count and backpack count.
Now notice the count in the output.
Backpack count is not updated once removing the diamond block from inventory. Re-inserting diamond block returns only 9 diamonds, 32 diamonds are deleted.
Versions
Mod version that you're using. Version of forge may also be helpful in some cases
sophisticatedbackpacks-1.16.5-3.0.3.297
forge 36.2.2