Skip to content

Commit 7420866

Browse files
authored
MultiMC metadata: Support updating NeoForge version (#75)
1 parent 1ebb28c commit 7420866

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/link/infra/packwiz/installer/LauncherUtils.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options
4848
val modLoaders = hashMapOf(
4949
"net.minecraft" to "minecraft",
5050
"net.minecraftforge" to "forge",
51+
"net.neoforged" to "neoforge",
5152
"net.fabricmc.fabric-loader" to "fabric",
5253
"org.quiltmc.quilt-loader" to "quilt",
5354
"com.mumfrey.liteloader" to "liteloader"
@@ -59,6 +60,7 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options
5960
"org.lwjgl" to -1,
6061
"org.lwjgl3" to -1,
6162
"net.minecraftforge" to 5,
63+
"net.neoforged" to 5,
6264
"net.fabricmc.fabric-loader" to 10,
6365
"org.quiltmc.quilt-loader" to 10,
6466
"com.mumfrey.liteloader" to 10,
@@ -137,4 +139,4 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options
137139

138140
return LauncherStatus.NO_CHANGES
139141
}
140-
}
142+
}

0 commit comments

Comments
 (0)