mirror of
https://github.com/unmojang/meta.git
synced 2025-09-24 03:31:03 -04:00
Enable Forge > 1.16.5
This commit is contained in:
parent
7df0fa86b3
commit
ec76afe0cb
@ -65,9 +65,9 @@ class ForgeVersion:
|
||||
if not majorVersionStr.isnumeric():
|
||||
return False
|
||||
|
||||
majorVersion = int(majorVersionStr)
|
||||
if majorVersion >= 37:
|
||||
return False
|
||||
#majorVersion = int(majorVersionStr)
|
||||
#if majorVersion >= 37:
|
||||
# return False
|
||||
|
||||
return True
|
||||
|
||||
@ -256,6 +256,7 @@ class ProcessorSpec(JsonObject):
|
||||
classpath = ListProperty(StringProperty)
|
||||
args = ListProperty(StringProperty)
|
||||
outputs = DictProperty(StringProperty)
|
||||
sides = ListProperty(StringProperty, exclude_if_none=True, default=None)
|
||||
|
||||
# Note: This is only used in one version (1.12.2-14.23.5.2851) and we don't even use the installer profile in it.
|
||||
# It's here just so it parses and we can continue...
|
||||
@ -291,6 +292,7 @@ class ForgeInstallerProfileV2(JsonObject):
|
||||
processors = ListProperty(ProcessorSpec)
|
||||
libraries = ListProperty(MojangLibrary)
|
||||
mirrorList = StringProperty(exclude_if_none=True, default=None)
|
||||
serverJarPath = StringProperty(exclude_if_none=True, default=None)
|
||||
|
||||
class InstallerInfo(JsonObject):
|
||||
sha1hash = StringProperty()
|
||||
|
@ -327,9 +327,9 @@ for id, entry in remoteVersionlist.versions.items():
|
||||
continue
|
||||
|
||||
majorVersion = int(majorVersionStr)
|
||||
if majorVersion >= 37:
|
||||
eprint ("Skipping unsupported major version %d (%s)" % (majorVersion, id))
|
||||
continue
|
||||
#if majorVersion >= 37:
|
||||
# eprint ("Skipping unsupported major version %d (%s)" % (majorVersion, id))
|
||||
# continue
|
||||
|
||||
if entry.recommended:
|
||||
recommendedVersions.append(version.rawVersion)
|
||||
|
Loading…
x
Reference in New Issue
Block a user