GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Robot arm keep exact doesnt work when pushing from a pipe

Closed this issue ยท 2 comments

commented

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.6.4 AND 7.0.2 (same behaviour in both)

Minecraft Version

1.20.1 Forge

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

None

Expected Behavior

Robot arm attached to pipe on keep exact mode should keep exactly the set number of items in the target inventory

Actual Behavior

The robot arm ignores the keep exact setting

Steps to Reproduce

Setup:
Image

Left Side of pipe: HV Robot arm
Image

Right Side of Pipe: LV Conveyor
Image

No covers on crates

Place items in the Right Crate and the keep exact is ignored on the left crate

Additional Information

Including a filter in the robot arm still works
Doing this results in exactly 8 items being put in the left crate
Image

commented

"keep exact" means "keep N items in the source inventory" (the one the cover is placed on)
In this case, the pipe is the source inventory, and as pipes are instant, there will never be 8 items to keep in the pipe.

commented

So in that case why does it work with the filter in the robot arm? If the behavior is intended than it is very unclear what is supposed to happen.

If I place two crate adjacent to each other than the keep exact setting works as I would expect, the amount I set as keep exact is always kept in the destination inventory (other inv in export mode, itself in import mode) but this behavior does not carry over once a pipe is between the two inventories.

I understand how pipes being instant means they don't have an inventory and that screws with how the robot arm functions, but what I don't understand is why adding a filter to the robot arm makes it work (sort of) how I would expect (keeping the set number of items in the target inventory [the left crate])

If I build the exact same setup in GregTech CE Unofficial it works how I would expect, the crate on the left gets exactly the number if items I set.