[Enhancement] Add support for Xaero’s Minimap entity icons
mpustovoi opened this issue · 1 comments
Currently, most mobs in Eternal Starlight don't have auto icons on Xaero’s Minimap. Only a few have — Astral Golem, Lonestar Skeleton, and Nightfall Spider, likely due to using vanilla-based models. Other mobs lack minimap icons entirely.
Implementation Details
Xaero’s Minimap supports custom entity icons via assets paths. To enable this:
-
Place a PNG file for each mob under the folder:
assets/eternal_starlight/textures/entity_icon/ -
The file name must exactly match the entity ID's path part.
For example:
•eternal_starlight:boarwarf→boarwarf.png
•eternal_starlight:gleech→gleech.png -
Resolution should be square (e.g., 32×32 or 64×64), preferably with transparency and consistent style.
Additional Notes
I know this method is used by mod Ore Creeper (the only one I accidentally discovered when I was adding emissivity to textures via resource pack), where it works without additional configuration. Examples:

-
It's only applicable to Xaero’s Minimap. Other minimap mods (e.g., JourneyMap) use different systems for icons and are not affected by this format.
-
No additional code changes are needed; the presence of correctly named textures in the specified folder is sufficient.
I don't know how to work with modeling programs where (as it seems to me) it's possible to build a pixel projection of a mob model.
I could make a pull request with icons, but then I'd have to inspect the models in the game and manually assemble icons from their textures. However, it's still unclear what to do with complex models that don't even have heads.
