[Feature Request] EMI "Quick Lookup" Compatibility
Parkanizor opened this issue ยท 2 comments
Describe the feature
Patchouli's "quick lookup" feature works in the JEI interface, but not EMI's. A compatibility fix would be much appreciated if possible, as this makes referencing Patchouli entries much easier.
Minecraft: 1.20.1
Forge: 47.1.4
EMI: 1.0.19
Patchouli: 1.20.1-81
(No other mods are installed)
Additional context
No response
Puffadillo ***@***.***> writes:
Minecraft: `1.20.1`
Forge: `47.1.4`
EMI: `1.0.19`
Patchouli: `1.20.1-81`
(No other mods are installed)
![example](https://github.com/VazkiiMods/Patchouli/assets/108554062/8c83ac2a-e18c-4bc1-a284-f91108738470)
So we render this using hooks in the usual vanilla render tooltip
callsites (and the render tooltip event on Forge). I'm not sure where
else we'd need to hook to catch EMI. @emilyploszaj can you chime in?
EMI can't render tooltips in a way where vanilla item context will be preserved due to some technical limitations. EMI exposes the stack under the cursor (or at some arbitrary position) as an API method, but truthfully I'm not sure how you could actually render it, past assuming that any tooltips rendered while EMI has a stack under the cursor are the appropriate tooltip.