LiteLoader compatibility layer for Cleanroom 1.12.2.
FML modid: liteloader. Display name remains CleanLiteLoader.
- Public API:
com.mumfrey.liteloader.* - Implementation:
mods.hileb.cleanliteloader.*
- Coremod scans
mods/andmods/1.12.2/for.litemod/ jars withlitemod.json, then injects them onto the LaunchClassLoader. litemod.jsonis parsed with Gson lenient mode (comments and trailing commas allowed).mcversionof*is accepted.mixinConfigsfrom metadata are registered withMixins.addConfiguration(not LiteLoader tweaks / class transformers).- LiteMods implementing
LiteModare constructed andinit()'d during FML init. - Resource-only litemods (no
LiteModclass, e.g. splash packs) are still listed and injected as resource packs. - Each discovered litemod is injected into FML's raw
Loader.identifyDuplicateslist as aDummyModContainer, so Cleanroom's mod list GUI can see them. Default item icon isminecraft:egg. - LiteMod
ConfigPanel/AbstractConfigPanelscreens are exposed throughIModGuiFactory, so Cleanroom's config button opens the original LiteLoader panel. - Forge events cover tick, HUD, chat, join/leave, plugin channels, block interaction, screenshots, and
MouseEventclicks. - Mixins are only used where Forge cannot:
runGameLoop, FBO,drawChat, login success, join-game packet,EntityRendererpasses. @ExposableOptionsfields are written as JSON underliteconfig/.
- Update checker
- Tweak / ClassTransformer injection from litemods
- Original LiteLoader GUI tab
- jinput
- Permissions replication protocol
- Minecraft 1.12.2
- Cleanroom
- Java 8+ runtime (build uses the project toolchain)
Do not install original LiteLoader next to this jar.
- Build or download
liteloader-1.0.0.jar. - Put it in the instance
mods/folder. - Put
.litemodfiles inmods/ormods/1.12.2/. - Launch with Cleanroom.
gradlew.bat build
Output: build/libs/liteloader-1.0.0.jar