tinkers_tinkering/export-pack.sh
Sergeant Acoustic 6e530aa23b Initial 1.21.1 commit
The only features left are:
- Global packs
- Gold tools are slightly slower
- Paxels
- Original lang file
- Nether diamond ore textures
- Enchanting table texture
- Copper tool remaming / crafting (no armour yet)
2026-01-22 03:27:09 +00:00

19 lines
489 B
Bash
Executable file

#!/bin/bash
# Main modpack project directory
cd "$(dirname "$0")"
basedir="$PWD"
(cd "$basedir/overrides/global_packs/required_data/mc_rebalance_datapack/assets/minecraft/lang/" && ./gen-langs.sh)
# Final path for the modpack
if [ ! -d release ]; then
mkdir release
fi;
# Get version from the mrpack file
version="$(jq -r ".versionId" modrinth.index.json)"
# Export release to file
zip -FSr "$basedir/release/MC_Rebalance_${version}.mrpack" overrides modrinth.index.json -x "*.git*"