HUD is invisible with InGame Info XML
The-Key opened this issue ยท 8 comments
The power HUD from hudlens/hudjack doesn't appear if InGame Info XML is present. Disabling IGI with its command doesn't fix it either. I've posted this on IGI's github too in case it's on their end.
Lunatrius:
Code wise this can be fixed by using the net.minecraftforge.fml.common.gameevent.TickEvent event, TickEvent.Type.RENDER particularly.
The Cyberware HUD is drawn during the RenderGameOverlayEvent, specifically when potion icons are rendered. If IGI stops this event, that's what's causing it.
If I remember correctly the (main) purpose of RenderGameOverlayEvent
is to allow modders to hide certain parts of the vanilla HUD, add text (~.Text
) or reposition the chat box (~.Chat
).
Most mods are using the net.minecraftforge.fml.common.gameevent.TickEvent.RenderTickEvent
event instead for their HUD rendering.
Every other mod's overlay works with vanilla potion icons disabled. Lunatrius had said that the rendering method used here could be fixed with the net.minecraftforge.fml.common.gameevent.TickEvent event and TickEvent.Type.RENDER.
I don't really know much about any of this though so if it's not possible with your HUD, I completely understand. Still an incredible mod regardless. Thanks for responding.
Also having this issue, makes it hard to manage the Power and charging requirements without info to know what you are producing and what you have.. is there a way around it without having to remove ingame XML? because that mod is nearly invaluable to me.
@dragonpc75 You don't have to remove it, you can disable the option to hide potion effects in IGI.