Crafting Tweaks

Crafting Tweaks

111M Downloads

Decompress hotkey ignores item leaving behind after crafting

progheal opened this issue · 0 comments

commented

Bug Description
The decompress hotkey ignores item leaving behind after crafting. That is, if a one-item recipe leave something behind, use decompress on that item will delete the item leaving behind.

How to reproduce
Pam's HarvestCraft 2 has a recipe to craft a water bucket into 8 fresh water, leaving a bucket behind.

  1. Install Crafting Tweaks & Pam's HarvestCraft 2 Food Core.
  2. Rebind decompress to a hotkey. (All three kind of decompress have this problem.)
  3. Create a world or go into a world.
  4. Get a bucket of water, put it in any crafting grid to craft fresh water.
    → ⭕ 8 fresh water is crafted, leaving one bucket on the grid.
  5. Get another bucket of water. Open inventory, while mouse is hovering over the bucket of water, press the hotkey rebound in 2.
    → ❌ 8 fresh water is crafted, but no bucket is left.

Game Version
Minecraft: 1.16.5
Forge: 36.1.0
CraftingTweaks: 1.16.3-12.2.0
Pam's HarvestCraft 2 Food Core: 1.16.3-1.0.2

Note
Compression do leave item behind: The vanilla recipe of 4 honey bottles to 1 honey block leaves 4 glass bottles behind, and pressing compress hotkey on 4 honey bottles do give back 4 glass bottles in addition to the 1 honey block crafted.