Overview
Minecraft Community Edition uses a Visual Studio-based build system with platform-specific configurations.Project Structure
Windows 64-bit
Windows 64-bit is the primary development platform with the most complete feature set.
Prerequisites
1
Visual Studio 2012 or Later
Install Visual Studio with C++ development tools:
- Visual Studio Express 2012 for Windows Desktop (minimum)
- Visual Studio 2012 Professional/Premium/Ultimate
- Visual Studio 2013 or later (with v110 toolset)
- Platform Toolset v110
- Windows SDK
- C++ compiler and libraries
2
DirectX SDK (June 2010)
Download and install the DirectX SDK:
3
Required Libraries
The project includes several third-party libraries:
- Miles Sound System - Audio engine (
Windows64/Miles/) - Iggy - UI rendering library (
Windows64/Iggy/) - 4J Libraries - Custom framework libraries (
Windows64/4JLibs/)
Build Configuration
The solution includes multiple build configurations:Building
Via Visual Studio IDE
1
Open Solution
- Launch Visual Studio
- File → Open → Project/Solution
- Navigate to
source/MinecraftConsoles.sln - Click Open
2
Select Configuration
In the toolbar, select:
- Configuration: Debug or Release
-
Platform: Windows64
3
Build Projects
Build the projects in order:
- Right-click
Minecraft.World→ Build - Right-click
Minecraft.Client→ Build
- Build → Build Solution (Ctrl+Shift+B)
4
Verify Output
Check the output directory:
Via Command Line (MSBuild)
Dependencies
The Windows64 build links against:Include Directories
Xbox 360
Prerequisites
- Xbox 360 SDK (XDK)
- Visual Studio 2010 or 2012
- Xbox 360 Development Kit
Platform-Specific Code
Xbox 360 implementation includes:Build Configuration
PlayStation 3
Prerequisites
- PlayStation 3 SDK (SCE_PS3_ROOT)
- SN Systems ProDG
- Visual Studio with SN Systems integration
Platform Configuration
SPU Tasks
The PS3 build uses Cell SPU acceleration:PlayStation Vita
Prerequisites
- PlayStation Vita SDK (SCE_PSP2_SDK_DIR)
- Visual Studio with Vita toolchain
Platform Configuration
Xbox One (Durango)
Prerequisites
- Microsoft GDK (formerly Xbox One XDK)
- Visual Studio 2012 or later
- Windows SDK 8.0 or later
Platform Configuration
PlayStation 4 (ORBIS)
Prerequisites
- PlayStation 4 SDK (SCE_ORBIS_SDK_DIR)
- Visual Studio with Orbis toolchain
Platform Configuration
Common Build Issues
Missing Dependencies
Linker Errors
Runtime Errors
Missing DLL: mss64.dll
Missing DLL: mss64.dll
Copy from source location:
D3D11 device creation failed
D3D11 device creation failed
- Update graphics drivers
- Verify DirectX 11 support
- Check Windows Update for DirectX runtime
Application failed to initialize (0xc000007b)
Application failed to initialize (0xc000007b)
- Mixed 32/64-bit DLLs
- Install Visual C++ Redistributable (x64)
- Rebuild with correct platform (x64)
Advanced Build Options
Custom Build Configurations
The project includes several specialized configurations:- Debug - Full debugging, unoptimized
- Release - Optimized, with debug info
- ReleaseForArt - Artist/content creator build
- ContentPackage - Retail package build
- ContentPackage_NO_TU - Package without title update
- CONTENTPACKAGE_SYMBOLS - Package with symbols
Preprocessor Defines
Optimization Settings
Build Performance Tips
- Enable parallel compilation:
/MPflag (already enabled) - Use incremental linking: Debug builds only
- Precompiled headers:
stdafx.his used - Exclude unused platforms: Unload platform projects you don’t need
- Use SSD: Store source on fast storage
- Increase RAM: Visual Studio benefits from 16GB+
Next Steps
Quick Start
Get the game running quickly
Contributing
Submit improvements and fixes
Architecture
Understand the codebase structure
Core Systems
Explore core game systems