Skip to content

Commit

Permalink
MultiMC metadata: Support updating NeoForge version (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
unilock authored Apr 21, 2024
1 parent 1ebb28c commit 7420866
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options
val modLoaders = hashMapOf(
"net.minecraft" to "minecraft",
"net.minecraftforge" to "forge",
"net.neoforged" to "neoforge",
"net.fabricmc.fabric-loader" to "fabric",
"org.quiltmc.quilt-loader" to "quilt",
"com.mumfrey.liteloader" to "liteloader"
Expand All @@ -59,6 +60,7 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options
"org.lwjgl" to -1,
"org.lwjgl3" to -1,
"net.minecraftforge" to 5,
"net.neoforged" to 5,
"net.fabricmc.fabric-loader" to 10,
"org.quiltmc.quilt-loader" to 10,
"com.mumfrey.liteloader" to 10,
Expand Down Expand Up @@ -137,4 +139,4 @@ class LauncherUtils internal constructor(private val opts: UpdateManager.Options

return LauncherStatus.NO_CHANGES
}
}
}

0 comments on commit 7420866

Please sign in to comment.