davenonymous / OCXNetDriver

OpenComputers + XNet = ❤️
https://minecraft.curseforge.com/projects/oc-xnet-driver
4 stars 5 forks source link

Database Upgrade support #1

Closed asiekierka closed 6 years ago

asiekierka commented 6 years ago

In essence, being able to store item stacks from XNet networks inside a Database Upgrade for NBT comparison purposes.

davenonymous commented 6 years ago

I will look into it!

davenonymous commented 6 years ago

Does this work for you or did you have something else in mind?

asiekierka commented 6 years ago

You might want to call it .store(), as per the contract the Inventory Controller Upgrade and Transposer already use. But yes, this is exactly what I had in mind.

I assume the slot number can be acquired via getItems()/etc.?

davenonymous commented 6 years ago

Yes, you can get the slot number from getItems(). I've added a few example outputs to the readme.

asiekierka commented 6 years ago

Great, thanks!