[1.12.0-0.230] - Item Vacuum assumes stack size of 64
JaSpr opened this issue ยท 5 comments
Steps to Reproduce
- Attach Vacuum to chest as output.
- Power vacuum
- Place stack of eggs in 1st slot of chest.
- put eggs in front of vacuum
Expected behavior
Vacuum places new eggs in second (or other) slot of chest inventory
Actual behavior
Vacuum does not place any more eggs in chest.
Vacuum continues to accept eggs (and only eggs) but cannot output eggs in the chest if the first stack of eggs it comes to is full (with 16 eggs).
I am assuming because it thinks it needs to put more eggs in the full slot, because it didn't check the stack size for the item it has in inventory.
I believe you can do something as simple as item.stackSize()
to get the actual stack size. It's been a while since I've worked with it.
For players: A simple workaround is to have the Item Vacuum feed into a hopper, and have the hopper drain into the target chest. The hopper should never have a single slot full with 16 eggs, so long as it can keep draining into the chest (so, so long as there's room in the chest for more eggs)