Welcome to ModPorter AI - the first AI-powered tool that converts Minecraft Java Edition mods to Bedrock Edition add-ons.
ModPorter AI automates 60-80% of the work required to convert Java mods to Bedrock add-ons, saving you months of manual rewriting. Our multi-agent AI system:
- Analyzes Java code structure and dependencies
- Translates Java logic to JavaScript (Bedrock Script API)
- Converts textures, models, and sounds
- Validates the conversion for errors
- Packages everything into a ready-to-use .mcaddon file
Before setting up locally, ensure you have:
- Docker & Docker Compose (recommended) - handles all dependencies automatically
- OR for manual setup:
- Node.js 22.12+ LTS (for frontend with Vite 7.2.2+)
- Python 3.9+ (for backend)
- PostgreSQL 15+ (database)
- Redis 7+ (caching)
- A Java mod file (.jar or .zip) that you want to convert
- Basic understanding of Minecraft modding (helpful but not required)
- A Bedrock testing environment (Minecraft Bedrock Edition on any platform)
# Clone the repository
git clone https://github.com/anchapin/ModPorter-AI.git
cd ModPorter-AI
# Copy environment variables
cp .env.example .envEdit .env and add your API keys:
# AI API Keys (required)
OPENAI_API_KEY=your-openai-api-key
ANTHROPIC_API_KEY=your-anthropic-api-key# Install all dependencies
pnpm run install-all# Start all services
docker compose up -d
# Check service status
docker compose psService URLs:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8080
- AI Engine: http://localhost:8001
- PostgreSQL: localhost:5433
- Redis: localhost:6379
- Open the web interface: Go to http://localhost:3000
- Upload your mod: Click "Upload Mod" and select a .jar or .zip file
- Review analysis: See detected components and complexity level
- Start conversion: Click "Start Conversion" and wait for completion
- Download: Get your .mcaddon file and install in Bedrock Edition
# Register a new user
curl -X POST http://localhost:8080/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "SecurePass123!"}'
# Login
curl -X POST http://localhost:8080/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "SecurePass123!"}'
# Upload a mod file
curl -X POST http://localhost:8080/api/v1/upload \
-F "file=@my-mod.jar"
# Check job status
curl http://localhost:8080/api/v1/jobs/{job_id}Key environment variables for .env:
| Variable | Description | Required |
|---|---|---|
OPENAI_API_KEY |
OpenAI API key for AI processing | Yes |
ANTHROPIC_API_KEY |
Anthropic API key for AI processing | Yes |
DATABASE_URL |
PostgreSQL connection string | Yes |
REDIS_URL |
Redis connection string | Yes |
LOG_LEVEL |
Logging level (DEBUG, INFO, WARNING, ERROR) | No |
DEBUG |
Enable debug mode (true/false) | No |
# Production deployment (uses pre-built images)
docker compose -f docker-compose.prod.yml up -d
# Development with hot reload
docker compose -f docker-compose.dev.yml up -dVerify all services are running:
# Check frontend
curl http://localhost:3000/health
# Check backend
curl http://localhost:8080/health
# Check AI engine
curl http://localhost:8001/api/v1/health
# Check all services
docker compose psProblem: Docker containers fail to start
Solutions:
- Check if ports are already in use:
docker compose ps - Verify .env file has required API keys
- Check logs:
docker compose logs [service-name]
Problem: Conversion stopped with an error
Solutions:
- Check the error message in the conversion report
- Make sure your mod file is not corrupted
- Verify the mod uses standard Minecraft Forge/Fabric APIs
- Try again - some errors are transient
Problem: Some features didn't convert
Solutions:
- Check the "Component Inventory" section of the report
- Look for "Manual Steps Required" notes
- Some Java features don't have Bedrock equivalents
Problem: .mcaddon file won't install
Solutions:
- Make sure you're using Bedrock Edition (not Java)
- Check file size (max 100MB for Marketplace)
- Verify file extension is .mcaddon (not .zip)
- Read the API Reference for programmatic access
- Check the Conversion Guide for advanced options
- Read the Step-by-Step Tutorial for detailed walkthrough
- Check the FAQ for common questions
- Documentation: docs.modporter.ai
- Discord: discord.gg/modporter
- Email: support@modporter.ai
- GitHub Issues: github.com/modporter-ai/issues
Happy converting!