File Details
apexnetwork-1.6.1.jar
- R
- Feb 25, 2026
- 7.36 MB
- 40
- 1.21.1
- NeoForge
File Name
apexnetwork-1.6.1.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Apex Network Optimizer - Update v1.6.1 (The Compatibility Patch)
This patch release focuses on cross-mod compatibility and reliability, fixing critical crashes when running alongside Distant Horizons and other mods that modify the Netty pipeline during disconnect.
🛡️ Distant Horizons Compatibility
- Fixed Module Conflict: Resolved a fatal
ResolutionExceptioncrash on startup when Distant Horizons was installed. Both mods bundled theorg.tukaani.xz(LZMA2) library, causing Java's module system to reject the duplicate package. ApexNetwork now uses ASM-based bytecode relocation to shade the XZ library intocom.apexnetwork.shaded.xz, completely eliminating the conflict. - LZMA2 Works Everywhere: Unlike a simple fallback, the relocated XZ library is fully embedded inside the ApexNetwork jar. LZMA2 and Hybrid compression work on every server and client, with or without Distant Horizons installed.
🔧 Pipeline Disconnect Crash Fix
- Fixed
NoSuchElementExceptionon Disconnect: Fixed a race condition crash (NoSuchElementException: apex_zstd_decoder) that occurred when disconnecting from a server while other mods (like Distant Horizons) were simultaneously tearing down the Netty pipeline. - Channel Guard: The
ApexPipelineInjector.remove()method now checkschannel.isOpen()before attempting handler removal, and thesafeRemove()catch block has been broadened fromNoSuchElementExceptiontoExceptionto handle any unexpected pipeline state during concurrent disconnect races.
📊 Built-In Benchmark Command
- New
/apex benchmarkCommand: Run real-time compression benchmarks directly in-game. Captures live network traffic, compresses it against every algorithm and level, and reports speeds and ratios with live progress updates. - Dictionary Bug Fix: Fixed a bug where cached Zstd dictionary contexts produced inaccurate benchmark results. Fresh contexts are now created per profile for accurate measurements.
- Increased Dictionary Size: Default dictionary training size increased from 8KB to 112KB for better capture of Minecraft NBT data patterns.
📈 What to Expect
- No More Crashes with DH: ApexNetwork now coexists peacefully with Distant Horizons, Sodium, ModernFix, and the full NeoForge ecosystem.
- Clean Disconnects: Leaving a server no longer risks a crash report, even with heavily modded clients.
- Verify Performance: Use
/apex benchmarkto see exactly how much bandwidth Apex is saving on your server.