diff options
| author | Alexandru Ionut Tripon <alexandru.tripon97@gmail.com> | 2026-04-02 12:57:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-02 12:57:20 +0300 |
| commit | f88d1f18953f9619444d56756702c7eb54580ab1 (patch) | |
| tree | 7c0f89bbe46676f0887dc705be571857dc8cc9ed | |
| parent | 51f9107abe198bda1c09433c76328479d47aa6e4 (diff) | |
| parent | d6d550b33800af4955af2e4726e674d8c8f77295 (diff) | |
| download | Project-Tick-f88d1f18953f9619444d56756702c7eb54580ab1.tar.gz Project-Tick-f88d1f18953f9619444d56756702c7eb54580ab1.zip | |
Merge pull request #122 from tildejustin/main
add snapshots post-new-launcher that require legacyLaunch, up to 13w23b
| -rwxr-xr-x | meta/run/generate_mojang.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/run/generate_mojang.py b/meta/run/generate_mojang.py index 693afb66da..9d2063263a 100755 --- a/meta/run/generate_mojang.py +++ b/meta/run/generate_mojang.py @@ -1,5 +1,6 @@ import copy import hashlib +import re import os from collections import defaultdict, namedtuple from operator import attrgetter @@ -513,6 +514,15 @@ def main(): if v.additional_traits == None: v.additional_traits = [] v.additional_traits.append("legacyServices") + + # 13w16a-13w23a require legacyLaunch and those + 13w23b require texturepacks + if re.match(r"13w[1,2]\d[a-c]", v.version) and 16 <= int(v.version[3:-1]) <= 23: + if v.additional_traits == None: + v.additional_traits = [] + if v.version != "13w23b": + v.additional_traits.append("legacyLaunch") + v.additional_traits.append("texturepacks") + v.write(out_filename) for lwjglVersionVariant in lwjglVersionVariants: |
