Krypton (NeoForge)

Optimizes the Minecraft networking stack: native compression and encryption, faster packet handling. NeoForge port of Krypton.
Back to Files

krypton-1.0.0-all.jar

File namekrypton-1.0.0-all.jar
Uploader
Sharkman96Sharkman96
Uploaded
Nov 3, 2026
Downloads
39
Size
285.8 KB
Mod Loaders
NeoForge
File ID
9423560
Type
R
Release
Supported game versions
  • 26.3

Curse Maven Snippet

NeoForge

implementation "curse.maven:krypton-neoforge-1781666:9423560"

Learn more about Curse Maven

What's new

1.0.0 — 2026-11-03

First release of the NeoForge port of Krypton for Minecraft 26.3.

Ports the complete current optimization set of the original Krypton 0.3.2 (astei, LGPL-3.0):

  • Native packet compression via velocity-native 4.3.1 (libdeflate on Linux/macOS, pure-Java fallback on Windows), embedded via Jar-in-Jar
  • Native encryption via velocity-native (OpenSSL cipher where available)
  • Optimized VarInt frame decoder from Velocity 1.1.0 + protection against nullping attacks
  • Zero-copy sharable prepender replacing the vanilla Varint21LengthFieldPrepender
  • Micro-optimizations: VarInt.write/getByteSize, UTF-8 string writes without intermediate copies, entity tracker passenger list
  • Netty tuning: 4 MiB allocator arenas, honors the io.netty.leakDetection.level property
  • LegacyQueryHandler fix for dead connections

Verified:

  • Built with NeoGradle 7.1.39 / NeoForge 26.3.0.101 / Java 25
  • Boots on a dedicated server (all 10 mixins applied, server reaches Done)
  • Client: joined a live (Purpur) server without the mod server-side, ~2 minutes of gameplay, clean shutdown
  • Jar-in-Jar velocity-native resolves correctly in a production instance

This mod has no additional files