Applied Energistics 2: Difference between revisions

m
Line 95:
When a valid pattern is inserted into an ME Interface, the recipe will be auto-craftable from a terminal. Once the autocraft for that recipe is initiated, all "input" items will be dumped into whatever inventory the ME interface (the one holding that encoded pattern) is connected to.
 
The key thing to know is that, for processing patterns, the ME network will simply dump all the "input" items of the encoded pattern into the interface's attached inventory and will expect the "output" item to be inserted into the network at some later point in time. The output item doesn't have to be inserted into the same ME Interface that started the recipe; it can inserted from anywhere in the network, through any means (import buses work too), and it will satisfy the recipe. With this in mind, autocrafting in AE2 is actually very simple. The ME network has no idea what kind of inventory you are dumping the input items to, it simply dumps items (assuming there is enough space) and expects the exact number of output (specified by the pattern) back into the system. If it doesn't ever get the expected item(s) back, it will hang and not allow you start another autocrafting recipe, so make sure that you have set the recipe properly. Recipes can also be cancelled at any point.
 
Let's theorycraft an example. Let's say you want to autocraft 1x tin cables. We need a processing pattern with: 1 1x tin wire and 1 rubber sheet. This can't be dumped directly into an assembler (because the rubber sheet has to be fluid extracted), so we will instead connect the interface to a chest. This will make the ME network dump a 1x tin wire and 1 rubber sheet into the chest whenever you request a tin cable from a terminal. From the chest, you can have a filtered Ender IO item conduit take all rubber sheets and insert them into a fluid extractor while taking all non-rubber items and inserting it into an assembler. The output of the assembler (a 1x tin cable) can then be inserted back into the ME network and the recipe will be considered "complete" by the ME network.
112

edits