Issue description: If a network tries to move an entire stack of items into a basin, sometimes it disappears.
Steps to reproduce: Try to move a stack of an item (I used nether wart, the issue exists for some items but not others) from a chest into a basin.
Versions:
Minecraft: 1.16.5
Forge: 36.2.34
CompatLayer (only if on Minecraft 1.10 or 1.11):
McJtyLib: 1.16-5.1.7.35
XNet: 1.16-3.0.17
Possibly incompatible mods and versions: none (issue reproduced in minimal environment with just XNet and create)
Relevant logs, if any: None
This appears to be caused by the basin's IItemHandler giving inaccurate results when inserting items on simulation. When simulating an insert, the basin reports that it can take the entire stack of items, but when actually inserting it can only take 16.
I'm hesitant to call this a bug on Create's part, since I'm pretty sure simulate isn't required to be accurate (well... at least one other dev believes this).
Also, I've tested some other pips, like pretty pipes, and they seem to handle it fine, so I think XNet should stop relying on simulate.
Anyhow, I can fix this in a PR if you'd like (I'm already going to code it anyways just for my own use).
EDIT: IItemHandler simulation is accurate, ItemHandlerHelper simulation is causing the problem.
Issue description: If a network tries to move an entire stack of items into a basin, sometimes it disappears.
Steps to reproduce: Try to move a stack of an item (I used nether wart, the issue exists for some items but not others) from a chest into a basin.
Versions:
Possibly incompatible mods and versions: none (issue reproduced in minimal environment with just XNet and create)
Relevant logs, if any: None
This appears to be caused by the basin's IItemHandler giving inaccurate results when inserting items on simulation. When simulating an insert, the basin reports that it can take the entire stack of items, but when actually inserting it can only take 16. I'm hesitant to call this a bug on Create's part, since I'm pretty sure simulate isn't required to be accurate (well... at least one other dev believes this). Also, I've tested some other pips, like pretty pipes, and they seem to handle it fine, so I think XNet should stop relying on simulate. Anyhow, I can fix this in a PR if you'd like (I'm already going to code it anyways just for my own use).
EDIT: IItemHandler simulation is accurate, ItemHandlerHelper simulation is causing the problem.