Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details

Krypton FNP
This mod is an unofficial port of Krypton Fabric, designed to provide Forge & NeoForge compatibility.
If you are looking for KryptonFNP Fabric, visit from the following link: Modrinth
Krypton is a mod that attempts to optimize the Minecraft networking stack. It derives from work done in the Velocity, VelocityNT Recast and Paper projects.
Krypton derives itself from Ancient Greek kryptos, which means "the hidden one". This makes it evident most of the benefit from Krypton is "hidden" but is noticeable by a server administrator.
The wiki contains important information – read it.
Feature
- More related minor optimizations
- Implemented RecastLib
- Support NeoForge/Forge
What is RecastLib
RecastLib is a native library I wrote in Rust that is compatible with Velocity Native JNI Bind.
It aims to make up for some of the shortcomings of Velocity Native compatibility, thereby making the performance advantages of KryptonFNP more comprehensive.
In KryptonFNP for Fabric, I’m also testing the stability of the FFM APIs available in Java 22, which, according to benchmarks, should provide more performance gains (ultimately Fabric only. Forge/NeoForge won’t be able to run them).
Their benefits are obvious that both Server and Client can benefit, and that most popular PCs can run these native libraries due to the replacement compatibility.
Compatibility
System & Arch | RecastLib | Velocity Native |
---|---|---|
Windows x64 | Yes | No |
Windows arm64 | Yes | No |
Linux x64 | Yes | Yes |
Linux arm64 | No | Yes |
MacOS arm64 (Apple Silicon) | No | Yes |
Currently, there are no plans to provide compatibility for Android, 32-bit architecture operating systems, or other architectures.
Please do not open any related issues or complain to me, even if you do, I can't help.
Config
Add the following parameters to the Java startup parameters to control the feature enablement:
Parameter | Description | Default value |
---|---|---|
velocity.natives-disable | Disable Native | false |
velocity.linux-recast-enabled | Enable RecastLib for Linux | false |
krypton.loginVT | - | true |
krypton.textFilterVT | - | true |
krypton.utilVT | - | true |
krypton.bestVarLong | - | true |
For more configuration, see the configuration file
example:
java -Dvelocity.natives-disable=true -jar neoforge_launcher.jar
Use env instead of jvm args
Some configuration items support using environment variables instead of jvm args.
JVM ARGS | Environment Variable |
---|---|
velocity.linux-recast-enabled | ENABLE_LINUX_RECAST |
Benchmark
For Modpack
If you comply with the license, you can use it freely for Modpack.
Modpacks that redistribute Minecraft game body (i.e. packages that package the entire Minecraft game including Mod files, Config, ShaderPacks, ResourcePacks, Library and launcher into a whole zip file) are not allowed to use this mod.
License
This work has a restrictive license in addition to the original license to prevent some unexpected behavior, see 404Setup Public License