[1.16.5] Gene recipe crafting disrupts Polymorph behavior
TheIllusiveC4 opened this issue ยท 1 comments
Versions:
- Productive Bees: 1.16.5-0.6.5
- Polymorph: 1.16.5-0.24
- Forge: 35.1.36
Observed Behavior:
When attempting to use Polymorph's recipe toggle feature while installed with Productive Bees, the button will either disappear after several crafts or not appear at all. No further attempts nor switching the recipe inputs can bring the button up again.
Expected Behavior:
The recipe toggle feature from Polymorph should still appear and function normally while installed with Productive Bees.
Steps to Reproduce:
- Create an environment where a recipe conflict exists
- Use a Crafting Table to place the ingredients for the recipe conflict
- If the button appears, take out the ingredients and replace them multiple times.
- The button disappears and is no longer reachable.
Further Information:
For context, I am the Polymorph developer so I can answer questions or concerns about the issue from my end. This was the original issue as presented to me, where a user found the conflict between our mods: illusivesoulworks/polymorph#50
I believe the source of the problem, as stated in the title, stems from the CombineGeneRecipe
crafting code here:
This code will return true
whenever it doesn't find an invalid item. However, that means that the recipe will match empty crafting states where there are no ingredients at all. This should probably be changed so that it will only return true
if it has found the required number of items necessary to be considered a match for the recipe.