Crafting recipes are not part of the normal JEI Crafting category
mezz opened this issue ยท 5 comments
You can make your custom recipes work as part of the vanilla Crafting recipe category.
Just have your wrapper implement ICraftingRecipeWrapper
and use VanillaRecipeCategoryUid.CRAFTING
.
Then you should be able to remove GenericRecipeCategory
and GenericRecipeCategory.UID
.
The reason I've made the fake crafting category is so I can adjust the displayed inputs to the focus in order to partially allow the recipes to appear correct, but it fails for ingredient usage lookup.
I've been meaning to get it touch to see how my GenericRecipe class could be supported fully in JEI.
I created it as a general purpose recipe class to handle recipes which have NBT determined by ingredients or optional ingredients. You can see how I use it for recipes in the Recipes class.
Any thoughts would be greatly appreciated.
Check out the javadocs on ICustomCraftingRecipeWrapper
, it will let you have control over everything on your crafting recipe in that category.
Thank you for your help.
Will mezz/JustEnoughItems@2100e79 be applied to the 1.10.2 branch? Otherwise I can't implement the same full behavior of GenericRecipeHander in both current versions of Fairy Lights.
Unfortunately that is a breaking change so it will not get applied to 1.10.2, only 1.11.