EMI

EMI

1M Downloads

ME Crafting terminal synthetic favourite (BOM) support

jeytee84 opened this issue ยท 5 comments

commented

Forge - 47.2.21
emi-1.1.12+1.20.1
Monifactory-Beta 0.8.1

I was wondering if there is a way to get the same EMI functionality in the crafting terminal as in the crafting station.

2024-09-09_01-34-36_java_Monifactory_(BETA)
(EMI finds the already crafted items in the crafting stations connected inventories)

2024-09-09_01-31-29_java_Monifactory_(BETA)
(EMI does not see the ME system's content)

The ME system is hooked up to the exact same two barrels via storage buses

Found the mod fixing this issue in the latest update. only problem that it's for fabric only:
It seems like a forge port is in the works, but I was wondering if there's any plans for official support

commented

EMI supports this, AE2 does not

commented

bidirectional finger pointing continues. maybe we can stop the blame game and progress to an actual solution?

from AppliedEnergistics/Applied-Energistics-2#8074:

@shartte: I actually tried this at some point, the issue is that this killed performance, and EMI does currently not offer a way for us to "refresh" the list of craftables. I think the functionality you are refering to is using the known list of craftables in the background.
If we can't fill the craftables (and cannot refresh them), we sadly cannot actually offer the other functionality :-|

commented

EMI's existing solution is having the recipe handler return an EmiInventory with stacks present. This is necessary for synthetic favorites to know if items are present, and EMI only refreshes craftables when the inventory changes. AE2 can maintain an instance of this and only construct a new one when they receive updates (off thread, even), and EMI will handle the rest. If the raw craftable checking starts taking a performance hit past this optimization, EMI would have to look into supporting off thread craftable checking or incremental batched craftable checking on thread. If inventory construction itself, even with possible threading, is becoming a performance bottleneck, it would be necessary to approach a sort of mutable EMI inventory.

commented

i think shartte may have been mixing up synthetic favorites and craftables there... Craftables would be insane to try to do with ae2 lol... i do not remember them ever attempting synthetics, i could be mistaken..

also i built a version for 1.21.1 neo against the open PR mentioned in that issue(AppliedEnergistics/Applied-Energistics-2#8215) and i have had no noticeable slowdown on my family enigmatica 10 server, and i am using it heavily because synthetic faves are so awesome lol... i do wish the craft all/one/to inventory EMI hotkeys worked within the ae2 terminals, but just having synthetics working makes manual crafting an absolute joy lol

commented

looks like i mistook which issue was being referenced here... i assumed from the title of this issue and the similar message shartte sent there that it was referencing AppliedEnergistics/Applied-Energistics-2#8214.. whoops