Перейти к содержимому
Mineforgian

LazyAI

Optimizes Minecraft mob AI by scaling calculations based on distance to players, improving performance with as minimal gameplay impact as possible

76K загрузок69 подписчиковGPL-3.0-onlyfabric

Обновлён 17 июня 2026 г. · опубликован 5 октября 2025 г.

  • Crowded world test
  • Villager trading hall test

Overview

Lazy AI dynamically reduces the frequency and precision of mob AI calculations based on their distance from players. Mobs close to players behave normally, while those farther away update their goals, pathfinding, and other goals less often. This ensures smoother performance, especially in mob-heavy worlds.

Lazy AI bases its distance calculations of the simulation distance * distance scaling of your game

Performance difference

Lower ms -> better

Vanilla performance

Vanilla performance

Lazy AI performance

Using AI Optimization Type 'Dynamic' will dynamically switch between the three optimization modes based on TPS

Minimal Moderate Agressive
Lazy AI performance (using AIOptimizationType = Minimal) Lazy AI performance (using AIOptimizationType = Moderate) Lazy AI performance (using AIOptimizationType = Aggressive)

Comparison of Vanilla and LazyAI

TPS comparison in a mob crowded test world

Average world TPS test image

TPS comparison in a giant villager trading hall

Villager trading hall test image

Features

  • Distance-based AI scaling | Reduces AI updates for mobs that are far from players
  • Pathfinding optimization | Simplifies A* path calculations at long distances
  • Reduced goal frequency | Look, wander, and tempt goals run less often when distant
  • Configurable behavior | Easily balance performance and gameplay through a simple config accessible through mod menu
  • Server-wide improvement | Decreases tick load even on servers

Settings

  • AI Optimization Type | This settings controls how aggressive the optimizations should be
  • Distance Scaling | This setting controls what % range of your simulation distance is considered close and far range
  • Mob Tempting Delay | This setting controls how much delay animals have to being tempted by an item
  • Disable Zombie Egg Stomping | This setting controls the prevention of zombies wanting to destroy turtle eggs
  • Enable Vanilla Mob Ticking (Previously: Never Slow Down Distant Mobs) | This setting controls if distant mobs should tick the same as in a unmodded (vanilla) game. Enabling this reduces the mod's TPS-boosting effect on your game, but can fix mob ticking issues.
Lazy AI settings menu

FAQ

Can this mod increase my TPS?

Yes, this mod can improve your TPS.

Can this mod increase my FPS?

No, this mod cannot improve your FPS.

Does this mod affect mob farms?

Short awnser: Yes, but only a little bit.

Long awnser: Yes, LazyAI does affect mob farm efficiency, but the throughput impact is minimal. In testing with my iron golem farm, vanilla Minecraft yielded 1023 iron ingots, while with the LazyAI on the aggressive setting yielded 979 iron ingots. That's a difference of ~4.5%.

A few things worth noting:

  • This was tested on the aggressive setting, which has the most impact. Using a less aggressive setting will reduce that gap further.
  • A ~4.5% decrease is unlikely to be noticeable in normal gameplay.
  • Results may vary depending on farm design and server performance.
  • The testing were done on LazyAI version 1.6.0.

In practice, you won't notice the mob farm efficiency decrease.

What modloader do I need?

You need Fabric

I installed the mod, but didn't see as much difference?

The preview images are taken in a stress test situation. It can also be because your simulation distance or this mods distance scaling is set too high for your use case.

Where is the config located?

.minecraft/config/lazy-ai.json

Can this mod be used on a server?

Yes, you can use this mod on a server. The mod works on both the server and the client. Vanilla clients can join a server using LazyAI.

Can this mod be used on a client?

Yes, you can use this mod on a client. The mod works on both the server and the client. Clients with LazyAI can join servers without LazyAI.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.6.1Релиз26.2fabric17 июня 2026 г..jar (646 КБ)
1.6.1Релиз26.1, 26.1.1, 26.1.2fabric25 марта 2026 г..jar (633 КБ)
1.6.1Релиз1.21.11fabric17 марта 2026 г..jar (631 КБ)
1.6.1Релиз1.21.9, 1.21.10fabric17 марта 2026 г..jar (632 КБ)
1.6.1Релиз1.21.5, 1.21.6, 1.21.7, 1.21.8fabric17 марта 2026 г..jar (623 КБ)
1.6.1Релиз1.20.3, 1.20.4, 1.20.5, 1.20.6fabric17 марта 2026 г..jar (633 КБ)
1.6.1Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric17 марта 2026 г..jar (633 КБ)
1.6.0Релиз1.21.11fabric13 марта 2026 г..jar (631 КБ)
1.6.0Релиз1.21.9, 1.21.10fabric13 марта 2026 г..jar (632 КБ)
1.6.0Релиз1.21.5, 1.21.6, 1.21.7, 1.21.8fabric13 марта 2026 г..jar (623 КБ)
1.6.0Релиз1.20.3, 1.20.4, 1.20.5, 1.20.6fabric13 марта 2026 г..jar (633 КБ)
1.6.0Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric13 марта 2026 г..jar (633 КБ)
1.5.2Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric3 февраля 2026 г..jar (628 КБ)
1.5.2Релиз1.20.3, 1.20.4, 1.20.5, 1.20.6fabric3 февраля 2026 г..jar (628 КБ)
1.5.2Релиз1.21.5, 1.21.6, 1.21.7, 1.21.8fabric3 февраля 2026 г..jar (617 КБ)

Показаны последние 15 из 70 версий. Все версии — на Modrinth.

Ченджлог

1.6.1Релиз26.2 · 17 июня 2026 г.
  • Updated for 26.2
1.6.1Релиз26.1, 26.1.1, 26.1.2 · 25 марта 2026 г.
  • Updated for 26.1
1.6.1Релиз1.21.11 · 17 марта 2026 г.
  • Renamed Never Slow Down Distant Mobs to Enable Vanilla Mob Ticking
    • Since LazyAI now has a has less impact on mob behavior (like movement, attack speed, fire damage, swimming, damage timers, status effects, and breeding), the old name no longer accurately reflected its function and could be confusing.
1.6.1Релиз1.21.9, 1.21.10 · 17 марта 2026 г.
  • Renamed Never Slow Down Distant Mobs to Enable Vanilla Mob Ticking
    • Since LazyAI now has a has less impact on mob behavior (like movement, attack speed, fire damage, swimming, damage timers, status effects, and breeding), the old name no longer accurately reflected its function and could be confusing.
1.6.1Релиз1.21.6, 1.21.7, 1.21.8 · 17 марта 2026 г.
  • Renamed Never Slow Down Distant Mobs to Enable Vanilla Mob Ticking
    • Since LazyAI now has a has less impact on mob behavior (like movement, attack speed, fire damage, swimming, damage timers, status effects, and breeding), the old name no longer accurately reflected its function and could be confusing.
1.6.1Релиз1.20.4, 1.20.5, 1.20.6 · 17 марта 2026 г.
  • Renamed Never Slow Down Distant Mobs to Enable Vanilla Mob Ticking
    • Since LazyAI now has a has less impact on mob behavior (like movement, attack speed, fire damage, swimming, damage timers, status effects, and breeding), the old name no longer accurately reflected its function and could be confusing.
1.6.1Релиз1.19.2, 1.19.3, 1.19.4 · 17 марта 2026 г.
  • Renamed Never Slow Down Distant Mobs to Enable Vanilla Mob Ticking
    • Since LazyAI now has a has less impact on mob behavior (like movement, attack speed, fire damage, swimming, damage timers, status effects, and breeding), the old name no longer accurately reflected its function and could be confusing.
1.6.0Релиз1.21.11 · 13 марта 2026 г.

LazyAI now impacts mob movement speed, attack speed, fire damage, swimming, attacked timers, status effects and breeding much less

  • Improved the mod performance
  • Slightly reduced RAM usage

Полная история изменений — на Modrinth.

Комментарии

Загружаем…