
Drawers delete items upon insertion [mod compatibility issue - Modern Industrialization]
jamesjimmy88 opened this issue ยท 1 comments
As per title. When you have a Modern Industrialization machine auto-ejecting its content into a filled drawer some items will be deleted when you take them out of the drawer. The hopper in this setup can reproduce the issue consistently, making it so 2 items are deleted every hopper pull.
The mod's author implemented a warning message to debug this behavior and this is what it's outputting
[Server thread/WARN] [Modern Industrialization/]: Item handler com.jaquadro.minecraft.storagedrawers.capabilities.PlatformDrawerItemHandler@2ba8f28 rejected 2 minecraft:raw_iron, discarding.
Tested on NeoForge 21.1.129, Storage Drawers 13.8.5 and Modern Industrialization 2.3.2
To provide more info: trying to import items in the drawer using one of the mod's pipes returns this debug message:
[Server thread/ERROR] [Modern Industrialization/]: Discarding overflowing item 2 minecraft:raw_iron, extracted from block at position BlockPos{x=-24, y=0, z=16} in ResourceKey[minecraft:dimension / minecraft:overworld], accessed from north side.
Trying to insert into block at position BlockPos{x=-24, y=0, z=14}, accessed from south,
of type Block{storagedrawers:oak_full_drawers_1}.It previously reported that it would accept 3 items, but it only did accept 1.
That last line changes according to the amount that's needed to fill the drawer and it says that the block would accept three times that amount (so if the drawer contains 2040 items the error message will say that it reported that it would accept 24 items - it looks like it never goes above 60).