-
Notifications
You must be signed in to change notification settings - Fork 0
Building
the-real-ltcg edited this page Jul 9, 2026
·
1 revision
- JDK 25
git clone https://github.com/the-real-ltcg/modmenu-web-addon.git
cd modmenu-web-addon
JAVA_HOME="<path to JDK 25>" ./gradlew buildThe output jar is written to build/libs/modmenu-web-addon-<version>.jar.
JAVA_HOME="<path to JDK 25>" ./gradlew runClientSingle-module Fabric Loom project (no multi-loader split — Mod Menu itself is Fabric/Quilt-only, so there's no reason to target NeoForge/Forge here).
-
src/main/java/com/ltcg/modmenuwebaddon/-
ModMenuWebAddonClient— client entrypoint, kicks off the background fetch. -
config/AddonConfig— reads/writesconfig/modmenuwebaddon.json. -
data/—FetchedModInfo(per-mod result) andModDataCache(in-memory + disk-cached results, icons saved as separate PNGs). -
fetch/—ModrinthClient,CurseForgeClient(both plainjava.net.http.HttpClient, no extra HTTP dependency),ModInfoFetcher(decides what's missing and dispatches lookups). -
mixin/—FabricModMixin(description/website/issue-tracker/source) andFabricIconHandlerMixin(icon fallback), both targeting Mod Menu's internalcom.terraformersmc.modmenu.util.mod.fabric.*classes, since Mod Menu has no public API for a third party to override another mod's displayed metadata.
-