Metadata-Version: 2.1
Name: mc-mod-getter
Version: 1.0.1
Summary: Easy Download & Update Mods for Minecraft
Home-page: https://github.com/mgutierrezz/mc-mod-getter
Author: Michael Gutierrez
Author-email: Michael.Gutierrez2@marist.edu
License: MIT
Project-URL: Bugs, https://github.com/mgutierrezz/mc-mod-getter/issues/
Project-URL: Documentation, https://github.com/mgutierrezz/mc-mod-getter/
Project-URL: Source Code, https://github.com/mgutierrezz/mc-mod-getter
Keywords: Package
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Natural Language :: English
Description-Content-Type: text/markdown
License-File: LICENSE

# mc-mod-getter [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Package Pypi](https://img.shields.io/pypi/v/mc-mod-getter.svg)](https://pypi.org/project/mc-mod-getter)

Utility to download Minecraft mods from the internet

## Usage

I made this tool to download & update mods using [MultiMC](https://github.com/MultiMC/MultiMC5) but you can use this as a standalone cli tool as well

### MultiMC

1. Create or Edit a minecraft instance 

   ***NOTE**: Ensure there are no spaces in the name*

2. Install your loader of choice

3. Download the binary from releases or build your own binary from scratch

4. Copy the binary to your MultiMC's instance .minecraft folder

5. Create a [yaml file](#yaml-file-structure) in the same .minecraft directory

6. Enable Custom Commands under in your instance's Settings & paste the following in the Pre-launch command box

   ```bash
   $INST_MC_DIR/mc-mod-getter.exe --file $INST_MC_DIR/<FILENAME>.yaml -v
   ```

7. Launch your instance

### CLI

Install it from PyPi to an env:

```bash
python -m pip install mc-mod-getter
```

Run the tool:

```bash
python -m mc-mod-getter --file /path/to/file.yaml -v
```



## YAML File Structure

The tool takes a yaml file as input (Tabs for indentations, space after hyphens)
Here's an example yaml file:

```yaml
modrinth:
    version: 1.17.1
    loader: fabric
    mod_dir: C:\Games\mmc-stable-win32\MultiMC\instances\test-mc-1.17.1\.minecraft\mods
    mods:
        - Fabric API
        - FallingTree
        - EasierVillagerTrading
        - Mod Menu
        - Starlight
        - Hydrogen
```

*Note:*

- â€‹	*For now, there is only support for [Modrinth](https://modrinth.com/mods?q=) so search for your mods on there. Will add other platforms eventually*


