Eternal Starlight

Eternal Starlight

5M Downloads

[Enhancement] Add support for Xaero’s Minimap entity icons

mpustovoi opened this issue · 1 comments

commented

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:

  1. Place a PNG file for each mob under the folder:
    assets/eternal_starlight/textures/entity_icon/

  2. The file name must exactly match the entity ID's path part.
    For example:
    eternal_starlight:boarwarfboarwarf.png
    eternal_starlight:gleechgleech.png

  3. 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: Image Image Image Image Image Image Image Image Image Image Image

  • 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.

commented

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.

Image