add examples

This commit is contained in:
Julia Logan 2024-07-02 01:28:54 +02:00
parent 5b7964303a
commit 8704650abc
Signed by: julia
GPG key ID: 2CB69D1DB326E875
2 changed files with 27 additions and 0 deletions

14
example/README.md Normal file
View file

@ -0,0 +1,14 @@
# Examples
## Version 1
Very basic.
Only allows you to specify a version, which MUST be 1,
A title for cosmetic purposes,
The Minecraft version,
The release channel to be used,
The mods to be downloaded, in a key:value, where key is the name, value is the modrinth project id.
See <pack-v1.json> as an example.
Simply run `/path/to/main.js -f pack-v1.json -d output` and your mods will be downloaded. Enjoy!

13
example/pack-v1.json Normal file
View file

@ -0,0 +1,13 @@
{
"version": 1,
"name": "My casual mod collection.",
"minecraft": "1.21",
"channel": "stable",
"mods": {
"Fabric API": "P7dR8mSH",
"Sodium": "AANobbMI",
"Lithium": "gvQqBUqZ",
"No Chat Reports": "qQyHxfxd",
"No Telemetry": "hg77g4Pw"
}
}