-
Notifications
You must be signed in to change notification settings - Fork 0
4. MVP Delivery Summary
Zhoumy303 edited this page Sep 27, 2026
·
1 revision
After completing all 16 tasks, the ModSmith MVP is fully delivered.
-
Usable CLI tool:
modsmith version,modsmith generate,modsmith chat,modsmith web - Complete pipeline from natural language to playable mod: blueprint generation → project generation → compilation verification → packaging → runtime verification
- Dual-mode interaction: Chat (requirement clarification) + Execute (direct generation), with the Web UI opening Chat by default
-
Dual verification loop: compilation verification (
./gradlew build) + runtime verification (parsingrunClientlogs) - Automated tests and documentation: covering schema validation, project generation, and pipeline
- Demonstrable and distributable deliverables: source zip + installable jar + blueprint + README
| Dimension | Currently supported |
|---|---|
| Item types |
basic, food, tool
|
| Minecraft version | 26.2 (one-click upgrade via config.py) |
| LLM backend | Zhipu GLM (Anthropic-compatible endpoint) |
| Interaction entry | CLI + Web UI |
| Language | Simplified Chinese / English |
- Blueprint + deterministic generation: the LLM is only responsible for producing a validatable JSON blueprint; code is deterministically generated from Jinja2 templates.
-
Single source of truth for version configuration:
modsmith/config.pycentrally manages Minecraft, Loader, Loom, and Fabric API versions. - Automatic error correction: both blueprint validation failures and compilation failures are fed back to the LLM for correction, with up to 3 retries.
-
Smart textures: the LLM proactively infers the
visualfield based on item name, type, and effect, procedurally drawing 9 shapes + 6 patterns. -
Requirements consultant Chat: clearly defines capability boundaries, limits clarification dimensions, refuses to answer technical questions, and closes with a
【Requirement Summary】.
modsmith/
├── modsmith/
│ ├── config.py # Single source of truth for versions
│ ├── cli.py # CLI entrypoint
│ ├── pipeline.py # End-to-end pipeline
│ ├── blueprint/ # Schema + validation
│ ├── llm/ # LLM clients (blueprint + Chat)
│ ├── generator/ # Project/Java/resource/texture generation
│ ├── verifier/ # Compilation verification + runtime verification
│ ├── packager/ # Packaging output
│ ├── web/ # Web UI
│ └── templates/ # Jinja2 templates
└── tests/
- More item types: blocks, armor, entities, potions
- Crafting recipes: make mod items obtainable in survival mode
- Multi-item batch generation: describe multiple items at once, clarify and generate each one
- True streaming output: replace character-by-character yield with Zhipu API's streaming interface
-
Plan mode: output a reviewable, editable structured plan before generation (see Section 7 of
2. MVP Design) -
Conversation persistence: replace in-memory
CHAT_SESSIONSwith SQLite so it persists across service restarts -
Publish to PyPI: one-click install with
pip install modsmith - Integrate more LLM backends: DeepSeek, Tongyi Qianwen, Kimi, etc.
- Web UI enhancements: history, template marketplace, blueprint editor, shareable links
- Collaboration capabilities: multi-user concurrency, task queue, remote deployment
- Ecosystem integration: connect with Modrinth and CurseForge for one-click mod publishing
- AI enhancements: integrate image generation APIs to produce more refined textures for complex items
-
Get the loop working first, then expand types: starting with
basicitems validated the feasibility of "natural language → compilable mod," then expanded tofoodandtool. - Blueprint as an intermediate layer: decoupling "user intent" from "code implementation" constrains LLM hallucinations within a controllable range.
- Dual verification loop: compilation verification + runtime verification makes the system far more reliable than a "generate without verifying" approach.
-
Centralized version configuration:
config.pymakes upgrading the Minecraft version a one-place change. - Clear Chat positioning: changing from "technical mentor" to "requirements consultant" lets non-technical users use it smoothly.
-
Minecraft 26.1+ API changes: tool classes,
ApplyStatusEffectsConsumeEffectpackage paths,FuelValueEvents, etc., all needed adaptation. -
Fabric API compatibility: the API for the
fueltype is not yet stable in 26.2+, so it is not implemented for now.
ModSmith's implementation references the following open-source projects and community resources:
-
Fabric official documentation and
fabric-example-mod - The Anthropic-compatible LLM interface provided by Zhipu GLM
- Long-term accumulation from the Minecraft mod development community
ModSmith is an open-source project. You are welcome to participate in the following ways:
- Report issues: GitHub Issues
- Submit code: Fork the project and submit a Pull Request
- Improve documentation: add usage examples, tutorials, and FAQs
- Share feedback: tell the author what you built with it
The ModSmith MVP has completed the full pipeline of "natural language → structured blueprint → deterministic generation → dual verification → installable mod." It proves that using AI to lower the barrier to Minecraft mod development is feasible, and lays a solid foundation for expanding to more item types and introducing Plan mode.
Wishing you a smooth project and a fun journey in mod development!
Project URL: https://github.com/Zhoumy303/ModSmith