SKD Menu (1.2.5)
Curse Maven Snippet
What's new
v1.2.5 - Loading-screen background hardening
Fix
- Black background on the custom loading screen during a resource reload. When the background texture's dimensions could not be resolved while the
ResourceManagerwas being rebuilt (TextureResolver.dimensions()returnednull),renderCoverImageblitted a 1×1 source region stretched to full screen — a solid near-black rectangle. Dimensions are now read from the classpath first (/assets/<namespace>/<path>, which stays available during a reload), and when still unknown the image is drawn with a plain full-texture stretch blit.
Technical Changes
TextureResolver.cacheDimensionsFromIdentifier— classpath lookup attempted before theResourceManager.LoadingOverlayMixin.renderCoverImage— fallback branch whendimensions()isnull.- No change to overlay teardown: on 26.2 the reload-finished logic lives in
LoadingOverlay#tick(which the mixin does not replace and which already carries NeoForge's anti-loop guard), so this branch never had the infinite hang that affected the 1.21.1 line.
Client-only menu mod, no gameplay content. Verified: ./gradlew clean build OK (forced recompile + mixin annotation processor + jar). Not yet reviewed in-game.This mod has no additional files

