-
Notifications
You must be signed in to change notification settings - Fork 0
Home
A complete, ready-to-use template for creating Minecraft 1.21.1 mods with NeoForge. Everything you need to start developing mods quickly and efficiently.
- Copy or clone this template
-
Replace .gitignore with .gitignore.example:
Remove-Item .gitignore; Rename-Item .gitignore.example .gitignore
-
Update
gradle.propertieswith your mod information -
Rename folders: Change
yourmodidto your actual mod ID -
Build: Run
./gradlew build
See Setup Instructions for detailed steps.
- โ Complete Gradle build system with NeoForge plugin
- โ Example mod class with proper structure
- โ Item and block registration examples
- โ Creative tab registration example
- โ VS Code debug configurations (Client, Server, Data, GameTestServer)
- โ Proper resource folder structure
- โ Language file template
- โ Data generation support
- โ Comprehensive documentation
- Gradle 8.8+ configuration
- NeoForge ModDevGradle plugin 2.0.28-beta
- Parchment mappings for better code readability
- Gradle wrapper (no installation needed)
- Main mod class template (
YourModName.java) - Item registration example (
ModItems.java) - Block registration example (
ModBlocks.java) - Creative tab example (
ModCreativeTabs.java)
- Mod metadata configuration (
neoforge.mods.toml) - Resource pack metadata (
pack.mcmeta) - Assets folder structure (textures, models, lang)
- Data folder structure (recipes, loot tables, tags)
- Minecraft Version: 1.21.1
- NeoForge Version: 21.1.57
- Java Version: 21
- Gradle Version: 8.8 (via wrapper)
- Template Version: 1.0.0
- Setup Instructions - Detailed setup guide
- Setup Checklist - Step-by-step checklist
- File Structure - Complete folder structure reference
- Changelog - Version history and updates
When creating a new mod, replace .gitignore with .gitignore.example:
Remove-Item .gitignore; Rename-Item .gitignore.example .gitignoreThis swaps the minimal template .gitignore for the full development version.
All mod metadata in gradle.properties automatically fills into neoforge.mods.toml. Change once, updates everywhere.
Pre-configured launch configurations for:
- Running Minecraft client with your mod
- Running dedicated server
- Generating data files
- Running game tests
Built-in support for generating:
- Block states and models
- Item models
- Recipes
- Loot tables
- Tags
Follows NeoForge community standards and recommended project structure.
If you find any bugs or have suggestions for improvement, please:
- Open an issue using our Bug Report template
- Suggest features using our Feature Request template
- Check our Contributing Guide to help improve this template
This template is provided under the MIT License. See LICENSE for details.
Your mod can use any license you choose.
Lille - Edge Gaming
See Contributors for everyone who has helped improve this template.
1.0.0 - Initial Release
- Check out the Setup Checklist
- Follow the Setup Instructions
- Start coding your mod!
Happy modding! โจ
Navigation
Quick Links
Template Info
Version: 1.0.0
Minecraft: 1.21.1
NeoForge: 21.1.57
Java: 21