Open fatboychummy opened 4 years ago
After doing some extensive testing, it seems that this may be due to the way Galacticraft handles it's item inputs. Putting two silicon in a hopper above the block seem to push items into slot 3 and 4. Using that same idea, I did two pushes to slot 3 from the chest, and that indeed also pushed items into slot 4 (which may explain why slot 5 and 6 are now slot 4 and 5).
It causes a few problems, however, since it is not really expected behaviour
Running MC 1.12.2, CC:Tweaked 1.86.2, Plethora 1.2.2 Original issue from the Milo repository
After setting up a milo system I noticed that my galacticraft machines were failing to move items. Listing the items seemed to work fine, however.
After doing some singleplayer testing, I noticed the Plethora correctly detects the amount of slots if you wrap the machine, then do
machine.pullItems("chest", ...)
, but if you wrap the chest and dochest.pushItems("galacticraft machine", ...)
it detects there are less slots than actually available.Using the example from the linked issue,![Slots of Circuit Fabricator](https://user-images.githubusercontent.com/39929480/78524639-b93d7f80-7791-11ea-9275-38ab493cf5e2.png)
These are the slots in the circuit fabricator. Slot 1 is the energy slot, 2 to 6 are inputs, and 7 is the output.
Using the following setup:![image](https://user-images.githubusercontent.com/39929480/79628854-3c4fc580-8102-11ea-8c6b-ac7dad7d9457.png)
Using chest contents (for simplicity, items are placed in the chest in the corresponding slot they would be in the circuit fabricator):![image](https://user-images.githubusercontent.com/39929480/79628799-7ff5ff80-8101-11ea-96b8-1b6f191dea50.png)
Pulling items to their slots seems to work perfectly fine, using code:
results in no errors, and all the items moving appropriately:![image](https://user-images.githubusercontent.com/39929480/79628986-e891ac00-8102-11ea-8451-2f39bcc5139f.png)
However, using pushItems from the chest it seems to just not be happy, using code:
results in an error:
and only a few of the items being moved correctly:
![image](https://user-images.githubusercontent.com/39929480/79629033-3d352700-8103-11ea-856f-bcda764ee9eb.png)