HopperSleeper
HopperSleeper 通过让闲置的漏斗不再每刻进行轮询,来降低服务器的刻负载。
当漏斗为空且没有可抽取的物品时,它会进入休眠状态。
当发生真实的原版事件时,漏斗会立即唤醒,例如:
- 物品实体进入漏斗区域
- 上方的容器内容发生变化
- 有物品被插入漏斗
这在移除不必要的方块实体运算的同时,保留了原版行为。
改进
- 在漏斗密集的世界中降低 MSPT(每刻毫秒数)
- 减少刻时间波动
- 在服务器和单人游戏中提供更稳定的 TPS
无模组加载时

加载模组后

注:测试环境为拥有超过 100 个漏斗的超平坦、和平难度世界。
该模组不添加任何方块、物品或配置文件,也不修改世界数据。
它仅改变闲置漏斗运行其逻辑的频率。
HopperSleeper
HopperSleeper reduces server tick load by stopping idle hoppers from polling every tick.
When a hopper is empty and has nothing to pull, it is put to sleep.
The hopper is woken instantly when a real vanilla event occurs, such as:
- an item entity entering the hopper area
- a container above changing contents
- items being inserted into the hopper
This preserves vanilla behavior while removing unnecessary block entity work.
Improvements
- Lower MSPT in hopper-heavy worlds
- Reduced tick-time spikes
- More stable TPS on servers and singleplayer
without mod

with mod

Note: tested in a superflat, peaceful difficulty world with over 100 hoppers present.
The mod does not add blocks, items, or configs, and does not modify world data.
It only changes how often idle hoppers run their logic.
评论 0
登录后参与评分
还没有评论,来抢沙发吧