badasintended / slotlink

unbalanced storage system
http://bai.lol/slotlink
GNU Lesser General Public License v3.0
43 stars 13 forks source link

Interface block #126

Closed Adirelle closed 2 years ago

Adirelle commented 2 years ago

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.

deirn commented 2 years ago

Added interface filter screen, can you also test my changes?

Adirelle commented 2 years ago

Everything seems to work as expected. The filtering is great.