All versions
1.2
Release
Jobs Cobb 1.22 months ago 502
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client and server
Changes
Changelog
1.2
Added
- Developer API: Added a comprehensive Java API (
JobsCobbApi) to allow other mods to integrate with Jobs Cobb.- Fabric Events: Subscribe to
ProfessionJoinCallback,ProfessionLeaveCallback,ProfessionLevelUpCallback,ObjectiveCompleteCallback, andActionXpCallbackto react to player progress and even modify/cancel XP gains. - Query System: New static methods to read player statistics (level, XP, completed objectives) and server configurations (available professions, max levels, localized names).
- External Triggers: Other mods can now inject custom XP or simulate tracked actions (like an automatic miner breaking blocks) natively through the API.
- Fabric Events: Subscribe to
- Added a full API documentation file (
API_DOCUMENTATION.md) in English with examples for developers.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:YZhxwUU7:XzyA7jMK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YZhxwUU7:XzyA7jMK"
}

