Add mc_rebalance_datapack submodule

This commit is contained in:
Sergeant Acoustic 2025-08-28 20:03:21 +01:00
parent 321f0d437b
commit 976d9b9f79
3 changed files with 16 additions and 2 deletions

3
.gitmodules vendored
View file

@ -0,0 +1,3 @@
[submodule "overrides/global_packs/required_data/mc_rebalance_datapack"]
path = overrides/global_packs/required_data/mc_rebalance_datapack
url = https://patience.nearmisses.xyz/SergeantAcoustic/mc_rebalance_datapack

View file

@ -9,9 +9,19 @@ Packed in modrith format, for hosting make sure to add [for-host-put-these-in-wo
2. Drag into your mod loader of choice
# Development
This repository no longer imports mc_rebalance as a submodule
This repository imports mc_rebalance_datapack as a submodule
You can now pull/push as expected
Clone this repo with `git clone --recurse-submodules https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering.git`
When pulling, include the submodule with `git pull --recurse-submodules`
## Updating submodule upstream
To update the embedded submodule to the latest available version:
1. If you cloned without `--recurse-submodules` run `git submodule update --init`
2. Run `git submodule update --remote` to update it
3. Stage the submodule's new pointer (e.g. `git add overrides/global_packs/required_data/mc_rebalance`)
4. Commit as usual (e.g. `git commit -m "Updated submodule"`)
5. `git push`
## Exporting
To create a release, run [./export-pack.sh](export-pack.sh)

@ -0,0 +1 @@
Subproject commit 931fef22686591dcc619e1d800b02cd63c1be352