Перейти к содержимому
Mineforgian

Mod Loading Screen

An advanced loading screen with the loading progress of mods

Загрузки
479K
Подписчики
246
Обновлён
25 февраля 2025 г.
Лицензия
MIT

Опубликован 21 января 2023 г.

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.

Центр версий

2 из 6
  • Релиз1.2 МБ
  • Релиз1021 КБ

Ченджлог

1.0.5Релиз26.2-rc-2, 26.2, 26.3-snapshot-1 · 25 февраля 2025 г.

It's been a bit, hasn't it?

  • 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
1.0.4Релиз26.2-rc-2, 26.2, 26.3-snapshot-1 · 24 октября 2023 г.

Ok, this is actually a pretty big update.

  • 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
1.0.3Релиз1.21.11-rc2, 1.21.11-rc3, 1.21.11 · 13 сентября 2023 г.
  • Enable IPC by default on non-macOS platforms, fixing issues on X11
  • Add a window icon
  • Add a memory usage display
  • Add a simple API
1.0.2Релиз1.21.11-rc2, 1.21.11-rc3, 1.21.11 · 25 июня 2023 г.
  • Fix crash with certain mods (including QSL)
  • Mac support
  • Custom background image by making a config/mod-loading-screen/background.png file (will be resized to 960x540)
1.0.1Релиз1.21.11-rc2, 1.21.11-rc3, 1.21.11 · 30 января 2023 г.
  • Remove unintentional dependencies on com.mojang.logging and slf4j
  • Embed banners instead of downloading them
  • Center the window by default

Комментарии

Загружаем…