AppleCore

AppleCore

56M Downloads

Resource pack integration

DaOrkMasta opened this issue ยท 7 comments

commented

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.

commented

What does your AppleCore.cfg look like?

commented

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?

commented

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

}

commented

Mind uploading the resource pack (or just your modified icons.png)?

commented

Icons from resource
icons

Icons injected into your .jar
icons

commented

Seems to work fine for me:

2015-01-21_18 33 36_cr

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?