Krypton Reno
自 26.1 版本起,我们不再提供 Forge 兼容性,因此原名“Krypton FNP”已不再适用。
“FNP”是“Forge and NeoForge's Port(Forge 和 NeoForge 的移植版)”的缩写,但随着 Forge 支持的移除,我已将此模组更名为 Krypton Reno。
为防止我们的旧链接被恶意利用,我们在 Modrinth 和 CurseForge 上的链接地址将保持不变,仅更新了 GitHub 仓库的 URL。
Krypton Reno 为所有主要系统提供了强大的网络优化功能。
移植自 Krypton Fabric,并添加了一些独特的优化内容。支持 NeoForge/Forge;
对于 Fabric/Paper 服务器,请参阅 KryptonReno Fabric
对于 Velocity 服务器,请参阅 VelocityNT Recast。
差异化说明
此处指“我们”与上游“Krypton Fabric”及其他 Krypton Fork 之间的区别
- 持续为稳定版本(1.20.1、1.21.1)及最新版本提供兼容性支持
- RecastLib 为 Windows (x64/arm64) 提供加速功能
- 进一步的扩展性优化
什么是 RecastLib
RecastLib 是我用 Rust 编写的一个原生库,兼容 Velocity Native JNI Bind。
它旨在弥补 Velocity Native 兼容性的一些不足,从而使 KryptonReno 的性能优势更加全面。
在用于 Fabric 的 KryptonReno 中,我也正在测试 Java 22 中可用的 FFM API 的稳定性,根据基准测试结果,这应该能带来更高的性能提升(最终仅限 Fabric 可用。Forge/NeoForge 无法运行这些功能)。
它们的好处显而易见:服务端和客户端都能受益,并且由于替代兼容性的存在,大多数主流 PC 都能运行这些原生库。
兼容性
| 系统与架构 | RecastLib | Velocity Native |
|---|---|---|
| Windows x64 | 是 | 否 |
| Windows arm64 | 是 | 否 |
| Linux x64 | 否 | 是 |
| Linux arm64 | 否 | 是 |
| MacOS arm64 (Apple Silicon) | 否 | 是 |
兼容性是“混合”的;它们在另一方不支持的领域提供兼容性,因此您无需担心失去兼容性。
目前暂无计划提供对 Android、32 位操作系统或其他架构的支持。
请不要提交任何相关问题或向我抱怨,即使提交了,我也无能为力。
配置
mixin:
# 用虚拟线程替换玩家登录验证线程
loginVT: true
# 用虚拟线程替换文本过滤线程
textFilterVT: true
# 用虚拟线程替换下载线程
utilVT: true
# 优化的 VarLong 实现
bestVarLong: true
# 在客户端启用新的加密优化
clientEncrypt: true
# 优化的 RconClient 实现
rconClient: false
# 如果实体未移动,则跳过发送移动数据包;如果实体仅发生旋转,则将位置+旋转数据包降级为仅旋转数据包
serverEntityMoveOpt: false
# 减少 Connection 类中的对象分配和锁竞争
connectionMicroOpt: true
# 减少一些可能无用的粒子数据包。此配置仅在服务器端生效。
particlePacketOpt: true
# 通过减少对象分配和使用基于数组的广播来优化实体跟踪
trackedEntityOpt: true
fix:
issues128:
# 修复流量统计
enabled: false
# 在同步线程上运行带宽统计,这更接近原版行为。
sync: true
culling:
# 服务器端的智能实体剔除
entity: true
# 服务器端的智能方块/方块实体剔除
block: true
# 将数据包中完全隐藏的方块替换为空气以节省带宽
chunk_block: true
# 将数据数组全为零的光照区块视为空区块,从而在每个区块的 ClientboundLevelChunkWithLightPacket / ClientboundLightUpdatePacket 中跳过 2KiB 的数据负载
chunk_light: true
compress:
# 数据包的压缩级别,介于 1-9 之间。
compressionLevel: 4
# 允许超大数据包
permitOversizedPackets: false
gui:
# 使用新设计的 OreUI 替换 Minecraft 风格的 KReno UI
oreui: false
compatibility:
allow-wide-var-int: false
netty:
# 将 Netty 默认的 16MiB 内存分配更改为 4MiB,因为 Minecraft 有 2MiB 的数据包大小限制。
allocatorMaxOrder: 9
# 为客户端连接启用 Happy Eyeballs (RFC 8305) 以竞态连接 IPv6 和 IPv4。可能会导致某些服务器(如 Velocity)暂时拒绝连接。
happyEyeballs: false
使用环境变量代替 JVM 参数
某些配置项支持使用环境变量代替 JVM 参数。
| JVM ARGS | 环境变量 |
|---|---|
| velocity.linux-recast-enabled | ENABLE_LINUX_RECAST |
java -Dvelocity.natives-disable=false -Dvelocity.linux-recast-enabled=true -jar neoforge_launcher.jar
或者
ENABLE_LINUX_RECAST=true java -jar neoforge_launcher.jar
基准测试
常见问题解答
1
问: 如果我在客户端安装了此模组但在服务器端没有安装,我将无法加入服务器吗?
答: 我故意将其设计为与 Krypton Fabric “一致”,因此即使另一端没有此模组,你仍然可以连接(被连接到)。除非服务器管理员安装了检测模组列表的反作弊模组,在这种情况下,你应该联系他们请求许可。
2
问: 它能帮助我降低延迟(Ping)吗?
答: Krypton Reno 的优化可以节省一些硬件性能,这应该能减少由 CPU 核心抢占引起的高延迟。但是,如果你的硬件资源已经非常有限,或者你的网络质量确实很差,那么 Krypton Reno 也救不了你。它不能突破物理极限。
3
问: Krypton Reno 与哪些模组兼容?
答: 很多!你基本上只需要担心它们之间是否会互相冲突,而不必担心 Krypton Reno。
不兼容的模组:Krypton Reforged, Ceres, Pluto, KryptonFoxified, Krypton Hybird, Chionanthus, Krypton Fabric with Connector
4
问: 会导致一些不同的行为吗?
答: 这是不可避免的。我已经尽力保持实现尽可能对齐,在大多数情况下,你只需要修改配置即可继续使用。
5
问: 我可以在混合 Bukkit API 与 Forge/NeoForge 的服务器中使用 Krypton Reno 吗?
答: 不行,绝对不行。Bukkit API 根本无法设计用于支持模组,我无法保证 Krypton Reno 不会在那里破坏某些东西,也无法保证它们不会破坏 Krypton Reno。
6
问: 我似乎无法加载原生库(Velocity Native 或 RecastLib),该怎么办?
答: 通常,这应该是由于机器上缺少依赖库造成的。
- 对于 Windows:你可能需要安装 MSVC 170 和 OpenSSL 3 Win32
- 对于 Linux:你应该至少安装了 OpenSSL3(大多数操作系统都应自带)
- 对于 MacOS:你不需要做任何事情,只需确保系统已更新。
这些库应与 x64 和 arm64 架构兼容,因此你无需担心它们。
致谢
适用于整合包
如果你遵守许可证,你可以自由地将其用于整合包。
不允许重新分发 Minecraft 游戏本体(即打包了整个 Minecraft 游戏包括 Mod 文件、Config、光影、资源包、库和启动器到一个 zip 文件中的包)的整合包使用此模组。
许可证
本作品在原许可证的基础上附加了限制性许可证,以防止某些意外行为, 请参阅 404Setup Public License
- Krypton Reno: 2025-2026。按“原样”提供。由 404Setup 依据 LGPL-3.0 Only 许可证发布。
- RecastLib RecastXZ: 2025-2026 404Setup。保留所有权利。源代码采用 MPL-2.0 许可证授权。
- RecastLib RecastSSL: 2025-2026 404Setup。保留所有权利。源代码采用 BSD-3-Clause 许可证授权。
Krypton Reno
Since we no longer provide Forge compatibility starting from version 26.1, the original name "Krypton FNP" is no longer meaningful.
The acronym "FNP" stood for "Forge and NeoForge's Port," but as Forge support is now absent, I have renamed this mod to Krypton Reno.
To ensure that our legacy URLs cannot be exploited by malicious parties, the URLs for our listings on Modrinth and CurseForge will remain unchanged, only the URL for the GitHub repository has been updated.
Krypton Reno provides powerful network optimization capabilities for all major systems.
Ported from Krypton Fabric, with some unique optimizations added. Supports NeoForge/Forge;
For Fabric/Paper Server, please see the KryptonReno Fabric
For Velocity Server, please see the VelocityNT Recast.
Differentiation
This refers to the differences between "us" and upstream "Krypton Fabric" and other Krypton Forks
- Continuously provide compatibility for stable versions (1.20.1, 1.21.1) and the latest versions
- RecastLib provides acceleration features for Windows (x64/arm64)
- Further scalability optimizations
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 KryptonReno more comprehensive.
In KryptonReno 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 | No | Yes |
| Linux arm64 | No | Yes |
| MacOS arm64 (Apple Silicon) | No | Yes |
Compatibility is "hybrid"; they provide compatibility in areas where the other does not support them, so you don't need to worry about losing compatibility.
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
mixin:
# Replace player login validation thread with virtual thread
loginVT: true
# Replace text filter thread with virtual thread
textFilterVT: true
# Replace download thread with virtual thread
utilVT: true
# Optimized VarLong implementation
bestVarLong: true
# Enable new encryption optimizations on the client side
clientEncrypt: true
# Optimized RconClient implementation
rconClient: false
# Skips sending movement packets if the entity hasn't moved, and downgrades position+rotation packets to just rotation if the entity only turned
serverEntityMoveOpt: false
# Reduces object allocation and lock contention in the Connection class
connectionMicroOpt: true
# Reduces some potentially useless particle packets. This configuration only takes effect on the server side.
particlePacketOpt: true
# Optimizes entity tracking by reducing object allocation and using array-based broadcasting
trackedEntityOpt: true
fix:
issues128:
# Fix Traffic Statistics
enabled: false
# Run bandwidth statistics on sync thread, which is closer to Vanilla behavior.
sync: true
culling:
# Smart entity culling on server side
entity: true
# Smart block/block entity culling on server side
block: true
# Replaces completely hidden blocks in chunk packets with air to save bandwidth
chunk_block: true
# Treat light sections whose data array is fully zero as empty to skip 2KiB payload per section in ClientboundLevelChunkWithLightPacket / ClientboundLightUpdatePacket
chunk_light: true
compress:
# The compression level for packets, between 1-9.
compressionLevel: 4
# Permit Oversized Packets
permitOversizedPackets: false
gui:
# Replace Minecraft style KReno UI with a newly designed OreUI
oreui: false
compatibility:
allow-wide-var-int: false
netty:
# Change Netty's default 16MiB memory allocation to 4MiB, as Minecraft has a 2MiB packet size limit.
allocatorMaxOrder: 9
# Enable Happy Eyeballs (RFC 8305) for client connections to race IPv6 and IPv4. May cause some servers (like Velocity) to temporarily refuse connections.
happyEyeballs: false
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 |
java -Dvelocity.natives-disable=false -Dvelocity.linux-recast-enabled=true -jar neoforge_launcher.jar
or
ENABLE_LINUX_RECAST=true java -jar neoforge_launcher.jar
Benchmark
Q&A
1
Q: If I install this mod on the client but not on the server, will I be unable to join the server?
A: I deliberately designed it to be "consistent" with Krypton Fabric, so you can connect (be connected to) even if the other end doesn't have this mod, unless the server administrator has installed an anti-cheat mod that detects the mod list, in which case you should contact them to request permission.
2
Q: Will it help me reduce ping latency?
A: Krypton Reno's optimizations can save some hardware performance, which should reduce high latency caused by CPU core preemption. However, if your hardware resources are already very limited, or your network quality is truly poor, then Krypton Reno can't save you much. It can't push the physical limits.
3
Q: Which mods is Krypton Reno compatible with?
A: There are a lot! You basically only need to worry about whether they will conflict with each other, without having to worry about Krypton Reno.
Incompatible Mods: Krypton Reforged, Ceres, Pluto, KryptonFoxified, Krypton Hybird, Chionanthus, Krypton Fabric with Connector
4
Q: Will it cause some different behavior?
A: This is unavoidable, I have tried to keep the implementation as aligned as possible, and in most cases you only need to modify the configuration to continue using it.
5
Q: Can I use Krypton Reno in servers that mix Bukkit API with Forge/NeoForge?
A: No, absolutely not. The Bukkit API was simply not designed to support Mods, and I can't guarantee that Krypton Reno won't break something there, or that they break Krypton Reno.
6
Q: I can't seem to load the native library (Velocity Native or RecastLib), what should I do?
A: Generally, this should be caused by missing dependent libraries on the machine.
- For Windows: You should probably install MSVC 170 and OpenSSL 3 Win32
- For Linux: You should have at least OpenSSL3 installed (most operating systems should come with it)
- For MacOS: You should do nothing, just make sure the system is up to date.
These libraries should be compatible with x64 and arm64 architectures, so you don’t need to worry about them.
Credit
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
- Krypton Reno: 2025-2026. Licensed "as is". Provided by 404Setup under LGPL-3.0 Only.
- RecastLib RecastXZ: 2025-2026 404Setup. All rights reserved. Source code is licensed under a MPL-2.0 License.
- RecastLib RecastSSL: 2025-2026 404Setup. All rights reserved. Source code is licensed under a BSD-3-Clause License.
下载 Krypton Reno
下载 Krypton Reno
下载 Krypton Reno
下载 Krypton Reno
下载 Krypton Reno
下载 Krypton Reno
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Krypton Reno
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Krypton Reno
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Krypton Reno
下载 Krypton Reno
26.3.2 Minecraft 26.2.0 中的 Beta 版本
- 避免在视线剔除中同步加载区块
- 在 TrackedEntityMixin 中将实体剔除配置检查缓存到循环外部
- 改进 Varint21FrameDecoderMixin 中的执行器
- 移除连接微优化
- 添加数据包处理器优化
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧