Skip to content

[Request] Import/Export Items #1

@freznelfennec

Description

@freznelfennec

I would like to suggest a couple new methods for this peripheral.

importItems(side, type, maxcount) - Import up to maxcount items of a specific type from an inventory adjacent to the peripheral.
importAllItems(side) - Import all items from an inventory adjacent to the peripheral.

exportItems(side, type/id, maxcount) - Export items of a specific type or from an object (whichever is easier to implement) to an inventory adjacent to the peripheral.

These functions or something equivalent would allow for programmatic import/export of items from ME systems. This could currently be implemented using interfaces and turtles, but adding the functionality to this mod would remove the need to have a bunch of different turtles for exporting items.

If lag is a concern, you could rate-limit calls to the functions or limit the total number of itemstacks moved in a single tick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions