VeloNet

Independent Fabric network stack optimization mod (forked from Krypton) powered by Velocity natives, with leak-free Netty handling and full ViaFabricPlus, PacketFixer, e4mc & Eunomia compatibility.

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 libdeflate compression and native AES encryption on supported platforms, with safe JVM fallback (zlib / AES-NI) and multi-buffer CompositeByteBuf protection 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 BandwidthDebugMonitor support, 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 @WrapOperation login encryption handling.
    • Dynamically respects PacketFixer size limits and eliminates off-heap helperBuf direct memory leaks.
    • Tested alongside Eunomia, Sodium, Lithium, TT20, ModernFix, and ResourceTrimmer.
  • 🧹 Leak-Free Netty Lifecycle: Drops inactive-channel writes cleanly without EncoderException, avoids premature native cipher/compressor disposal on close, handles zero-byte frames at threshold = 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

VeloNet Team

profile avatar
Owner
  • 1
    Projects
  • 1.3K
    Downloads