with one click
update-fabric-mod
Update Fabric Minecraft mod to new version
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Update Fabric Minecraft mod to new version
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | update-fabric-mod |
| description | Update Fabric Minecraft mod to new version |
Update Fabric mod to versions in reference template at /fabric-mod-template
/fabric-mod-template/gradle.properties
If path missing, stop and tell user template mount is not available (it mounted into dev container by run.sh)/workspace1a. Before changing anything, read target mod gradle.properties, build.gradle, and src/**/fabric.mod.json. Note old Minecraft version, the before-after delta helps diagnose build failures (mappings/intermediary mismatches surface clearly when you know what moved)
1b. Backup and extract minecraft source code *sources.jar from both target and template. If you can't find the .jar file, you may need to run ./gradlew genSources --no-daemon first. Extract the jar file to /tmp/template-mc-code and /tmp/target-mc-code respectively. Note this is minecraft/mojang source code and not the mod jar file.
gradle.propertiesmod_version, maven_group, mod id)mod_version. For example, if updating minecraft from 26.1 to 26.2 it should look like e.x. mod_version=XXX_mc26.1 -> mod_version=XXX_mc26.2. This is purely visual for jar file name.build.gradleAlign target with template where versions/toolchain are involved:
options.release, sourceCompatibility, and targetCompatibility. A Minecraft version bump may raise Java version.Never blindly overwrite whole file. Target may have mod-specific dependencies, mixins, etc.
fabric.mod.json depends constraintsIn target src/**/fabric.mod.json, update depends block to match these:
minecraft → *fabricloader → >=<template loader ver>java → >=<template java ver>fabric-api → *Run the build from the target mod directory with ./gradlew build --no-daemon
BUILD SUCCESSFUL means the update is complete and the jar in
build/libs/ is valid for the new version.BUILD FAILED, read the error. Common cases:
loom_version mismatch. Confirm it matches the template./tmp/template-mc-code and /tmp/target-mc-code that was created in step 1 to help debug.If class / method / field names were renamed, run bash command for search and replace renaming.
Re-run the build after any fix until it passes.
No need to summarize changes. Just say "Done" when updated and built successfully.