welcome to the liteloader mdk
This site is currently being created. Some information is incomplete or missing. Please do not share this URL.
The LiteLoader MDK (LiteMDK) is provided to get you started making liteloader mods quickly and easily.
Choose the download for the version of minecraft you wish to develop for:
- mdk zip for liteloader 1.12
- mdk zip for liteloader 1.11.2
mdk zip for liteloader 1.11 mdk zip for liteloader 1.10.2 mdk zip for liteloader 1.10 mdk zip for liteloader 1.9.4
For a detailed introduction, check out the tutorial video. However if you are already familiar with Gradle and Eclipse, follow these quick-start steps:
- Download the appropriate zip file above and extract it to the folder you wish to use. This is normally your IDE's base project folder.
- Rename the folder to the name of your project, eg. MyCoolMod.
(Gradle uses the folder name as the project name, so this is recommended)
- Edit the gradle.properties file with a text editor. Modify the contents
to suit your project:
- Set this to the maven-style group name for your project, this is usually in Reverse Domain Name Notation and will generally match the base package of your Java sources.
- Set this to the identifying name of your mod, this should contain no spaces and will generally be all lowercase.
- Enter the version for your mod, can be any string though semantic versioning is recommended.
- Enter the user-friendly name for your mod, can contain any characters including spaces. For example My Cool Mod
- Usually this will be correct, but you can enter any valid minecraft version 1.9 or greater here as long as a version of liteloader exists for it.
- Mappings must refer to a valid stream and version from the MCPBot Export Site, however because LiteLoader also uses Mixins, it is recommended that you use the same mappings as the LiteLoader version in use.
- Open Eclipse (Neon or later recommended)
- Import the project into your workspace:
- Click File Import
- Chose Gradle Gradle Project
- Select the Project Root Directory as the folder where you extracted the MDK and then click Finish
- Decompile Minecraft:
- In the Gradle Tasks pane, expand your project
- Run the forgegradle setupDecompWorkspace task
- Configure your project for Eclipse:
- In the Gradle Tasks pane run the ide eclipse task
- Refresh your project by right-clicking the project and choosing Gradle Refresh Gradle Project
You are now ready to start developing your mod!
building a litemod file
Once you have written your code, creating a distributable litemod using gradle is extremely straightforward.
- In the Gradle Tasks pane run the build build task
- Your compiled .litemod file will be placed into the following folder in your workspace:
Note that running each gradle task creates an Eclipse Run configuration for the task, and all you need to do the next time you want to run the task is choose it in the Run configurations dropdown.