You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
26.2: Mod Menu broken mod icons (JPG + ec-core path mismatch) #397
[Render thread/ERROR]: Invalid mod icon for icon source essential_commands: assets/essential_commands/icon.jpg
[Render thread/WARN]: Warning! Mod essential_commands has a broken icon, loading default icon
[Render thread/ERROR]: Invalid mod icon for icon source ec-core: assets/ec-core/icon.jpg
[Render thread/WARN]: Warning! Mod ec-core has a broken icon, loading default icon
Root cause notes
Main mod (essential_commands) – fabric.mod.json points at assets/essential_commands/icon.jpg. The file is present in the published JAR (256×256 JPEG), but on Minecraft 26.2 Mod Menu loads icons via NativeImage.read(), which validates PNG headers (PngInfo.validateHeader). JPEG fails that check. Fabric fabric.mod.json docs also specify square PNG icons.
Nested ec-core – fabric.mod.json declares assets/ec-core/icon.jpg, but the nested JAR contains assets/eccore/icon.jpg (no hyphen). Same mismatch appears in the 26.x source tree (ec-core/src/main/resources/assets/eccore/ vs manifest path).
Expected
Square PNG icon at the declared path for both mods; Mod Menu shows the real icon with no ERROR spam.
Suggested fix
Ship icon.png (or convert existing art) for essential_commands and ec-core.
Align ec-core manifest path with the resource folder (assets/eccore/ or rename folder to ec-core).
Notes
Cosmetic only; no crash or gameplay impact.
Repro: install Mod Menu, launch client with Essential Commands, open Mods screen.
Activity
An16og commentedon Oct 12, 2026
Hi @John-Paul-R I'd like to work on this issue
John-Paul-R commentedon Oct 12, 2026
Sounds good, let's just convert the img with standard tools