VeloNet ⚡
VeloNet is an independent, drop-in network stack optimization mod for Minecraft 26.3 (Fabric), forked from [Krypton] by Andrew Steinborn (tuxed) and powered by PaperMC's Velocity networking natives.
It upgrades Minecraft's packet framing, compression, and encryption pipelines with leak-free native memory management — delivering higher network throughput, lower CPU overhead, and smoother multiplayer performance on both client and server.
VeloNet is an independent community fork and is not affiliated with or endorsed by the original Krypton author.
✨ Key Features & Improvements
- 🚀 Velocity Native Pipeline: Accelerated
libdeflatecompression and native AES encryption on supported platforms, with safe JVM fallback (zlib/ AES-NI) and multi-bufferCompositeByteBufprotection on Windows and Intel macOS. - 🔄 Full ViaFabricPlus Compatibility: Properly manages Netty pipeline ordering (
via-flow-control, compression, and legacy server protocol framing) without disconnects or buffer errors. - ⚡ Fast Framing & Micro-Optimizations: In-place VarInt21 frame decoding with F3
BandwidthDebugMonitorsupport, small-packet prepender coalescing (<= 128B), zero-copy scatter/gather writes for larger packets, and direct UTF-8 encoding with overflow protection. - 🛡️ Zero-Conflict Mod Compatibility:
- Works alongside e4mc via cooperative
@WrapOperationlogin encryption handling. - Dynamically respects PacketFixer size limits and eliminates off-heap
helperBufdirect memory leaks. - Tested alongside Eunomia, Sodium, Lithium, TT20, ModernFix, and ResourceTrimmer.
- Works alongside e4mc via cooperative
- 🧹 Leak-Free Netty Lifecycle: Drops inactive-channel writes cleanly without
EncoderException, avoids premature native cipher/compressor disposal on close, handles zero-byte frames atthreshold = 0, and includes a DEFLATE zip-bomb guard. - ☕ Java 25+ Ready: Compiled for Java 25 and verified on modern runtimes (Java 25–27).
📦 Compatibility & Requirements
- Mod Loader: Fabric (
Fabric Loader >= 0.18.4) - Minecraft Version:
26.3 - Java Version:
Java 25+ - Dependencies: None (Fabric API is not required)
- Environment: Client & Server (Singleplayer, Multiplayer, and Dedicated Servers)
- License: LGPL-3.0