Applied Energistics 2

Applied Energistics 2

137M Downloads

Substitution not working

jarquafelmu opened this issue ยท 5 comments

commented

Describe the bug

I have recipes with Substitution turned on but it doesn't properly sub the ingredients.

So the problem is that the ME system is looking for Mekanism Bronze when it already knows how to craft Thermal Series Bronze.

If I deliberately change the recipe to use Thermal Series Bronze then it is happy.

How to reproduce the bug

  1. Get the same ingot from two different mods
  2. Create a recipe that uses one of those kinds
  3. Only have the other kind of ingot in your system
  4. System says it can't craft what it needs.

Expected behavior

It shouldn't care what mod the bronze is from.

Additional details

image
image
image
image

Which minecraft version are you using?

1.18

On which mod loaders does it happen?

Forge

Crash log

https://gist.github.com/jarquafelmu/6c158a0cbb5922fae3ff02ddac2a7f7f

commented

Hi, please make sure that the gear recipe has substitutions turned on. Could you show a screenshot of that pattern encoding?

commented

A screenshot of the encoded pattern was included with my initial post

commented

That was the ingot pattern you posted there, not the gear recipe

commented

image
image

So the crafting recipe for the gear is set to take bronze ingots from Mekanism and the crafting recipe for the Bronze Ingots provides the ingots from Thermal Series.

If i have some ingots in the ME system, it can do the substitution fine.
image
image

But if I remove all bronze ingots,
image
the recipe only looks for the Mekanism bronze when it knows how to craft the ingots that would be from Thermal Series
image

So, it seems to be that the system is having trouble connecting the dots between recipes that can produce the substituted element

commented

Substitution only works for items that you already have - but recursive autocrafting will only work if you have a pattern for the exact item that you encoded.