Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Qwikse
Universal API Loader
A library mod for developers who doesn't want to mess with all the APIs
The mod downloads all the APIs based on the Minecraft version
Currently downloads:
- Quilt Standard Libraries or Fabric API
- Quilt Kotlin Libraries or Fabric Language Kotlin
- Architectury API
- Cloth Config
- Forge Config API Port
- Porting Lib
It will only download if the mod doesn't exist
This mod doesn't have to be downloaded by the end user usually, but if you're a modpack author then you could probably include this in your modpack and remove the APIs that the mod automatically adds.
Why would I ever need this?
Let's say for example, you have a mod which works on Minecraft versions 1.16.5–1.19.2 but you include the Fabric API which doesn't work on those versions, so it breaks for the end user if they don't have the API downloaded corresponding to their Minecraft version. This mod basically fixes that issue and a bunch of others
How could I use this as a mod author?
Well you should never include any of the APIs that it adds and you should only include this mod and never add the depends in the mod.json for any of the APIs that this mod adds
repositories {
// ...
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
// ...
}
dependencies {
// ...
include "maven.modrinth:qwikse:1.1.0"
// ...
}
Thanks to sschr15 for writing and open-sourcing the magic code it uses to make the end user not have to relaunch their game when the mod finishes downloading everything