inventory/item properties

Place to get help with not working mods / modding interface.
cooky173
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Apr 15, 2016 3:37 am
Contact:

inventory/item properties

Post by cooky173 »

Hi all
I wanted to see if I understood a concept correctly.

A chest is an entity with an inventory
An inventory is made up of item stacks
An item stack has add/remove methods but not a transfer method. By this I mean if you wanted to transfer an item stack from one inventory to another you would need to explicity remove from the first and add to the second. Checking along the way that sufficient items/room was available?

Thank you
Post Reply

Return to “Modding help”