Skip to main content

installation

Players can download WrapperLib from Curseforge, Modrinth, or Github Releases.

build.gradle‚Äč

Mod developers must add a gradle dependency.

repositories {
maven { url = "https://maven.lukegrahamlandry.ca" }
}

loom‚Äč

dependencies {
modImplementation(group: 'ca.lukegrahamlandry.lib', name: 'WrapperLib-1.19-Fabric', version: '1.1.0') { transitive false }
}

There is also a WrapperLib-1.19-Common artifact that can be used in the cross platform subproject of multi-loader mods with architectury-loom. This references obfuscated names so it must be added as a modImplementation as well.

forgegradle‚Äč

dependencies {
implementation fg.deobf(group: 'ca.lukegrahamlandry.lib', name: 'WrapperLib-1.19-Forge', version: '1.1.0') { transitive false }
}

Metadata‚Äč

mods.toml

# ...
[[dependencies.modid]]
modId="wrapperlib"
mandatory=true
versionRange="[1.1,2.0)"
ordering="AFTER"
side="BOTH"

fabric.mod.json

// ...
"depends": {
// ...
"wrapperlib": ">=1.1.0"
}