Sophisticated Backpacks

Sophisticated Backpacks

89M Downloads

Item deletion bug when using crafting upgrade

duck-mon opened this issue ยท 0 comments

commented

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:

  1. Open backpack
  2. Click on crafting tab
  3. Place an ingot into the crafting grid to show the nugget conversion recipe.
  4. Have a separate stack of the nuggets that would be produced either in backpack or main inventory.
  5. Shift-click to quick transfer items into grid
  6. Any amount past 64 will overflow the output inventory and will go into the crafting grid causing item deletion.
    Alternative:
  7. Place an ingot into the crafting grid to show the nugget conversion recipe.
  8. Have any amount of nuggets that would not total 65 or more. (Ex. recipe makes 9 nuggets + 21 nuggets in inventory)
  9. Shift-click to quick transfer items into grid
  10. The output inventory should total what the recipe would make in addition to whatever that was shift-clicked
  11. Remove crafting input item
  12. 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.
image
Notice the count,
image
The stack overflows from output into the input, breaking the recipe and deleting the output. Count in backpack has not changed.

Alternatively.
image
Notice inventory count and backpack count.
image
Now notice the count in the output.
image
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