Auto HUD

Auto HUD

69.4k Downloads

Adding compat with segmented

csutora opened this issue ยท 2 comments

commented

Hi!
I'm working on a mod that makes the hotbar segmented, and I'd like to add support for your mod. The current issue is that the hotbar only gets shown when selecting an actual slot, and not when selecting a segment, which is something that doesn't yet interact with minecraft's actual inventory object. (Here's the issue: csumpasd/segmented#6)

My question is, is there a function I can call to reveal the hotbar on demand or any other way for me to easily add support?

Thanks for the help.

commented

https://github.com/Crendgrim/AutoHUD/blob/1.19.4/src/main/java/mod/crend/autohud/mixin/ClientPlayerInteractionManagerMixin.java

This controls the vanilla "on slot change" trigger. You could copy that call into your mod if AutoHUD is loaded.

commented

thanks, managed to do it!