Botania

Botania

133M Downloads

EMI compat for Corporea requests

Aegide opened this issue ยท 4 comments

commented

Mod Loader

Fabric

Minecraft Version

1.19.2

Botania version

1.19.2-436

Modloader version

Fabric 0.14.9

Issue description

When next to a Corporea Index and viewing an inventory (or a recipe)


The corporea keybind works for :

  • inventories
  • crafting table
  • vanilla green recipe book
  • EMI as a list of items

But it doesn't work for :

  • EMI recipes
  • EMI as a list of items (while using recipe mode)

It also doesn't for EMI graph, but that's an intended behavior.

Steps to reproduce

No response

Other information

No response

commented

There seems to be a restriction in EMI's API for retrieving the hovered stack. I can get the CorporeaInputHandler to recognize EMI's recipe and BOM screens, but EmiApi::getHoveredStack only returns non-empty results when hovering over an item in the item list sidebar, not for any items shown in the recipe displays.

commented

It also doesn't for EMI graph, but that's an intended behavior.

What makes you say that's intended?

commented

If you perform a Corporea request, the feedback that "a request was attempted" can be found in the chat.

While you're using an EMI graph, you cannot see the chat, and therefore cannot get any feedback about what you're doing.

I understand that it would be nice to be able to do Corporea requests while using EMI graph

But i am not a fan of doing "actions" with no clear visual feedback.

commented

Maybe that's more of a thing to be "fixed" about EMI's graph view? Other modded fullscreen menus (e.g. fullscreen map views) often provide access to chat messages.