Getting Started
JamLib is a set of cross-platform APIs developed with Architectury that we use for all of our mods.
You are also free to use JamLib in your projects, hence we have created this documentation on it.
Features
- JSON5 configuration with automatic config screens.
Adding JamLib to Your Project
gradle.properties
# rest of properties file ...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib_version=1.0.1
build.gradle
allprojects {
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
}
common/build.gradle
dependencies {
// rest of dependencies block...
modImplementation "io.github.jamalam360:jamlib:${jamlib_version}"
}
fabric/build.gradle
dependencies {
// rest of dependencies block...
modImplementation "io.github.jamalam360:jamlib-fabric:${jamlib_version}"
}
Version Catalogue
[versions]
# rest of versions...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib = "1.0.1"
[libraries]
# rest of libraries...
jamlib-common = { module = "io.github.jamalam360:jamlib", version.ref = "jamlib" }
jamlib-fabric = { module = "io.github.jamalam360:jamlib-fabric", version.ref = "jamlib" }
jamlib-quilt = { module = "io.github.jamalam360:jamlib-quilt", version.ref = "jamlib" }
jamlib-forge = { module = "io.github.jamalam360:jamlib-forge", version.ref = "jamlib" }
build.gradle
allprojects {
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
}
common/build.gradle
dependencies {
// rest of dependencies block...
modImplementation libs.jamlib.common
}
fabric/build.gradle
dependencies {
// rest of dependencies block...
modImplementation libs.jamlib.fabric
}
gradle.properties
# rest of properties file ...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib_version=1.0.1
build.gradle
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
dependencies {
// rest of dependencies block...
modImplementation "io.github.jamalam360:jamlib-fabric:${jamlib_version}"
}
gradle.properties
# rest of properties file ...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib_version=1.0.1
build.gradle
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
dependencies {
// rest of dependencies block...
modImplementation "io.github.jamalam360:jamlib-quilt:${jamlib_version}"
}
gradle.properties
# rest of properties file ...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib_version=1.0.1
build.gradle
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
dependencies {
// rest of dependencies block...
implementation fg.deobf("io.github.jamalam360:jamlib-forge:${jamlib_version}")
// Dependency of JamLib. Forge requires that we specify this
forgeRuntimeLibrary "blue.endless:jankson:1.2.3"
}
Version Catalogue
[versions]
# rest of versions...
# find this at https://github.com/JamCoreModding/jamlib/releases
jamlib = "1.0.1"
[libraries]
# rest of libraries...
jamlib = { module = "io.github.jamalam360:jamlib-forge", version.ref = "jamlib" }
build.gradle
repositories {
// rest of repositories block...
maven {
name = "Jamalam's Maven"
url = "https://maven.jamalam.tech/releases"
content {
includeGroup "io.github.jamalam360"
}
}
}
dependencies {
// rest of dependencies block...
implementation fg.deobf(libs.jamlib)
// Dependency of JamLib. Forge requires that we specify this
forgeRuntimeLibrary "blue.endless:jankson:1.2.3"
}
Once JamLib is successfully in your development environment, you can add a dependency on it to your mod metadata.
Refer to the sidebar for documentation on the available APIs within JamLib.