A ready-to-go template for building Cobblemon mods that work on both Fabric and NeoForge.
- 🎯 One Code, Many Loaders – Fabric & NeoForge, no copy-paste nonsense
- 💬 Modern Networking – Built with Minecraft 1.21.1's new
CustomPacketPayloadsystem - ⚙️ Config System – JSON configs that just work out of the box
- 🛠️ Commands Ready – Brigadier commands work across all platforms
- 🤝 Kotlin Friendly – Talk to Cobblemon's Kotlin events from Java
- 📦 Smart Gradle – Publish to CurseForge & Modrinth in one go
cobblemon-boilerplate/
├── common/ → Shared code for both loaders
├── fabric/ → Fabric-specific stuff
├── neoforge/ → NeoForge-specific stuff
└── gradle/ → Build config
Put your main code in common/ and it'll work everywhere. Only put loader-specific code in fabric/ or neoforge/.
- Rename your mod in
gradle.properties - Replace package names (
com.example→ your own) - Drop code in
common/src/main/java/ - Build & test in your Test Server
- Join Nova Co. discord: [discord.gg/gUAA4vjHjw]