io.lua
This module provides highly configurable i/o capabilities to your MISC system.
Configuration
This module provides importing and exporting options.
To import items simply add an entry to the io.import value with the following fields.
inventory: stringThe inventory to import fromslots: integer[] | {min:integer, max:integer}?Either a list of slots, or a range of slots to import from. If not present import from the entire inventory (requires inventory peripheral for autodetection).whitelist: string[]?Optional whitelist, if not present import all items. (requires inventory peripheral)blacklist: string[]?Optional blacklist. (requires inventory peripheral)min: integer?Optional, minimum number of free slots the storage should have to import from here.
To export items simply add an entry to the io.export value with the following fields
inventory: stringThe inventory to export toname: stringThe item name to exportnbt: string?Optional item nbtmin: integer?Optional, do not export unless there are at leastminof this item in the storage.slots: integer[] | {min:integer, max:integer}?Either a list of slots, or a range of slots to import from. If not present export to the entire inventory (requires inventory peripheral for autodetection).