This adds a new slotlink block : interface. It acts like a passive item storage, allowing any Fabric-Transfer-API compatible blocks to interact with the slotlink storage network like it was a chest.
For example, you can use a hopper to inject items into it, or to extract items from it. While this is of little use with vanilla minecraft, it becomes handy with third-party mods like AE2, TechReborn, and so on.
For the time being, the block can be accessed from all sides and has no configuration. I think some filtering could be added but this would require some refactoring as it does not inherit from ConnectorCable.
It has been minimally tested and I guess that by its nature it is a host for a bunch of potential bugs. There is no vanilla compatibility (Inventory implementation) but I think this is not needed.
Almost naive implementation of #122.
This adds a new slotlink block : interface. It acts like a passive item storage, allowing any Fabric-Transfer-API compatible blocks to interact with the slotlink storage network like it was a chest.
For example, you can use a hopper to inject items into it, or to extract items from it. While this is of little use with vanilla minecraft, it becomes handy with third-party mods like AE2, TechReborn, and so on.
For the time being, the block can be accessed from all sides and has no configuration. I think some filtering could be added but this would require some refactoring as it does not inherit from ConnectorCable.
It has been minimally tested and I guess that by its nature it is a host for a bunch of potential bugs. There is no vanilla compatibility (Inventory implementation) but I think this is not needed.