-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Checklist
Use this checklist when creating a new mod from this template.
Make sure you have:
- Java 21 or newer installed
- VS Code (or preferred IDE)
- Git (optional, recommended)
First time? Follow along with the Setup Instructions page for detailed explanations of each step.
- Copy the entire "Template Mod Folder" to a new location
- Rename the folder to your mod's name
- Replace
.gitignorewith.gitignore.example(rename it to.gitignore)
- Change
mod_idto your unique mod ID (lowercase, no spaces) - Change
mod_nameto your mod's display name - Change
mod_versionto your starting version (usually 1.0.0) - Change
mod_authorsto your name - Change
mod_descriptionto describe your mod - Change
mod_creditsif you have any credits to add - Update
mod_licenseif not using MIT
- Change
rootProject.name = 'yourmodid'to match your mod_id
- Rename
src/main/java/net/yourmodid/tosrc/main/java/net/YOUR_MOD_ID/ - Rename
src/main/resources/assets/yourmodid/to match your mod_id - Rename
src/main/resources/data/yourmodid/to match your mod_id
- Open
src/main/java/net/YOUR_MOD_ID/YourModName.java - Update package declaration:
package net.YOUR_MOD_ID; - Change
MOD_IDconstant to match your mod_id - Rename the file to match your mod's name (e.g.,
AwesomeMod.java) - Rename the class to match the filename
- Open
src/main/resources/assets/YOUR_MOD_ID/lang/en_us.json - Update
"itemGroup.yourmodid"to"itemGroup.YOUR_MOD_ID"
- Create a PNG logo (256x256 recommended)
- Save it as
src/main/resources/YOUR_MOD_ID.png - Update
logoFileinneoforge.mods.tomlif using different name
- Update
README.mdwith your mod's information - Update
LICENSEwith your name and year - Keep or remove template documentation files as needed
- Open terminal in your mod folder
- Run
./gradlew build - Verify build completes successfully
- Check that jar file is created in
build/libs/
- Open the mod folder in VS Code
- Go to Run and Debug (Ctrl+Shift+D)
- Select "Client" configuration
- Press F5 to start debugging
- Verify Minecraft launches with your mod loaded
- Run
git initin your mod folder - Run
git add . - Run
git commit -m "Initial commit" - Create a GitHub repository
- Push your code
- Create your first block, item, or feature
- Test frequently using the VS Code debugger
- Commit your changes regularly
β Make sure you updated mod_id in gradle.properties
β Check that your MOD_ID constant matches mod_id in gradle.properties
β Verify package names match your folder structure
β Run ./gradlew build first to generate the required files
β Make sure Java 21 is installed and configured
β Ensure asset folders are named correctly (must match mod_id)
β Check that resource paths in code match folder structure
Remember: Save this checklist for future reference when creating new mods!
Navigation
Quick Links
Template Info
Version: 1.0.0
Minecraft: 1.21.1
NeoForge: 21.1.57
Java: 21