A powerful 3D voxel building tool for creating Minecraft-style block structures. Build, import custom textures, and export your creations.
- 3D Voxel Editor - Place, remove, and manipulate blocks in a 3D environment
- Block Library - Extensive collection of Minecraft-style blocks organized by category
- Custom Texture Import - Import textures from mod zips and resource packs
- Entity Support - Add mob heads and entity models to your builds
⚠️ In Development - Multiple Views - Isometric, top-down, front, and side views
- Layer System - Work on specific layers with visibility controls
- Project Management - Save, load, and export your creations
- Dark/Light Theme - Comfortable building in any lighting condition
Prerequisites: Node.js (v18+)
-
Clone the repository:
git clone [email protected]:DBOYttt/ModBuilder-Architect.git cd ModBuilder-Architect
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser
npm run buildThe built files will be in the dist/ directory.
npm run build:checkThis runs the production build and then checks the generated dist/assets/*.js files against lightweight bundle-size thresholds so obvious JS bundle regressions fail fast.
ModBuilder Architect supports importing textures from:
- Minecraft Resource Packs (.zip)
- Mod Files (.jar, .zip)
- Supports standard mod structure:
assets/<modid>/textures/block/
The importer automatically:
- Detects and groups related textures (top, side, bottom faces)
- Handles namespaced textures from mods
- Preserves texture organization by mod
The entity/mob rendering feature is still under active development and has known issues:
- Some entity models may not display correctly
- Texture mapping issues on certain mobs (e.g., wing textures, complex models)
- Some entities use fallback/placeholder models
- Large entities like Ender Dragon and Wither may have visual artifacts
This feature is experimental and improvements are ongoing.
| Action | Control |
|---|---|
| Place Block | Left Click |
| Remove Block | Right Click |
| Rotate View | Hold Move tool + Drag |
| Pan View | Hold Move tool + Drag |
| Zoom | Scroll Wheel |
| Rotate Block | R key (when placing) |
- React 19 - UI Framework
- Three.js - 3D Rendering
- React Three Fiber - React renderer for Three.js
- Vite - Build tool
- TypeScript - Type safety
- Tailwind CSS - Styling
├── App.tsx # Main application component
├── VoxelWorld.ts # Voxel chunk management and rendering
├── TextureAtlas.ts # Texture atlas management
├── EntityRenderer.ts # Entity/mob head rendering
├── blocks.ts # Block definitions
├── components/
│ ├── Scene.tsx # 3D scene setup
│ ├── BlockInteraction.tsx # Block placement logic
│ ├── ImportModal.tsx # Texture import UI
│ └── Modals.tsx # Various modal dialogs
└── utils/
├── ProjectManager.ts # Save/load functionality
├── Storage.ts # IndexedDB storage
└── HistoryManager.ts # Undo/redo system
MIT License
Contributions are welcome! Please feel free to submit a Pull Request.