COWMODSКаталог модов

Adaptive Entity Prioritization (AEP)

AEP dynamically reduces lag by throttling mob AI and item merge checks based on server strain.

Автор: Will5Plays1431обновлён 30 нояб. 2025 г.
УправлениеОптимизацияУтилиты

Описание

AEP (Adaptive Entity Prioritization)

AEP is a lightweight, server-side performance optimization mod designed to automatically manage and reduce load caused by entity ticking and physics.

Unlike blanket optimizations, AEP uses an adaptive throttling system. The mod only steps in to reduce work when the server needs it—primarily during periods of high server load (high MSPT/TPS drops). When the server runs smoothly, entities and item stacks behave normally.

When the server strains, AEP selectively and temporarily slows down the tick rate for:

  1. Mob AI: Pathfinding and general behavior ticks for non-player entities are throttled (mobs might only tick once every few game ticks).
  2. Item Merging: The process of item entities searching for nearby stacks to merge with is throttled, reducing physics checks.

AEP uses high mixin priority to apply its throttling logic before the corresponding vanilla methods run, making it effective at reducing server work immediately upon detection of lag.


🛑 IMPORTANT COMPATIBILITY NOTE

AEP is NOT COMPATIBLE with Lithium.

Both AEP and Lithium patch the same core server loops. Lithium's advanced optimizations will completely override and disable AEP's logic, rendering AEP ineffective, and crashing Minecraft. For the best performance, do not run AEP alongside Lithium.

Creator: Will5Plays

Галерея

Logo

Последние версии

Все версии →
release

v1.0.0 -- Initial Release

1
30 нояб. 2025 г.143Minecraft: 1.21.8fabric
Скачать
Что нового
v1.0.0 (Initial Release) This is the debut release of AEP, a server-side performance mod designed to stabilize TPS and MSPT during periods of high load. ✨ New Features Adaptive Throttling Core: Implements a system to dynamically monitor server tick time (MSPT) and automatically adjust the throttling level of non-critical entity processes. Prioritized Entity Ticking: Introduces a high-priority mixin (priority = 2000) to the PathAwareEntity class (MobAiMixin). This logic selectively cancels mob AI ticks based on the calculated server load, ensuring your custom throttling logic runs last, effectively overriding common optimization mods. Adaptive Item Merging: Implements throttling on the ItemEntity class (ItemMergeMixin). This limits the frequency at which items check for nearby stacks to merge with, significantly reducing physics processing during lag spikes. ServerTickTracker: Includes a simple utility class (MinecraftServerMixin) to track and report current server load, enabling the adaptive system.