Guest tavisco Posted December 30, 2014 Share Posted December 30, 2014 Hello! I'm trying to create a program that see I have a determinated item in my ME Chest. I've read this (https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/scala/li/cil/oc/integration/appeng/DriverController.scala) and I've found a method that can helps (getItensInNetwork, at line 66) but I can't manage to actually see the items, and I'm not sure if this command will only get the items of the ME Chest (That's what I want) or the itens on the other blocks and components. The computer is properly connected with an Adaptor to the ME Controller I'll be glad if someone could help me. Thanks! Quote Link to post Share on other sites
0 Guest tavisco Posted January 7, 2015 Share Posted January 7, 2015 No one? Quote Link to post Share on other sites
0 Sangar 92 Posted January 8, 2015 Share Posted January 8, 2015 component.me_controller.getItemsInNetwork() works as expected for me and returns a table of tables, each representing an item type in the ME network. This will get all items in the ME network, however. There is no way to only get the contents of an ME chest with the existing methods because they do not implement IInventory (so they'd need an extra driver). Quote Link to post Share on other sites
Link to post
Share on other sites