TickTact 是一款适用于服务器和单人游戏的轻量级性能模组。
它减少了由活跃实体(如生物、刷怪笼以及方块实体——包括模组机器、漏斗、箱子、红石等)引起的卡顿。
▶️ 演示(高 MSPT 与低 MSPT 对比):
⏱️ 什么是 MSPT(以及它为何重要)
MSPT(每刻毫秒数)是指游戏处理一个游戏刻(AI、红石、机器、作物等)所需的时间。
为了保持 20 TPS,服务器必须在 50 毫秒内完成每个游戏刻的处理。
如果 MSPT 超过 50 毫秒,就会出现卡顿:延迟、生物移动缓慢以及橡皮筋效应。
TickTact 通过减少每个游戏刻中的不必要工作来帮助降低 MSPT。
? 工作原理
TickTact 为加载区域使用动态游戏刻预算
玩家附近:实体和方块实体正常进行游戏刻更新。
远离玩家处:它们的更新频率降低(基于距离和当前服务器负载)。
这节省了 CPU 时间,并使繁忙的世界保持响应灵敏。
✨ 主要功能
智能游戏刻更新
实体和方块实体在远离玩家时更新速度变慢。
动态预算分配
TickTact 监控 MSPT,并在服务器开始卡顿时自动减少负载。
公平系统
没有任何东西会永远冻结。被限流的对象仍会定期更新,因此农场、作物和机器继续正常工作。
可配置预设
选择安全、标准或激进模式,或在配置文件中调整预算。
设计安全
在主线程上运行。没有冒险的异步操作。
适合谁?
整合包制作者:让大型整合包在繁忙世界中仍可游玩。
服务器所有者:减少来自农场、研磨机和巨型基地的卡顿。
单人游戏:单人游戏同样运行内部服务器,因此可以减少 CPU 尖峰和微小卡顿。
注意
这是首次发布。请在追踪器上报告问题,以便我改进模组。
TickTact is a lightweight performance mod for servers and singleplayer.
It reduces lag caused by active things like mobs, spawners, and block entities (modded machines, hoppers, chests, redstone, and more).
▶️ Demo (High MSPT vs Low MSPT):
⏱️ What is MSPT (and why it matters)
MSPT (Milliseconds Per Tick) is how long the game takes to process one tick (AI, redstone, machines, crops, etc.).
To keep 20 TPS, the server must finish each tick in under 50 ms.
If MSPT goes above 50 ms, you get lag: delays, slow mobs, and rubber-banding.
TickTact helps keep MSPT low by reducing unnecessary work each tick.
? How it works
TickTact uses a dynamic tick budget for loaded areas
Near players: entities and block entities tick normally.
Far from players: they tick less often (based on distance and current server load).
This saves CPU time and keeps busy worlds responsive.
✨ Key Features
Smart Ticking
Entities and block entities tick slower when far from players.
Dynamic Budgeting
TickTact monitors MSPT and automatically reduces load when the server starts lagging.
Fairness System
Nothing is frozen forever. Throttled objects still tick regularly, so farms, crops, and machines keep working.
Configurable Presets
Choose Safe, Standard, or Aggressive, or tune budgets in the config.
Safe by Design
Runs on the main thread. No risky async tricks.
Who is this for?
Modpack creators: keep big packs playable in busy worlds.
Server owners: reduce lag from farms, grinders, and mega-bases.
Singleplayer: singleplayer runs an internal server too, so this can reduce CPU spikes and micro-stutters.
Note
This is the first release. Please report issues on the tracker so i can improve the mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧