
FluidCore
FluidCore 是一款轻量级的 Fabric 性能模组,旨在优化 Minecraft 原版流体 tick 系统,适用于单人游戏和多人服务器。
工作原理
Minecraft 原版会每隔几个游戏刻(tick)对所有水和岩浆方块进行 tick 处理——即使这些方块已经几分钟没有变化,且附近没有任何玩家。FluidCore 引入了智能的休眠/唤醒机制,消除了这种浪费 CPU 时间的行为。
- 基于距离的休眠 —— 距离任何玩家超过 96 格远的流体方块将进入休眠状态并停止 tick
- 稳定性计数器 —— 在 60 个刻内未发生变化的流体方块会逐渐进入休眠状态,即使它们位于玩家附近
- 事件驱动的唤醒 —— 当附近的方块发生变化时,休眠的流体会立即唤醒,确保行为正确
- 区块卸载清理 —— 当区块卸载时,休眠的流体数据会被自动清理,防止内存泄漏
- 支持源方块与流动方块 —— 同时优化水/岩浆源方块和流动方块
基准测试
在 Fabric 1.20.1 上使用 Spark 分析器进行测试:
| 指标 |
Vanilla |
FluidCore |
提升幅度 |
| 流体 tick CPU 占用率 |
2.63% |
2.29% |
降低约 13% |
测试环境为平坦世界中的大片水域。结果可能因世界复杂度而异。
兼容性
- ✅ Fabric 1.20.1
- ✅ 适用于单人游戏
- ✅ 兼容原版客户端(仅限服务端)
- ✅ 兼容 Sodium、Lithium 及其他性能模组
安装方法
- 安装 Fabric Loader
- 安装 Fabric API
- 将 FluidCore 放入你的 mods 文件夹
- 启动游戏
尽情享受吧!

FluidCore
FluidCore is a lightweight Fabric performance mod that
optimizes Minecraft's vanilla fluid tick system for both
singleplayer and multiplayer servers.
How It Works
Vanilla Minecraft ticks every single water and lava block
every few game ticks — even blocks that haven't changed in
minutes, and even when no player is nearby. FluidCore
introduces a smart sleep/wake system that eliminates this
wasted CPU time.
- Distance-based sleeping — Fluid blocks farther than
96 blocks from any player are put to sleep and stop ticking
- Stability counter — Fluid blocks that haven't changed
for 60 ticks are gradually put to sleep, even near players
- Event-driven wake-up — Sleeping fluids instantly wake
up when a nearby block changes, ensuring correct behavior
- Chunk unload cleanup — Sleeping fluid data is
automatically cleaned when chunks unload, preventing memory
leaks
- Both source and flowing blocks — Optimizes both water/
lava source blocks and flowing blocks
Benchmarks
Tested with Spark profiler on Fabric 1.20.1:
| Metric |
Vanilla |
FluidCore |
Improvement |
| Fluid tick CPU usage |
2.63% |
2.29% |
~13% reduction |
Tested on a flat world with a large water area.
Results may vary depending on world complexity.
Compatibility
- ✅ Fabric 1.20.1
- ✅ Works in singleplayer
- ✅ Compatible with vanilla clients (server-side only)
- ✅ Compatible with Sodium, Lithium, and other
performance mods
Installation
- Install Fabric Loader
- Install Fabric API
- Drop FluidCore into your mods folder
- Launch the game
Enjoy!
评论 0
登录后参与评分
还没有评论,来抢沙发吧