You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whether to keep the current folder name or rename the folder and Gradle project
The script updates the template placeholders, fixes rootProject.name, renames mod-id-based resource files, and moves the Java package tree into the package structure you provide.
Open the template's root folder as a new project in IDEA.
Make sure your Java version is correct in the following places for the Minecraft version you're developing for:
Open your Run/Debug Configurations. Under the Application category there should be options to run Fabric and NeoForge projects. Select one of the client options and try to run it.
Assuming you were able to run the game in step 7 your workspace should now be set up.
Bootstrap Script Notes
setup.ps1 exists for convenience, but the steps it takes can be done manually too if preferred.
If you prefer a renamed project folder, use -RenameFolder -ProjectName my-mod.
Notable changes to the base template
Code comments and superfluous logging have been removed for a cleaner template
Example mixins have been removed
gradle.properties has had comments slimmed down and has been visually reordered
build artifacts go in a top level export/ directory rather than each modloader's specific subdirectories
fabric datagen has been configured to generate resources for the common source set, which both fabric & neoforge then bundle in their releases.
Manual steps to take after running bootstrap script
Check for any leftover package names or references to 'example' or 'examplemod' and replace them with yours.
Rename/Delete existing 'example' classes such as ExampleModCommon, ExampleModFabric, ExampleModNeoForge. Also rename/delete datagen classes ExampleModDataGenerator & ExampleModModelProvider and update their references to match in fabric.mod.json
About
Fork of jaredlll08's multiloader template - adds opinionated QOL features like top level artifact export folder & datagen setup