Mod Loading Screen
An advanced loading screen with the loading progress of mods. It works on all Minecraft versions, as it doesn't even require Minecraft. Its only requirement is Fabric Loader 0.12.0 or later or Quilt Loader (specific versions of Quilt support are unknown). Do note that if you run this mod on a game other than Minecraft, the loading screen may not close itself.
Agent
Mod Loading Screen provides a Java agent, which allows opening the loading screen before even the mod loader itself loads. This feature is primarily targeted at modpack developers who want to make a seamless loading experience. The agent can be used by passing -javaagent:mod-loading-screen-1.0.4.jar as a JVM argument. If the agent is used, the loading screen should not be installed as a mod.
API
To depend on the API, use the Modrinth Maven. The API should be JiJed, and doing so will not include Mod Loading Screen inside your mod (it will only include the API, which is only a few kilobytes). The API is designed to have both forwards and backwards binary compatibility with future Mod Loading Screen versions. An API is provided for checking which API calls will return stubs and which ones are real.
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup("maven.modrinth")
}
}
}
dependencies {
// implementation, not modImplementation!
include(implementation("maven.modrinth:mod-loading-screen:1.0.4:api"))
}
The API has two top-level classes: LoadingScreenApi and AvailableFeatures. Full javadocs are available for both classes.
All Versions
+ Add Version- Log and display IPC errors
- Support non-png icons and backgrounds, see config.txt for supported formats
- [Bugfix]** Make compatible with other mods that load this early
+ Create a Java agent for even earlier loading. See the mod description for more info
+ Support custom icons. See config.txt for more info
+ Support Fabric 0.14.23
+ **\[API\]** Add support for fully custom progress bars
+ **\[API\]** Prefix entrypoint progress names with
entrypoint:+ **\[Bugfix\]** Fix progress bars not going away when they finish
+ Add a window icon
+ Add a memory usage display
+ Add a simple API
+ Mac support
+ Custom background image by making a
config/mod-loading-screen/background.png file (will be resized to 960x540)+ Embed banners instead of downloading them
+ Center the window by default