The main thing this pull request does is replace the awkward and slightly hacky method of convering an IIngredient into a RecipeMatch with a helper class that converts it directly. This makes it a lot more accurate as the recipe type just delegates the matching to CraftTweaker's logic.
A result of the switch is it fixes two bugs with the Inspirations support:
Fixes oredict with stack size not matching correctly or showing correctly in JEI
Fixes NBT being ignored in cauldron recipes.
Additionally, since I created the original cauldron support, I added one more recipe type which now has a CraftTweaker method. I opted out of a remove recipe mostly due to laziness, as there really only is one config enabled recipe by default anyways (plus I forgot to add support for checking for fluids in the API)
The main thing this pull request does is replace the awkward and slightly hacky method of convering an
IIngredient
into aRecipeMatch
with a helper class that converts it directly. This makes it a lot more accurate as the recipe type just delegates the matching to CraftTweaker's logic.A result of the switch is it fixes two bugs with the Inspirations support:
Additionally, since I created the original cauldron support, I added one more recipe type which now has a CraftTweaker method. I opted out of a remove recipe mostly due to laziness, as there really only is one config enabled recipe by default anyways (plus I forgot to add support for checking for fluids in the API)