Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Galacticraft: Oddities between push/pullItems #263

@fatboychummy

Description

@fatboychummy

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 do chest.pushItems("galacticraft machine", ...) it detects there are less slots than actually available.

Using the example from the linked issue,
Slots of Circuit Fabricator

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

Using chest contents
(for simplicity, items are placed in the chest in the corresponding slot they would be in the circuit fabricator):
image

Pulling items to their slots seems to work perfectly fine, using code:

for i = 2, 6 do
  peripheral.call(fabricator, "pullItems", chest, i, 1, i)
end

results in no errors, and all the items moving appropriately:
image

However, using pushItems from the chest it seems to just not be happy, using code:

for i = 2, 6 do
  peripheral.call(chest, "pushItems", fabricator, i, 1, i)
end

results in an error:
image
and only a few of the items being moved correctly:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem or misbehaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions