Updated fabric platform to 1.21.6

This commit is contained in:
OakLoaf 2025-06-10 12:01:17 +01:00
parent 20a5bfdd0f
commit 9a9f90aa0d
2 changed files with 5 additions and 4 deletions

View File

@ -28,7 +28,8 @@ object Versions {
}
object Fabric {
const val fabricAPI = "0.125.3+${Mod.minecraft}"
// TODO: Replace "1.21.6 with ${Mod.minecraft}" after 1.21.6 release
const val fabricAPI = "0.126.1+1.21.6"
const val cloud = "2.0.0-beta.10"
}
//
@ -40,8 +41,8 @@ object Versions {
object Mod {
const val mixin = "0.15.5+mixin.0.8.7"
const val minecraft = "1.21.5"
const val yarn = "$minecraft+build.1"
const val minecraft = "1.21.6-pre3"
const val yarn = "$minecraft+build.5"
const val fabricLoader = "0.16.14"
const val architecuryLoom = "1.10.431"

View File

@ -107,7 +107,7 @@ public abstract class LifecyclePlatform extends ModPlatform {
super.platformAddon().forEach(addons::add);
String mcVersion = MinecraftVersion.CURRENT.getName();
String mcVersion = MinecraftVersion.CURRENT.name();
try {
addons.add(new EphemeralAddon(Versions.parseVersion(mcVersion), "minecraft"));
} catch(ParseException e) {