Simple Storage Network

Simple Storage Network

57M Downloads

Suggestion: A block/interface that lets other mods see the network as a valid inventory.

ajsnarr98 opened this issue ยท 6 comments

commented

Suggestion: Make storage network master block a valid inventory (or add a block that works like this) so that the items in the system can be accessed by other mods.

I am an experienced java programmer (albeit not with minecraft mods and I might be able to help with this issue if needed).

commented

I would love some help with this. I have accepted many pull requests from other modders to this repository.

Basically a chest has the ItemStack handler capability. so the Main network node would have to output this capability and somehow wrap every stack in the network into this capability

commented

Doesn't TileMain somewhat already provide this capability through the getStacks() method? Would making the inventory accesible be as simple as implementing the IItemHandler, IItemHandlerModifiable, INBTSerializable<NBTTagCompound> interfaces?

Would one need to implement a different interface that returns a ItemStackHandler object with the inventory wrapped inside it?

What interface would make a block an inventory?

Edit: I went and looked back at docs and I think I figured it out.

commented
commented

sweet!

commented

This is on the way to 1.16. two blocks, one acts as input only like a hopper, and another block that is the interface. refined storage item External Storage connector plugs into it and connects both ways . just like the PR but on another block insetad of the TileMain