Skip to content

Replace the deprecated logoFile with iconFile - #44

Merged
rubensworks merged 1 commit into
master-26from
claude/minecraft-26-3-update-xr1cny
Sep 20, 2026
Merged

rubensworks merged 1 commit into
master-26from
claude/minecraft-26-3-update-xr1cny

Conversation

@rubensworks

Copy link
Copy Markdown
Member

NeoForge 26.3 deprecated the logoFile manifest property in favour of bannerFile and iconFile, and LogoFileWarningsHandler raises a loading warning for every mod still using it. It shows a "Warnings while loading mods" screen on each dev client launch.

The logo is 512x512, i.e. square, so iconFile is the fitting replacement of the two. In NeoForge's DefaultModDisplayInfo, icon() reads only iconFile, while banner() falls back through bannerFile then logoFile.

Only the NeoForge manifest is changed. Forge 26.3 still understands only logoFile: its fmlloader contains no reference to iconFile or bannerFile, so loader-forge/src/main/resources/META-INF/mods.toml is deliberately left alone. Changing it there would lose the logo on Forge.

Verified by relaunching a dev client: the warning count dropped from 3 to 2, with the fixed mod gone from the list and only the two mods still loading from their previously published jars remaining.

Note the warning is dev-only — LogoFileWarningsHandler returns early when FMLEnvironment.isProduction() — so this never affected players.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf


Generated by Claude Code

NeoForge 26.3 deprecated logoFile in favour of bannerFile and iconFile,
and warns about it on every dev client launch. The logo is square, so
iconFile is the fitting replacement.

Only the NeoForge manifest changes: Forge 26.3 still only understands
logoFile, so its mods.toml is left as is.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 35510497854

Coverage remained the same at 64.751%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 816
Covered Lines: 600
Line Coverage: 73.53%
Relevant Branches: 350
Covered Branches: 155
Branch Coverage: 44.29%
Branches in Coverage %: Yes
Coverage Strength: 5.2 hits per line

💛 - Coveralls

@rubensworks
rubensworks merged commit ea5918b into master-26 Sep 20, 2026
3 checks passed
@rubensworks
rubensworks deleted the claude/minecraft-26-3-update-xr1cny branch September 20, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants