WTHIT

WTHIT

12M Downloads

Adding resource pack sprite support

Opened this issue · 15 comments

commented

I'm working on my resource pack and when trying to add support for your mod, I noticed that it just doesn't work. Support for other mods works great, but yours just won't accept the sprite from my resource pack. This doesn't look like a bug, so I didn't put it in the bug category. If this is still a bug... Sorry :)

commented

What sprite do you want to change? If it's the tooltip background and such, it's changeable via a config file like this and not via a resource pack.

commented

I want to replace the furnace arrow sprite.

commented

Ah, that. Can you send your resource pack? Remove anything other than the waila folder and the pack.json if you want.

commented

My resource pack is open, however I didn't post the new release because I want support for all included mods to work. You can download the resource pack from the link below:

https://drive.google.com/file/d/1vZ8QpLe-K9TSMdC1reO8Ntzptj1ZSvlf/view?usp=sharing

commented

Hmm, it looks like it's working for me, so I'm not sure what's wrong with your setup.
2022-05-14_22 55 28
(scaled the tooltip to 2x to make it clearer)

commented

Okay, I’ll check now, maybe after the update the need feature worked, since at the time of the description of the problem it was relevant. Give my few minutes.

commented

It still does not work for me, only if I'm do not directly change the mod file...

commented

Perhaps I will soon try to find out if there is a conflict with some other mod and maybe record a video to better represent the problem.

commented

I think the RebornCore mod might be involved. I noticed that there are problems with it in several mods (for example, in Lamb Dynamic Lights, the settings from the game interface are not saved).

commented

I found the culprit! Mod Megane is to blame for everything!

To better understand the problem, watch this video

I'm not sure if this is a problem with one of the mods or both of them at once, so I will duplicate this information on Megane Issues if necessary. What do you think?

PS: Sorry for some blurry video, it's just that my screen has a resolution of 1600*900 and I saved the video in 1920*1080 with scaling to remove the black bars...

commented

Ah, right. Megane replaces the furnace tooltip entirely since it provides a more generic progress tooltip.
https://github.com/megane-modules/runtime/blob/1.18/src/main/resources/assets/megane/textures/arrow.png

commented

Umm, ok, but any sprites is missing in the Megane mod file... There is only a mod icon. However, I will try to use the paths that you have given me.

commented

It's inside another mod (called megane-runtime) bundled inside the jar. You can see it by extracting the jar, its inside META-INF/jars.

commented

Okay, soon I will check how everything works and close Issues.

commented

Everything seems to be working well, thanks for the feedback!