Krypton FNP

Krypton FNP represents an unofficial adaptation of the popular Krypton Fabric mod, specifically created to work with mods on Forge and NeoForge platforms. This mod significantly improves the performance of Minecraft's networking mechanisms.
Key Features
This solution includes numerous key optimizations, among which enhanced RecastLib support and extended compatibility with modern modding platforms. All changes allow for significant reduction of network load when both server and client are operating simultaneously.
What is RecastLib
RecastLib is a high-performance library written in Rust that extends the capabilities of standard data transmission speed through Velocity Native technologies. This library elevates Krypton FNP's performance to a new level using best practices of modern Java architecture.
Work is underway to test the stability of Java 22 APIs through FFM-compatible technologies for Fabric clients. Test results show noticeable performance improvements that are limited to Fabric clients only, while Forge versions cannot take advantage of these benefits.
Compatibility
| Platform | 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 |
Support for Android, 32-bit systems, and other architectures is not planned in the near future. Please do not create related requests.
Configuration
To activate key features, add to Java startup parameters:
| Parameter | Description | Default Value |
|---|---|---|
| velocity.natives-disable | Disable native module | false |
| velocity.linux-recast-enabled | Enable RecastLib for Linux | false |
| krypton.loginVT | - | true |
| krypton.textFilterVT | - | true |
| krypton.utilVT | - | true |
| krypton.bestVarLong | - | true |
Usage example:
shell java -Dvelocity.natives-disable=true -jar neoforge_launcher.jar
Environment Variable Configuration
Some parameters can be accessed systemically using environment variables:
| Parameter | Environment Variable |
|---|---|
| velocity.linux-recast-enabled | ENABLE_LINUX_RECAST |
Benchmark Results
Current performance test results are available according to the project source code through GitHub.
The built-in library facilitates adding the mod to map collections and modifications without additional effort. The main requirement is compliance with the developer's license. Usage alongside full repackaging of Minecraft is not permitted.
License
Distributed according to the working Public License confirmation of the 404Setup developer group.