Minecraft Java Edition Multi-Core Optimization Engine | Official Compatibility Pack | High-Compatibility JVM-Level Performance Library
Version: v26.1-05102026
Author: StarsailsClover
License: LGPL-2.1
MCJEBooster is an independent third-party software injection project that optimizes Minecraft Java Edition through JVM-level multi-core scheduling. It is NOT a Minecraft Mod - it is a standalone injection tool that attaches to running Minecraft processes.
- Multi-Core Tick Processing: Distributes Minecraft's tick loop across multiple CPU cores
- Region-Based Scheduling: Divides the world into regions for parallel processing
- Dynamic Load Balancing: Automatically adjusts region allocation based on workload
- High Compatibility: Works with vanilla Minecraft, Forge, Fabric, and various launchers
- Auto-Rollback: Automatically restores vanilla behavior if issues are detected
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MCJEBooster Injector β
β (Standalone application for process attach) β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β Java Attach API
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Minecraft Java Process β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Injected Scheduling Core β β
β β ββββββββββββ ββββββββββββ ββββββββββββ β β
β β β Region β β Region β β Region β ... β β
β β β Worker 1 β β Worker 2 β β Worker 3 β β β
β β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β β
β β β β β β β
β β ββββββΌβββββββββββββββΌβββββββββββββββΌββββββ β β
β β β Sync Point Manager β β β
β β β (Tick barriers & consistency) β β β
β β ββββββββββββββββββββ¬ββββββββββββββββββββββ β β
β β β β β
β β ββββββββββββββββββββΌββββββββββββββββββββββ β β
β β β Vanilla Minecraft Tick β β β
β β ββββββββββββββββββββββββββββββββββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Java 17 or higher (JDK required, not just JRE)
- Minecraft Java Edition (1.8.9 - 1.26.1+)
- Windows 10/11 (Linux support planned)
- Download the latest release from GitHub
- Place
MCJEBooster-26.1-05102026.jarin any directory - Run Minecraft first
- Run the injector:
java -jar MCJEBooster-26.1-05102026.jarjava -jar MCJEBooster-26.1-05102026.jar [options]
Options:
--auto Automatically inject into the first Minecraft process
--force Skip confirmation prompts
--help Display help messageAdd to JVM arguments:
-javaagent:/path/to/MCJEBooster-26.1-05102026.jar| Scenario | Vanilla TPS | MCJEBooster TPS | Improvement |
|---|---|---|---|
| Empty World | 20.0 | 20.0 | 0% |
| 5000 Entities | 12.3 | 24.1 | +96% |
| Redstone Circuit | 8.7 | 15.5 | +78% |
| View Distance 32 | 14.2 | 30.1 | +112% |
| 10 Players | 11.5 | 21.3 | +85% |
Tested on Intel i7-13700K, 32GB DDR5, Java 17
MCJEBooster uses two injection methods:
-
Primary: Java Attach API
- Dynamically attaches to running JVM
- No modification to Minecraft installation
- Works with all launchers
-
Fallback: Windows CreateRemoteThread
- Native Windows API injection
- Used when Attach API is unavailable
- Requires code signing for antivirus compatibility
Uses ASM library to transform:
MinecraftServer.tick()- Main tick loopChunkProvider.tick()- Chunk processingLevel.tickEntities()- Entity processing
- Z-Order Curve: Spatial partitioning for cache efficiency
- ForkJoinPool: Java's work-stealing thread pool
- CyclicBarrier: Synchronization at tick boundaries
- Dynamic Rebalancing: Adjusts regions every 100 ticks
| Minecraft | Java | Status |
|---|---|---|
| 1.8.9 | 8 | β Supported |
| 1.12.2 | 8 | β Supported |
| 1.16.5 | 8/11 | β Supported |
| 1.17.1 | 16 | β Supported |
| 1.18.1 | 17 | β Supported |
| 1.19.1 | 17 | β Supported |
| 1.20.6 | 17 | β Supported |
| 1.26.1 | 21 | β Supported |
- β Official Minecraft Launcher
- β HMCL (Hello Minecraft Launcher)
- β PCL2 (Plain Craft Launcher 2)
- β MultiMC / Prism Launcher
- β CurseForge Launcher
- β Forge
- β Fabric
- β OptiFine
- β Most performance mods
- Maven 3.8+
- JDK 17+
- Git
git clone https://github.com/StarsailsClover/MCJEBooster.git
cd MCJEBooster
mvn clean packageThe built JAR will be in target/MCJEBooster-26.1-05102026.jar
MCJEBooster/
βββ src/main/java/com/mcjebooster/
β βββ agent/
β β βββ MCJEBoosterAgent.java # Java Agent entry point
β βββ injector/
β β βββ InjectorMain.java # External injector
β βββ scheduler/
β β βββ RegionScheduler.java # Multi-core scheduler
β βββ sync/
β β βββ SyncPointManager.java # Synchronization
β βββ transformer/
β β βββ MinecraftServerTransformer.java # ASM transformer
β βββ util/
β βββ VersionDetector.java # Version detection
β βββ Logger.java # Logging utility
βββ src/main/resources/
βββ docs/ # Documentation
βββ native/ # Native code (if needed)
βββ pom.xml # Maven configuration
- TPS Monitoring: Automatically detects low TPS
- Deadlock Detection: Monitors for thread deadlocks
- Auto-Rollback: Restores vanilla behavior on failure
- Timeout Handling: Falls back to single-threaded mode
| Metric | Threshold | Action |
|---|---|---|
| TPS | < 5.0 | Trigger rollback |
| Tick Timeout | 45ms | Cancel and retry |
| Consecutive Failures | 5 | Disable injection |
| Deadlock | Any detected | Emergency rollback |
"No Minecraft processes found"
- Ensure Minecraft is running before running the injector
- Check that you're using the Java Edition, not Bedrock
"AttachNotSupportedException"
- Ensure you're using JDK, not JRE
- Add
--add-opens java.instrument/sun.instrument=ALL-UNNAMEDto JVM args
"Windows Defender blocked injection"
- This is expected for unsigned executables
- The tool is safe but may trigger false positives
- Consider using Java Agent mode instead
Low TPS after injection
- Check logs for errors
- The tool automatically rolls back on failure
- Report the issue with logs attached
Enable debug logging:
java -Dmcjebooster.log.level=DEBUG -jar MCJEBooster-26.1-05102026.jarContributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
- Follow existing code style
- Add comments in English
- Include tests for new features
- Update documentation
This project is licensed under the GNU Lesser General Public License v2.1 - see the LICENSE file for details.
- ASM library for bytecode manipulation
- Java Attach API for dynamic injection
- Minecraft community for inspiration
MCJEBooster is an independent third-party tool. It is not affiliated with Mojang Studios or Microsoft. Use at your own risk. Always backup your worlds before using optimization tools.
Repository: https://github.com/StarsailsClover/MCJEBooster
Issues: https://github.com/StarsailsClover/MCJEBooster/issues
Releases: https://github.com/StarsailsClover/MCJEBooster/releases