If you pick up a compacting drawer with items within, then place the drawer, withdrawing items creates ghost items in you inventory and drawer appears to update, but does not.
Reproduction steps
Minecraft 1.21
Fabric 0.16.0
Create a compacting drawer, and place.
Put a stack of gold ingots.
Break and replace the drawer.
Remove a gold block (the drawer appears to update).
Open your inventory and move the gold block to another slot (it vanishes).
Break and replace the drawer (total ingots will now appear to be the original amount loaded).
Mod version
3.0.2+mc.1.21
Operating System
Windows 10 and Ubuntu linux 18.0.4
Minecraft version
1.21
Other mods
Fabric 0.16.0
Fabric API 0.101.2+1.21 (automatically loaded)
Description of the issue
If you pick up a compacting drawer with items within, then place the drawer, withdrawing items creates ghost items in you inventory and drawer appears to update, but does not.
Reproduction steps
Minecraft 1.21 Fabric 0.16.0
Create a compacting drawer, and place.
Put a stack of gold ingots.
Break and replace the drawer.
Remove a gold block (the drawer appears to update).
Open your inventory and move the gold block to another slot (it vanishes).
Break and replace the drawer (total ingots will now appear to be the original amount loaded).
Mod version
3.0.2+mc.1.21
Operating System
Windows 10 and Ubuntu linux 18.0.4
Minecraft version
1.21
Other mods
Fabric 0.16.0 Fabric API 0.101.2+1.21 (automatically loaded)
Server
Not tested
Client
Happens
Logs
https://pastebin.com/9PJCA9m0
Extra Context
No response