fix 3+ version number ranges

This commit is contained in:
James Seibel
2026-05-20 17:30:33 -05:00
parent 95b2d5a908
commit a8b62b31a1
4 changed files with 42 additions and 40 deletions
+5 -1
View File
@@ -484,7 +484,11 @@ if (isNotCommonProject) {
"META-INF/neoforge.mods.toml",
]
def compatible_forgemc_versions = "${rootProject.compatible_minecraft_versions}".replaceAll("\"", "").replaceAll("]", ",)")
// incoming format: `["26.2.0","26.2-alpha.9"]`
// outgoing format: `[26.2.0],[26.2-alpha.9]`
def compatible_forgemc_versions = "${rootProject.compatible_minecraft_versions}"
.replaceAll("\",\"", "],[")
.replaceAll("\"", "")
// Quilt contributors
def quilt_contributors = []
@@ -446,7 +446,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
#if MC_VER <= MC_26_1_2
this.renderApi = EDhApiRenderApi.OPEN_GL;
this.renderApi = EDhApiRenderingApi.OPEN_GL;
#else
String backendName = RenderSystem
.getDevice()
+1 -2
View File
@@ -2,8 +2,7 @@
java_version=25
minecraft_version=26.1.2
parchment_version=1.21:2024.07.28
# version range should be used instead of individual versions due to how NeoForge handles version loading
compatible_minecraft_versions=["26.1.0", "26.1.2"]
compatible_minecraft_versions=["26.1.0", "26.1.1", "26.1.2"]
accessWidenerVersion=26_1
builds_for=fabric,neoforge
# forge is broken due to gradle/build script issues
+2 -3
View File
@@ -2,8 +2,6 @@
java_version=25
minecraft_version=26.2-snapshot-7
parchment_version=1.21:2024.07.28
# version range should be used instead of individual versions due to how NeoForge handles version loading
# TODO this isn't currently a version range for fabric, it's just 2 versions
compatible_minecraft_versions=["26.2.0","26.2-alpha.7"]
accessWidenerVersion=26_1
builds_for=fabric
@@ -29,7 +27,8 @@ bclib_version=
immersive_portals_version=
canvas_version=
fabric_incompatibility_list={ }
# vertigo - prevents DH from seeing the full chunk, causing holes
fabric_incompatibility_list={ "vertigo": "*" }
fabric_recommend_list={}
# Fabric mod run