Resource pack integration
DaOrkMasta opened this issue ยท 7 comments
I would like to integrate an upscaled resource pack into the mod pack that I am creating.
I have edited the default icons.png (in your .jar) to be upscaled and outline the new hunger icon in the resource pack.
The tooltip icons are correctly shown, but when holding a food item, the HUD overlay does not appear and neither does the current saturation level.
The grey progress bar (from AppleCore) behind the hunger bar is shown correctly.
After further testing and removal of several mods, I have found the issue. "Dual Hotbars" shifts the default position of the hunger bar and therefore the hunger overlay would need to be moved as well. BUT, if the grey checker pattern still shows behind the hunger bar with "Dual Hotbars" installed, then why doesn't the overlay?
That is an ancient Dual Hotbars bug that the author fixed and then accidentally unfixed. Not sure why it hasn't been re-fixed.
See:
I have not changed the config file:
client {
B:show.food.exhaustion.hud.overlay=true
B:show.food.stats.in.debug.overlay=true
B:show.food.values.hud.overlay=true
B:show.food.values.in.tooltip=true
B:show.saturation.hud.overlay=true
}
Seems to work fine for me:
Perhaps another mod is interfering with the RenderGameOverlayEvent.ElementType.FOOD RenderGameOverlayEvent.Post where AppleCore's hunger overlays get drawn?
Does the overlay work for you without the resource pack enabled? What other mods do you have installed?