CyclopsMC / IntegratedCrafting

Craft stuff in Integrated Dynamics networks
MIT License
7 stars 6 forks source link

Support recipes with conflicting inputs #100

Open Skreperiukas opened 10 months ago

Skreperiukas commented 10 months ago

Issue type:


Short description:

Items with same recipe can't be autocrafted.

Steps to reproduce the problem:

  1. Find items that share the same recipe (In my case it's @ValhelsiaFurniture Table and Chair && @Minecraft Wooden Slab).
  2. Setup variable card with Wooden Slab recipe.
  3. Insert variable card into Crafting Interface.
  4. Crafting interface shows X mark and terminal does not have Wooden Slab autocrafting as an option.

Expected behaviour:

Network let's me craft the desired item setup according to Variable Card.


Versions:

Log file:

rubensworks commented 10 months ago

Thanks for reporting!

rubensworks commented 10 months ago

If you have equal inputs for the same recipe, then something must be wrong in your pack. AFAIK, vanilla doesn't allow multiple equal-input recipes, and will just pick the first matching one when used. Manually using the crafting table should produce the same issue.

Feel free to let me know if I misunderstood somehow.

Skreperiukas commented 10 months ago

In vanilla yes. Modded sometimes has same recipes for multiple items and its usually fixed using @Polymorph mod which adds a button in crafting table that lets you choose which outcome you want. I reported this because in larger modpacks this is inevitable and autocrafting for some items becomes impossible. I don't know how preciselly it should be fixed, but I think it's possible? @AppliedEnergystics2 has that figured out.

rubensworks commented 10 months ago

I see, thanks for the clarification @Skreperiukas.

I'll convert this issue to a feature request.

nickbanana commented 4 months ago

sorry but any progress on this?

rubensworks commented 4 months ago

Nope, no one is working on this AFAIK, but feel free to submit a PR.