MMDR - Minecraft Mod Development Runtime
Stop wasting time waiting for restarts. Start coding at the speed of thought.
MMDR eliminates the painful edit-compile-restart cycle by providing hot reload capabilities, an interactive debug console, visual inspection tools, and automatic test generation.
Get Started โ View on GitHub โ
๐ฅ Hot Reload System
Modify Java code and see changes instantly without restarting Minecraft. Save hours every day with intelligent class reloading and state preservation.
๐ป Interactive Debug Console
Execute Java/Groovy code directly in-game with full access to Minecraft internals. REPL environment with command history and auto-completion.
๐ Visual Inspector
Inspect blocks, entities, NBT data, and network packets in real-time with a beautiful overlay. Three modes: Basic, Detailed, and Advanced.
๐งช Automatic Test Generator
Record your gameplay and automatically generate JUnit tests. Export as JUnit, TestNG, or Cucumber features. Testing has never been easier.
๐ Performance Impact
MMDR is designed to be lightweight and efficient:
| Feature | Performance Impact |
|---|---|
| Hot Reload | ~1-2% CPU overhead |
| Console | 0% when closed |
| Inspector | ~0.5 FPS drop |
| Test Recording | ~1-2% overhead |
๐ Quick Example
// 1. Make a change to your mod
public String getMessage() {
return "Hello from hot reload!"; // โจ Change this
}
// 2. Save the file (Ctrl+S)
// 3. See changes instantly in-game!
Press ` in-game to open the debug console:
// Teleport instantly
mc.player.setPosition(0, 100, 0)
// Give yourself items
mc.player.giveItemStack(new ItemStack(Items.DIAMOND, 64))
// Change time of day
mc.world.setTimeOfDay(6000)
Why MMDR?
During Develpment
- Test code changes instantly
- Debug issues with interactivee console
- Inspect game state in real-time
For Testing
- Record gameplay sessions as tests
- Generate test code automatically
- Run tests in mock environments
For Learning
- Experiment with Minecraft internals
- Learn by inspecting how things work
- Try code snippets safely
Documentation
Comprehensive guides to help you master MMDR:
- Getting Started - Install and run your first hot reload
- Hot Reload Guide - Master instant code reloading
- Console Guide - Learn the interactive debug console
- Inspector Guide - Use the visual inspector overlay
- API Reference - Complete API documentation
Contact Us
๐ License
MMDR is open source software licensed under the MIT License.
Made with โค๏ธ by the MMDR Team
Saving mod developers thousands of hours, one reload at a time.