Pretty Pipes

Pretty Pipes

9M Downloads

[Enhancement]: Allow opening JEI popups from crafting terminal

je-sendra opened this issue ยท 0 comments

commented

Imagine this scenario:

  • I am trying to craft a complex item that requires sub-crafts.
  • I open a crafting terminal and use JEI sidebar to search the item I want to craft.
  • I press R on the item to open the recipe menu.
  • I click the "+" button and the recipe is automatically added to the crafting terminal.
  • I request the items.
  • Terminal tells me I am missing a sub-craft item for the craft (let's say a redstone block).
  • I try to press R on the redstone block in the crafting terminal recipe so I can craft it and continue with my main craft.
  • The JEI menu does not open.
  • I have to search for the redstone block in the JEI menu.
  • I craft the redstone block.
  • Now I have to search the original item again to be able to craft it.

Could it be possible to open the JEI menu from the "ghost" items in the crafting terminal for this kind of scenario?

(Correct me if I am wrong, but as far as I understand, the problem is that the item is not really there, but is rather a placeholder for the item, so JEI does not detect it?)

Possible solutions:

  • Put the actual item there and mark it as "locked" in some way so the player can't just grab it (Probably prone to duplicity glitches).
  • Manually catch the key press from the "JEI Open Recipe Menu" keybind and invoke the event with the correct parameters (The best option I guess)