From dc594f196abfd46f47fd3731b0e0b22975f8c676 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 8 Aug 2024 14:01:31 -0700 Subject: [PATCH] Load mods that declare explicit 1.21 compatibility as 1.21.1 is a minor bugfix. --- .../fml/loading/VersionSupportMatrix.java | 10 +++++----- gradle.properties | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fmlloader/src/main/java/net/minecraftforge/fml/loading/VersionSupportMatrix.java b/fmlloader/src/main/java/net/minecraftforge/fml/loading/VersionSupportMatrix.java index ca833822d7..7d118b9535 100644 --- a/fmlloader/src/main/java/net/minecraftforge/fml/loading/VersionSupportMatrix.java +++ b/fmlloader/src/main/java/net/minecraftforge/fml/loading/VersionSupportMatrix.java @@ -19,11 +19,11 @@ public class VersionSupportMatrix { private static final HashMap> overrideVersions = new HashMap<>(); static { final ArtifactVersion version = new DefaultArtifactVersion(FMLLoader.versionInfo().mcVersion()); - if (MavenVersionAdapter.createFromVersionSpec("[1.19.2]").containsVersion(version)) { - // 1.19.2 is Compatible with 1.19.1 - add("languageloader.javafml", "42"); - add("mod.minecraft", "1.19.1"); - add("mod.forge", "42.0.9"); + if (MavenVersionAdapter.createFromVersionSpec("[1.21.1]").containsVersion(version)) { + // 1.21.1 is Compatible with 1.21 + add("languageloader.javafml", "51"); + add("mod.minecraft", "1.21"); + add("mod.forge", "51.0.33"); } } private static void add(String key, String value) { diff --git a/gradle.properties b/gradle.properties index 1b54f1f1b3..e1e07d657b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,4 +14,4 @@ MAPPING_VERSION=1.21.1 // Set to true before the first build of a new MC version, so we don't do compatibility checks CHECK_COMPATIBILITY=false // Set to true to allow for fuzzy patching. Useful during updateing -UPDATING=true \ No newline at end of file +UPDATING=false \ No newline at end of file