RFTools

RFTools

74M Downloads

Unable to craft items that have an empty slot in recipe

MakeLord95 opened this issue ยท 13 comments

commented

When playing I noticed that I can't shift-click any items from JEI that have an empty slot in the crafting recipe. Only RFTools items weren't working.

Forge .2094
McJtyLib: 1.10-2.1.3
RFTools: 1.10-5.24

Forced Crash Report: http://pastebin.com/QGbCyghT
2016-09-27_17 14 53

commented

Hmm @mezz, any idea what could cause this?

What crafting station are you using btw?

commented

This happens on EnderIO Inventory Panel, vanilla crafting bench and TiC workbench

commented

I just tested this with only JEI, RFTools, RFTools Control, RFTools Dim, McJtyLib using a vanilla crafting table. Still happens

commented

What version of JEI are you using?

commented

3.11.2.278

commented

I tested this with JEI .276 and it worked, but .277 -> not working

commented

ok that's an important clue. Might be a bug in JEI instead of RFTools then

commented

weird thing is that with other mods it works fine. Only one not working is RFTools

commented

Yes, but this crafting recipe copying is not something that rftools is doing. Taht's fully JEI code

commented

Thanks!

commented

This is almost certainly a JEI issue, I'll take a look.

commented

The key thing that changed is the way JEI handles null ingredients.
RFTools' Machine Frame has a null ingredient in the center.
Before, null ingredients were removed from IGuiIngredient rotations. Now they are kept, so people can have null in the list of ingredients for a slot.

The recipe transfer handler did not take this into account, I'll fix it shortly.

commented

Fixed in JEI 3.11.2.280.
I made it so that any "IGuiIngredient list of ingredients that is all null" is simply collapsed into an empty list. This is easier to handle, because it looks the same as it was before to JEI and addons with recipe transfer handlers.