This repository uses ForgeGradle, MixinGradle and Mixin.
Those projects belong to their rightful owners.
This is a simple template for forge mods with Mixin-support build-in.
For Mixin-enabled mods, you need Forge coremods and those must adhere to the following conditions:
- Disclose source (mandatory, keep it FOSS, Free Open Source Software)
- Proper exception handling in mixins/transformers (mandatory)
- Coremod in separate jar from normal mods (mandatory)
- Jars must be signed before distributing (mandatory)
- Clone the git
- Run the command:
cd ForgeMixinModTemplate
- If you are using Linux or MacOS, run:
chmod ug=rwx gradlew
- Run the following commands depending on your OS:
- Windows:
gradlew genEclipseRuns eclipse
- Linux/MacOS:
./gradlew genEclipseRuns eclipse
- Open Eclipse-JEE and open your workspace
- If you have the welcome page open, click 'Workbench' or 'Hide' in the top right corner
- Press the keys: ALT+F
- Click Import
- Open the category 'Gradle' and select 'Existing Gradle Project'
- Click next until you get to the import page
- Click browse (next to the 'Project root directory' box)
- Select the mod development kit folder
- Click Finish
- Run the following commands depending on your OS:
- Windows:
gradlew genIntellijRuns
- Linux/MacOS:
./gradlew genIntellijRuns
- Search online for importing a Forge project in IntelliJ
- Upcoming
- Mod loader: Forge
- Minecraft version: 1.16.4
- Default Mixin target version: 0.8.2
- Default minimal Mixin version: 0.7.10
- Forge version: 1.16.4-35.1.3
- ForgeGradle version: 3+
- MixinGralde version: 0.7-SNAPSHOT