Entity Cadence
Intelligent, crash-safe entity and AI tick scheduler that cuts server lag by dynamically throttling distant mobs and dropped items without breaking physics or combat
介绍
Warning
This project is no longer actively maintained and is on indefinite hiatus. No further updates, feature additions, or bug fixes will be provided. The repository is archived and read-only. Anyone is welcome to fork this project and continue development under the terms of the open-source license.
Entity Cadence (1.12.2 Cleanroom & Forge)
Entity Cadence is an intelligent, crash-safe entity and AI tick scheduler for Minecraft 1.12.2 on Cleanroom and Forge.
By dynamically scaling the tick frequency of distant entity AI pathfinding and ground items without pausing physics or breaking combat, Entity Cadence significantly improves server MSPT and client tick rates all while keeping gameplay completely seamless.
In modded 1.12.2, servers and singleplayer worlds easily accumulate hundreds or thousands of loaded entities. Deep in caves, wandering dark forests, or resting in distant pens, these entities force Minecraft to waste up to 80% of its tick budget running pathfinding searches, line-of-sight checks, and goal evaluations that no player can even observe.
Unlike blunt optimizers that freeze entities in place or break modded AI, Entity Cadence maintains natural rhythm and pacing:
- Distant mobs gradually think less often.
- Approaching mobs smoothly transition back to full 20 TPS.
- Mobs in combat, falling through the air, taking damage, or preparing to explode react instantly at 100% speed.
- Zero floating mobs, zero delayed fall damage, and zero rubberbanding.
- 🚀 Massive Tick Performance Gains: Lowers server MSPT by 30% to 70% in entity-heavy areas, keeping servers at a steady 20 TPS.
- 🧠 Smart AI Throttling: Rather than halting the whole entity, it intercepts only expensive
EntityAITaskspathfinding, allowing gravity, motion, collisions, and animations to run naturally. - 📦 Dropped Item & XP Orb Throttling: Tames lag from automated mob farms, quarries, or dropped item overflows by slowing uncollected items far from players. Items within 5 blocks of a player always tick at full speed for instant pickup.
- ⚔️ Instant Combat & Motion Protections: Evaluated fresh every tick! If an entity is airborne, falling off a cliff, hurt, has an attack/revenge target, or is a swelling Creeper, it immediately bypasses throttling.
- 🛡️ Dynamic Anti-Lag Stress Scaling: Constantly monitors server tick health. If tick times cross 45 ms, throttling gently intensifies to recover TPS, and eases back down once the lag spike subsides.
- 👾 Built-in 1.12.2 Modpack Compat: Pre-configured exclusions for bosses and dangerous mobs from Ice and Fire, Lycanites Mobs, Scape and Run: Parasites, Aether Legacy, Twilight Forest, Mowzie’s Mobs, Champions, Infernal Mobs, and Scaling Health.
- 🚫 Thread-Safe Architecture: Completely avoids the dangerous off-thread data races present in other optimizers. All scheduling is amortized safely on the main thread.
- Minecraft:
1.12.2 - Modloader: CleanroomMC (v0.6.x+) or Minecraft Forge (
14.23.5.2847+) - Dependencies: MixinBooter (v8.0+ or v10.x)
- Java: Supports standard Java 8 as well as modern JVMs (Java 17–25) on Cleanroom.
- Server-Side: Install on your dedicated server. Clients do NOT need the mod installed to join.
- Singleplayer: Install in your client’s
modsfolder to enjoy improved internal server TPS and viewport frustum culling.
/ec status– Shows current optimization status, server MSPT, TPS, and dimension CPU savings./ec top [dim]– Displays the top 10 most populated entity types in the dimension./ec stress– Displays real-time anti-lag stress metrics and scaling factors./ec toggle– (OP Level 2) Dynamically enable or disable entity throttling on the fly./ec reload– (OP Level 2) Hot-reloads the configuration file.
(Legacy command aliases /io and /immersiveoptimization are also supported).
Entity Cadence is designed to be fully compatible with existing 1.12.2 performance suites:
- VintageFix / FoamFix / Universal Tweaks – Fully compatible.
- Clumps – Fully compatible (both work together to minimize XP orb lag).
- Entity Culling – Fully compatible (Entity Culling handles client render occlusion; Entity Cadence handles server tick logic).
- Tech Mods (AE2, Ender IO, GregTech) – Fully compatible. (Block entity/TileEntity throttling is intentionally disabled to ensure machines and piping never desync).
- Original Concept & Inspiration: Inspired by ImmersiveOptimization by Luke100000.
- Cleanroom 1.12.2 Architecture & Rewrite: Developed by Brilliafy.
- License: Licensed under the GNU General Public License v3.0.
常见问题
Entity Cadence 支持哪些 Minecraft 版本?
Entity Cadence 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Entity Cadence 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Aelfwif 的其他作品
查看全部 →
Magic Storage Network
一个受《泰拉瑞亚》启发、适用于 Minecraft 1.12.2 的简单存储网络解决方案模组。通过存储之心集中物品,配有分级单元、合成站(铁砧、附魔、熔炉、酿造)、便携遥控器和 JEI 集成。
Fair Experience Costs
A Minecraft mod that converts flat XP level costs to fair raw XP costs for Enchanting Tables, Anvils, and other level deductions.
ChunkFlow: Fast Chunk I/O
Multi-threaded chunk loading from disk with directional streaming that prevents unrendered void holes during fast travel.
StartupFlow
Accelerates 1.12.2 launch times with multi-threaded model baking, parallel texture mipmapping, and smart startup caching.
评论
登录后评论和评分