first cycle lab release
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pack-default-v1
|
||||
@@ -0,0 +1,20 @@
|
||||
hash-format = "sha256"
|
||||
|
||||
[[files]]
|
||||
file = "config/spike-marker.txt"
|
||||
hash = "39fea4a10184116744521fd9111dada3590293955c7a80dc87932c78ac98b5e0"
|
||||
|
||||
[[files]]
|
||||
file = "mods/fabric-api.pw.toml"
|
||||
hash = "9645e76b2915aa43b0918e1ef20e1c01b64ba9073e35c8bcd70cf34af8ab604e"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/modmenu.pw.toml"
|
||||
hash = "62f164a7b7c8731436389dc1855862d1eb1fa73fd76407b0fb8d129b7b6f00a9"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
file = "mods/placeholder-api.pw.toml"
|
||||
hash = "2b8ac8de79c5561e98265a274dd19081f0de540b1cb5cd3c2151f31a9402ee13"
|
||||
metafile = true
|
||||
@@ -0,0 +1,13 @@
|
||||
name = "Fabric API"
|
||||
filename = "fabric-api-0.116.17+1.21.1.jar"
|
||||
side = "both"
|
||||
|
||||
[download]
|
||||
url = "https://cdn.modrinth.com/data/P7dR8mSH/versions/Mys3P7lK/fabric-api-0.116.17%2B1.21.1.jar"
|
||||
hash-format = "sha512"
|
||||
hash = "98c478217da19181f0e4df3ea6c2da6bdbda271c7544a4aea048513a49b444f1ff5b71dc0df6303017c48e8ff69b7bb6af6179bdf0d0e09ab3c1ee08411857a8"
|
||||
|
||||
[update]
|
||||
[update.modrinth]
|
||||
mod-id = "P7dR8mSH"
|
||||
version = "Mys3P7lK"
|
||||
@@ -0,0 +1,13 @@
|
||||
name = "Mod Menu"
|
||||
filename = "modmenu-11.0.5.jar"
|
||||
side = "client"
|
||||
|
||||
[download]
|
||||
url = "https://cdn.modrinth.com/data/mOgUt4GM/versions/6lgOkclV/modmenu-11.0.5.jar"
|
||||
hash-format = "sha512"
|
||||
hash = "92e8e96267ff18d320903090f2ad9b32408a218919f5a0d578e232ad774c89d49a34a8271806652be7d6283f24e98432bc4af7f95855e78b843f9100d68696c7"
|
||||
|
||||
[update]
|
||||
[update.modrinth]
|
||||
mod-id = "mOgUt4GM"
|
||||
version = "6lgOkclV"
|
||||
@@ -0,0 +1,13 @@
|
||||
name = "Text Placeholder API"
|
||||
filename = "placeholder-api-2.4.2+1.21.jar"
|
||||
side = "client"
|
||||
|
||||
[download]
|
||||
url = "https://cdn.modrinth.com/data/eXts2L7r/versions/U5bhVym2/placeholder-api-2.4.2%2B1.21.jar"
|
||||
hash-format = "sha512"
|
||||
hash = "fc13d3a5c048dbaab86318edaf8b6c6b46ef9f1d367e8f063d19f5a9b0da66c5ae419d92c8c4608edc89a01eb44d91ffcf017fea73f39b222cbd85e82f70a233"
|
||||
|
||||
[update]
|
||||
[update.modrinth]
|
||||
mod-id = "eXts2L7r"
|
||||
version = "U5bhVym2"
|
||||
@@ -0,0 +1,13 @@
|
||||
name = "minecraft-lab-spike"
|
||||
author = "minecraft-lab"
|
||||
version = "0.0.1"
|
||||
pack-format = "packwiz:1.1.0"
|
||||
|
||||
[index]
|
||||
file = "index.toml"
|
||||
hash-format = "sha256"
|
||||
hash = "2eb5847935978aa737b6ad733db45cc76953e7f8fc40152c27b14cf7e449ae83"
|
||||
|
||||
[versions]
|
||||
fabric = "0.19.5"
|
||||
minecraft = "1.21.1"
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Reproduce the two disposable source variants used in Phase 0.
|
||||
# Exports artifacts only; never changes runtime or starts Docker.
|
||||
set -euo pipefail
|
||||
task_root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)
|
||||
task_dir="$task_root/.tools/repro-fabric-variants"
|
||||
mkdir "$task_dir"
|
||||
cp -a "$task_root/examples/fabric-spike/pack" "$task_dir/update-pack"
|
||||
cp -a "$task_root/examples/fabric-spike/pack" "$task_dir/loader-only-pack"
|
||||
task_packwiz=("$task_root/.tools/packwiz/packwiz" --cache "$task_root/.tools/packwiz/cache" --config "$task_root/.tools/packwiz/config.toml")
|
||||
cd "$task_dir/update-pack"
|
||||
sed -i 's/^version = "0.0.1"$/version = "0.0.2"/' pack.toml
|
||||
printf 'pack-default-v2\n' > config/spike-marker.txt
|
||||
mkdir -p world/datapacks
|
||||
cp -a "$task_root/testdata/spike-datapack" world/datapacks/phase0
|
||||
"${task_packwiz[@]}" modrinth add --project-id P7dR8mSH --version-id fpB2VatZ -y
|
||||
"${task_packwiz[@]}" refresh
|
||||
"$task_root/scripts/spike-build.sh" "$PWD"
|
||||
cd "$task_dir/loader-only-pack"
|
||||
sed -i 's/^version = "0.0.1"$/version = "0.0.3"/' pack.toml
|
||||
printf 'loader-only-v3\n' > config/spike-marker.txt
|
||||
"${task_packwiz[@]}" remove modmenu -y
|
||||
"${task_packwiz[@]}" remove placeholder-api -y
|
||||
"${task_packwiz[@]}" remove fabric-api -y
|
||||
"${task_packwiz[@]}" refresh
|
||||
"$task_root/scripts/spike-build.sh" "$PWD"
|
||||
Reference in New Issue
Block a user