Networks, cables and trims
A storage network is one Inventory Connector plus every inventory it reaches. Everything that uses the network (terminals, filter blocks, Level Emitters, the Inventory Interface) sees all of those inventories as one.
How inventories join
There are three ways for an inventory to join a network:
- Touching chain. The connector scans every block next to it. An inventory there joins and passes the scan on to its own neighbours. Inventory Trims pass the scan on without holding items. The chain reaches up to
invConnectorScanRangeblocks (16 by default, 1 to 64) from the connector. - Cable. Inventory Cables connected to the connector form a cable network. Each Inventory Cable Connector on it attaches the one inventory it faces, at any distance. A cable network may have up to
invConnectorMaxCablescables (2048 by default). - Inventory Link. Cable connectors on the same named channel join their networks, with no cables between them. See Inventory Link.
An Inventory Proxy counts as an inventory: it is the inventory it points at.
Only trims connect
With onlyTrims = true, inventories no longer pass the scan on: every inventory must touch the connector or a trim. Use it on servers where players build chests next to each other but want separate networks.
What never joins through the scan
| Reason | Where it is set | Network Doctor reason |
|---|---|---|
| Machine (furnace, smoker, blast furnace, brewing stand, hopper...) | tag #simple_storage_remastered:not_storage, config notStorageBlocks | machine, not storage |
| Skip tag (the Inventory Connector itself) | tag #simple_storage_remastered:inventory_connector_skip | skip tag |
Blocked block (create:belt by default) | config blockedBlocks | blacklisted (blockedBlocks) |
| Blocked mod | config blockedMods | blacklisted (blockedMods) |
| Set to Skip with the Inventory Configurator | per block | excluded by the Inventory Configurator |
| No item inventory on any side | – | not an inventory |
| Too far from the connector | config invConnectorScanRange | out of range |
| In an unloaded chunk | – | unloaded |
| Over the per-network cap | config doctorMaxInventories | over cap |
An Inventory Cable Connector or Inventory Proxy facing a machine or blacklisted block still connects it: the blacklist only applies to the connector's scan.
Duplicates
The network counts every storage once. If the same storage is reached twice it is merged, and the Network Doctor lists why:
- double-chest halves or shared storages,
- reached twice (for example through a proxy and directly),
- leading back into a network (for example an Inventory Interface next to the connector).
Network blocks
These blocks are part of the network itself, not inventories in it: the Inventory Connector, cables, cable connectors, terminals, the Inventory Interface, the Level Emitter, the Fluid Connector and the filter blocks (Exporter, Extractor, Ejector, Disposal).
Performance
- Connectors rescan when a block next to the network changes, not on a timer.
- A redstone toggle next to a cable only invalidates that cable network.
- Terminals only receive the items that changed. While items keep changing, an open terminal's counts update at most every 5 ticks.
- Every network checks each inventory for changes, so fewer, larger inventories are cheaper than many small ones.
Use /simple_storage_remastered doctor top to see which network costs the most. See Network Doctor.
