-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Usage: mcr init
Description: Initialize the project with a file called concrete.json, containing the game version, loader and other things for the current instance. if required options not specified, terminal will ask about.
Options:
-
--game-version <game-version>: specifies the game version (ex:1.21.1) -
--loader <loader>: specifies the loader for instance (ex:fabric,forge,bukkit, etc.)
Usage: mcr install <resources...>
Description: Installs the specified Resources (and Resources specified on concrete.json) from registry. if one of specified resources not found on the registry, terminal asks for another similar resource.
-
modrinth@v2: resources specified should be their slug or ID
Arguments:
-
[resources...]: Resources to be installed (ex:fabric-api sodium).
both game version and loader can be used for advanced filtering like <resource>:<game-version>-<loader> (ex: simple-voice-chat:1.21.1-forge).
NOTE: the priority for retrieving the game version and loader is defined as below
- Namespace (
<resource>:<game-version>-<loader>)- Command Options
- Concrete file (
concrete.json)- Undefined (Latest version of Resource, regardless of game version and loader)
also you can define the resource's version within <resource>@<version>, like: simple-voice-chat@fabric-1.21.8-2.5.35 or simple-voice-chat@iGd9Wjlq.
(yes, <version> accepts both version_number and id)
NOTE: if version is defined, game version and loader will be ignored since the specified version have already defined their unique loader and game version.
Options:
-
--game-version <game-version>: specifies the game version for filtering (ex:1.21.1) -
--loader <loader>: specifies the loader for filtering (ex:fabric,forge,bukkit, etc.) -
--registry <registry>: specifies registry to use. currently the default value ismodrinth
Usage: mcr list
Description: Shows a list of all installed Resources and their version.