# Tinker's Tinkering

First modpack variant for [Minecraft Rebalance](https://patience.nearmisses.xyz/patience/mc_rebalance)

Packed in modrith format, for hosting make sure to add [for-host-put-these-in-world](overrides/for-host-put-these-in-world) to your world file

# Installing
1. Download the latest version [here](https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/releases/download/test-build/Tinker%27s%20tinkering.mrpack)
2. Drag into your mod loader of choice

# Development
## Export script
To create a release, run [./export-pack.sh](export-pack.sh)

* It will be generated in [release/Tinker's tinkering.mrpack](Tinker's%20tinkering.mrpack)

### Saving login details
This script clones the [mc_rebalance](https://patience.nearmisses.xyz/patience/mc_rebalance) and [mc_rebalance_datapack](https://patience.nearmisses.xyz/SergeantAcoustic/mc_rebalance_datapack) repos, so you will need to provide login credentials to git twice every time you run the script.

To solve this, consider one of the following:

#### SSH mode
Refer to [this guide](https://docs.codeberg.org/security/ssh-key/) on how to set up SSH key authentication

#### HTTPS mode
* To clone the repositories in HTTPS mode, run the script with any data at the end i.e. `./export-pack.sh 1`
* Running `git config --global credential.helper store` will save your credentials to your global git config directory
  * **Beware that this is stored in plaintext, so only do it on a private device**
