Just Enough Items (JEI)

Just Enough Items (JEI)

369M Downloads

[Suggestion]: Enhanced ghost item handling

Mithi83 opened this issue ยท 4 comments

commented

Suggestion

Background: I'm currently playing FTB Skies containing JEI and AE2. I've chosen an AE2 approach that requires filling in a lot of ghost items into different filters, most prominently partitioning the storage cells in the cell workbench. As I can't craft all items that would go into these slots at the time I want to partition my storage cells I have to use ghost item drag&drop from JEI and it works really well. However it is not very efficient to bulk add a lot of items in a short time due to some limitations:

  • I have to go back and forth between the filtered JEI list on the right side of the screen and the cell workbench in the center. Doing that repeatedly is difficult and slow.
  • I tend to lose track of what is the next item I need to drag&drop (i.e. my partitioning scheme is not what I intended)
  • There is a discrepancy between how I would normally do it with items in the player inventory (i.e. shift-clicking the item in the player inventory) and the drag&drop approach of JEI.

Suggestion: Allow ghost item adding via shift-click the same way it works from the player inventory. This would allow me to move my mouse just in the JEI portion of the screen and keep better track of what item was the last one I added.

Additional considerations: I've tried to study the JEI code and don't think the API currently supports a feature like that out of the box due to the fact that drag&drop has a specified destination, whereas shift-click would use the first free slot. The AE2 developers think that as well.
They also raised a valid point that this feature is only useful and unambiguous if all possible ghost item destinations are semantically identical. A counter example could be a mod that has separate slots for white and black listing in a filter. Then it would be impossible to tell for JEI where the user intended the shift-clicked item to go. Offering a dedicated API for this where mods using this could choose to accept or reject shift-clicked ghost items might be a way around that dilemma.
Still I think it would be a worthwhile addition since the typical use case has only one type of ghost item destinations. One AE2 developer thinks it would be worth considering using such a feature in JEI in the future.
I also noticed that in JEI cheat mode shift-clicking is already used to give the player a stack of the clicked item. In non-cheat mode shift-clicking does nothing as far as I can tell and for my purpose it would suffice to just change the non-cheat mode.

Links: AE2 feature request - AppliedEnergistics/Applied-Energistics-2#7393

Thanks for a great mod and thanks for your time considering this feature request.

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

This has been automatically closed because it has not had recent activity. Please feel free to update or reopen it.

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

This is still relevant in my opinion.