This project is for the Forge mod loader. To see its counterpart for the Fabric mod loader, please go here.
Polymorph is a mod that solves recipe conflicts by letting players choose between all potential outputs shared by the same ingredients. With a sufficiently large amount of mods, recipe conflicts are a common occurrence and the responsibility for resolving these usually falls on the user or modpack developer, using datapacks or other tools to ensure that each recipe is unique. Polymorph offers an alternative solution, allowing all possible crafting recipes to co-exist regardless of conflicts.
When a group of ingredients matches more than one recipe, a button will appear above the output slot. Pushing this button will show a list of all possible results and selecting one will change the crafting output to match. Polymorph will also remember the last selection as long as the ingredients don't change, so repeated crafting actions are possible on the same selection.
*Disclaimer: These stick recipes are not included in the mod, they are only in the example for demonstration purposes.
To assist identifying potential conflicts, there's a command `/polymorph conflicts` that will try to identify recipes that conflict with each other and outputs a list of them to your logs folder.
Currently, only the vanilla crafting table, the vanilla player crafting grid, and a select number of modded crafting tables are supported. Please open an issue on the issue tracker if you'd like to request support for specific additional mods.
Supported Crafting Tables