You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: