How ishuamouren/better-loading-screen-mod works
Better Loading Screen is a Fabric mod that replaces Minecraft’s world-loading display with an animated screen showing loading text and progress, including during dimension transitions. The game’s loading-screen render hook draws the interface and reads shared settings. Settings load and save as JSON; an optional Mod Menu integration opens a Cloth Config screen for editing them. The README documents the visual features and dependencies; implementation links below are based on the shown source excerpts.
Main entry points: ConfigManager.java Config manager · LevelLoadingScreenMixin.java Loading render hook · ConfigScreen.java Settings screen · JsonConfig.java Settings model
Components 9
Loading display
- Loading render hook
src/main/java/me/mouren/better_loading_screen/mixin/LevelLoadingScreenMixin.java - Loading animation
src/main/resources/assets/betterloadingscreen/textures/gui
Configuration
- Settings screen
src/main/java/me/mouren/better_loading_screen/gui/ConfigScreen.java - Config manager
src/main/java/me/mouren/better_loading_screen/utils/ConfigManager.java - Settings model
src/main/java/me/mouren/better_loading_screen/JsonConfig.java - Config JSON
Mod integration
- Mod initializer
src/main/java/me/mouren/better_loading_screen/BetterLoadingScreen.java - Mod Menu entry
src/main/java/me/mouren/better_loading_screen/ModMenuIntegration.java
Other components
- Minecraft
Connections 9
- Minecraft → Loading render hook: invokes render
src/main/java/me/mouren/better_loading_screen/mixin/LevelLoadingScreenMixin.java - Loading render hook → Loading animation: draws frames
src/main/java/me/mouren/better_loading_screen/mixin/LevelLoadingScreenMixin.java - Loading render hook → Settings model: reads options
src/main/java/me/mouren/better_loading_screen/mixin/LevelLoadingScreenMixin.java - Mod initializer → Config manager: loads settings
src/main/java/me/mouren/better_loading_screen/BetterLoadingScreen.java - Config manager → Settings model: populates defaults
src/main/java/me/mouren/better_loading_screen/utils/ConfigManager.java - Config manager → Config JSON: reads and writes
src/main/java/me/mouren/better_loading_screen/utils/ConfigManager.java - Mod Menu entry → Settings screen: opens screen
src/main/java/me/mouren/better_loading_screen/ModMenuIntegration.java - Settings screen → Settings model: edits options
src/main/java/me/mouren/better_loading_screen/gui/ConfigScreen.java - Settings screen → Config manager: saves settings
src/main/java/me/mouren/better_loading_screen/gui/ConfigScreen.java