add examples
This commit is contained in:
parent
5b7964303a
commit
8704650abc
14
example/README.md
Normal file
14
example/README.md
Normal 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
13
example/pack-v1.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue