| Crates.io | mcmodbuild |
| lib.rs | mcmodbuild |
| version | 0.1.1 |
| created_at | 2025-08-16 22:52:57.51436+00 |
| updated_at | 2025-12-20 23:55:28.969869+00 |
| description | Format for describing how mods should be built and automatically building them from a file. |
| homepage | |
| repository | https://github.com/septech/mcmodbuild |
| max_upload_size | |
| id | 1798963 |
| size | 31,706 |
McModBuild is a format for describing how mods should be built and automatically building them from a file.
# yourmod.yml
id: "yourmod"
name: "Test mod"
git: "https://github.com/you/yourmod.git"
branch: "1.21.7"
build: Cmd # Can be Std
cmd: "./build.sh" # If build is set to Std, cmd isn't needed as it'll run `./gradlew build`
out: "dir:@/build/libs" # Directory to find the jar, can be file:... to specify a file, @ is the build root
exclude:
# Files to exclude if `out` is a directory, if it's a file, set it to []
- type: Ends
value: "-sources.jar"
- type: Starts
value: "tmp-"
- type: Contains
value: "dev"
mcmodbuild build <path-to-build-file>Converts a build file into an installation file named <id>.mcmodbuild.
-d: Destination (Optional). E.g. mcmodbuild build testmod.yml -d dist/mod.mcmodbuildmcmodbuild install <path-to-binary-file>Builds a mod from an installation file.
-d: Destination (Optional). E.g. mcmodbuild install testmod.mcmodbuild -d mods/