

BTSEngine: Concurrent - Revolutionary Minecraft Optimization
Performance reaches new heights!
Project Description
BTSEngine: Concurrent is a comprehensive optimization project implementing advanced multithreading technologies, deadlock prevention systems, and conflict-free synchronization based on CAS/Lock-Free architectures. The solution provides significant performance improvements for both servers and single-player worlds. Unlike other attempts to introduce multithreading, we used a more profound approach, completely reworking Minecraft's internal mechanics for maximum optimization while maintaining compatibility with most mods.
Important: The project is in ALPHA testing stage. Crashes and incorrect operation are possible. Strongly recommended to create world backups before installation.
The degree of performance improvement may vary depending on modpack composition and user's computer configuration.
Performance Testing
We tested the modification on a heavy modpack with numerous world generation datapacks and mods such as Create, Mekanism, Ice and Fire, and others.
Test Modpack Configuration:
- Increased structure generation frequency by 2-4 times
- Datapack that transforms the world into an island archipelago using complex density functions
- Render distance: 32 chunks, simulation distance: 8 chunks
- Total of 341 mods loaded, half of which add structures, biomes, and expand world generation
Test Environment:
- Processor: AMD Ryzen 3700X (8 cores)
- RAM: 32GB 2133MHz, ~11GB allocated for modpack
Test Results:
- Without modification: 4 minutes 55 seconds from world creation to complete loading of surrounding area. Very slow chunk generation
- C2ME (0.3.0.alpha73): 2 minutes 20 seconds (2.1x faster), but with risk of freezing due to deadlocks. Possible chunk loading issues requiring client restart. Minor differences in world generation
- BTSEngine: Concurrent (0.1.4-alpha): 2 minutes 27 seconds (2x faster) without identified serious problems, except for known incompatibilities with some mods
Known Incompatibilities
Although we aim to ensure maximum compatibility with popular mods, some require additional modification for proper operation with BTSEngine: Concurrent. Report new incompatibilities through the Issues system.
Conditionally Compatible Mods
- Confluence: Otherworld
- Game loads to main menu and successfully creates world
- Almost no performance improvement when this mod is present due to constant PalettedContainer data reading every tick. This is related to dynamic Corruption and Crimson biomes spreading across the world. Requires modification of biome code to resolve the issue
- Async
- Game loads to main menu but may crash during world generation
- With successful launch (builds 0.1.7.alpha.7 and newer) normal gameplay is possible, but entity freezing and other artifacts may occur. Performance improvement from Async is not guaranteed
Incompatible Mods
- Lithium
- World loads but becomes unplayable due to disrupted mob spawning
- After 3-5 minutes of gameplay, thousands of entities accumulate, causing freezing
- Problem caused by toNbt method override that disrupts ticking systems. For compatibility, add these lines to lithium.properties configuration file:
mixin.chunk.palette=false
andmixin.chunk.serialization=false
- Concurrent Chunk Management Engine (C2ME)
- Game doesn't load to main menu
- Incompatibility caused by overlapping changes in chunk management system
- Noisium
- Game doesn't load to main menu
- Noisium functionality is already integrated into BTSEngine: Concurrent in a more structured implementation based on lock-free/CAS architecture
Installation and Usage
For players: simply download the mod file btsengine-concurrent-x.x.x.jar
, place it in the mods
folder, and launch the game. Done!
For mod developers: the project is currently protected by copyright. License may be changed in the future when stable project state is achieved. Report issues through the Issues section.
Version and Modloader Support
Due to project complexity, support is limited to:
- Current version: Minecraft 1.21.1 with NeoForge
- Fabric: possible implementation with sufficient demand
- Versions 1.7.10, 1.12.2 and other older: porting not planned due to huge amount of work
- Version 1.20.1: will be considered by the team later
- Future versions 1.22, 1.23: decision on update not yet made
License Terms
Mod may be used in public modpacks on CurseForge and Modrinth without additional permission.
Usage on other platforms requires attribution and links to official mod pages.
Allowed in private modpacks without publication.
Allowed to create videos and streams using the mod (attribution recommended but not required).
Prohibited to modify the mod for public distribution without written permission from authors.
Prohibited to claim authorship of the mod.
Used Libraries
- FlowSched (MIT license)
- Selected code fragments from C2ME by ishland (MIT license)
- java-async-util (Apache 2.0 license)