Applied Energistics 2

Applied Energistics 2

160M Downloads

processing pattern encoding system tweak

jlp1528 opened this issue ยท 1 comments

commented

Describe the feature

Currently, a confusing condition can result when trying to encode processing patterns with multiple outputs. I will use my own example. I was trying to encode a pattern for clay blocks to silicon with a SAG Mill from EnderIO. This recipe results in clay and silicon. I removed the clay as I'm only interested in the silicon, but it would not let me encode the pattern. It turns out that the desired item needs to be in the first slot on the output side, even if it is the only remaining output in a recipe like this one. I suggest that if only one item is present in the outputs of a processing pattern, it should be recognized as the primary and the pattern should encode, regardless of the location of this singular result.

Reasons why it should be considered

While not strictly necessary, this feature could help avoid confusing players.

Additional details

2023-11-12_16 34 51
pattern does not encode but should as there is only one output

commented

I believe the pattern encoder is supposed to work this way. When you queue an item to be crafted, the pattern used for required items will explicitly search for one that produces the item as its primary output. Patterns that produce required items as a byproduct will be used before stored items.

The secondary slots make their purpose clear when you hover over them: "Can not be directly requested through the automated crafting system, but will be used before stored items in multi-step recipes."

I would like another dev to double-check with me on this though.