From 2a598736f094cdfcfaecb4a29678412f6e47c983 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Sat, 27 Apr 2024 22:12:01 +0300 Subject: [PATCH 1/3] Renamed old_sanpshots Signed-off-by: Trial97 --- meta/run/update_mojang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/run/update_mojang.py b/meta/run/update_mojang.py index 52921f3..130fecf 100755 --- a/meta/run/update_mojang.py +++ b/meta/run/update_mojang.py @@ -61,7 +61,7 @@ def fetch_modified_version(path, version): } version_json["downloads"] = downloads - version_json["type"] = "old_snapshot" + version_json["type"] = "snapshot" with open(path, "w", encoding="utf-8") as f: json.dump(version_json, f, sort_keys=True, indent=4) From a19055bebbf2f39e94b5a0a7df0403b6775bee53 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Mon, 29 Apr 2024 19:07:47 +0300 Subject: [PATCH 2/3] completely remove old_ prefix Signed-off-by: Trial97 --- meta/run/update_mojang.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/run/update_mojang.py b/meta/run/update_mojang.py index 130fecf..97f4975 100755 --- a/meta/run/update_mojang.py +++ b/meta/run/update_mojang.py @@ -41,6 +41,7 @@ def fetch_zipped_version(path, url): break assert version_json + version_json["type"] = version_json["type"].removeprefix("old_") with open(path, "w", encoding="utf-8") as f: json.dump(version_json, f, sort_keys=True, indent=4) @@ -61,7 +62,7 @@ def fetch_modified_version(path, version): } version_json["downloads"] = downloads - version_json["type"] = "snapshot" + version_json["type"] = version_json["type"].removeprefix("old_") with open(path, "w", encoding="utf-8") as f: json.dump(version_json, f, sort_keys=True, indent=4) @@ -74,6 +75,7 @@ def fetch_version(path, url): r.raise_for_status() version_json = r.json() + version_json["type"] = version_json["type"].removeprefix("old_") with open(path, "w", encoding="utf-8") as f: json.dump(version_json, f, sort_keys=True, indent=4) From ae40a7e5ce95e42d86df3f25114a3c29b6fa368f Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 29 Apr 2024 22:28:01 +0200 Subject: [PATCH 3/3] chore: fix 1_16_combat-4 Signed-off-by: Sefa Eyeoglu --- meta/common/mojang-minecraft-experiments.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/common/mojang-minecraft-experiments.json b/meta/common/mojang-minecraft-experiments.json index 94b50c1..02572c7 100644 --- a/meta/common/mojang-minecraft-experiments.json +++ b/meta/common/mojang-minecraft-experiments.json @@ -53,7 +53,7 @@ { "id": "1_16_combat-4", "wiki": "https://minecraft.wiki/w/Java_Edition_Combat_Test_8", - "url": "https://cdn.discordapp.com/attachments/369990015096455168/947864881028272198/1_16_combat-4.zip" + "url": "https://archive.org/download/1-16-combat-4_202404/1_16_combat-4.zip" }, { "id": "1_16_combat-3", @@ -101,4 +101,4 @@ "url": "https://launcher.mojang.com/experiments/combat/610f5c9874ba8926d5ae1bcce647e5f0e6e7c889/1_14_combat-212796.zip" } ] -} \ No newline at end of file +}