mezz / JustEnoughItems

Item and Recipe viewing mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/jei
MIT License
788 stars 305 forks source link

Expose returned items in crafting recipes #995

Open josephcsible opened 7 years ago

josephcsible commented 7 years ago

Some crafting recipes return items to the input side of the crafting table. For example, the recipe for a cake returns empty buckets, and the recipe for copying a written book returns the original book. These returned items are currently neither visible nor searchable in JEI, though. Could this feature be added?

mezz commented 7 years ago

Thanks for the suggestion! This is a good idea, but I'm not exactly sure how I should display them on the recipe. Any ideas?

josephcsible commented 7 years ago

Two possibilities come to mind:

  1. When an item is returned to a square in the input, give it a different background color and put the returned item in that space's tooltip. If you go this route, I think you should have 2 new background colors: one for items that are returned exactly the same as what was input in that slot (like the book), and another for items that are different than what was input (like the buckets).
  2. Instead of showing the regular crafting interface of inputs -> output, show a new interface of inputs -> returned inputs and outputs. If this is too much clutter for every recipe, perhaps only use this for recipes that return something, and use the existing interface for ones that don't.