Papi Optimization

The project focuses on optimizing entity simulation and rendering, which reduces the load on the CPU and GPU.

File Details

papiai-1.0.1-1.20.1.jar

  • R
  • May 27, 2026
  • 36.24 KB
  • 39
  • 1.20.1
  • Forge

File Name

papiai-0.0.1-1.20.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:papi-optimization-1508245:8153603")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

English

  • Dynamic Frustum Culling: Moved camera checks to per-frame rendering to completely fix mob pop-in / visual lag when turning quickly.
  • Leaves & Chest Culling: Culls hidden inner leaf faces and occluded chests, boosting FPS in forest biomes by 20–30%.
  • GC-Free Pathfinding & Maps: Replaced standard maps with FastUtil primitive collections and packed coordinates, eliminating heap allocations and GC pressure.
  • Smart AI & Sounds: Throttles AI ticks for distant mobs and filters out far-away sounds based on active performance levels.

Русский

  • Динамический Frustum Culling: Проверка камеры перенесена в рендеринг кадров, полностью устранив резкое появление (поп-ин) мобов при поворотах.
  • Куллинг листвы и сундуков: Отсекает невидимые внутренние грани листьев и скрытые сундуки, повышая FPS в лесных биомах на 20–30%.
  • Оптимизация ОЗУ и путей: Стандартные коллекции заменены на примитивные карты FastUtil, а координаты упакованы, полностью избавив память от лишних аллокаций.
  • Умный ИИ и звуки: Снижает частоту тиков ИИ для дальних мобов и приглушает удаленные звуки в зависимости от текущего FPS.