LazyAI

LazyAI

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

von
96.9K Downloads
fabricoptimizationutility
Server mit dieser Mod mieten

Screenshots

Crowded world test
Villager trading hall test

Über diese Mod

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.

How does the AI Optimization Type and Distance Scaling work?

See below ↓

How does the AI Optimization Type and Distance Scaling work?

This overview is a simplified explanation.
This mod makes use of additional smaller systems, but AI Optimization Type and Distance Scaling are the two main systems that dictate how the mod behaves.

The percentages and radiuses shown in this explanation are for visual reference and do not reflect the actual numbers.

The following image will be used as a base for the visual references:

AI Optimization Type

This setting controls how aggressive mob AI ticks are reduced across each zone. The percentages represent how much of the original vanilla AI activity remains:

Distance Scaling

This setting controls where the range zone boundaries are positioned relative to your simulation distance and player location.

Verfügbare Versionen

LazyAI 1.6.2release
MC 26.2fabric
21. August 2026
LazyAI 1.6.1release
MC 26.2fabric
17. Juni 2026
LazyAI 1.6.1release
MC 26.1, 26.1.1, 26.1.2fabric
25. März 2026
LazyAI 1.6.1release
MC 1.21.11fabric
17. März 2026
LazyAI 1.6.1release
MC 1.21.9, 1.21.10fabric
17. März 2026

LazyAI auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (26.2).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "LazyAI". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabric

Minecraft-Versionen

26.2, 26.1.2, 26.1.1 (+25 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

LazyAI Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist LazyAI mit fabric kompatibel?

LazyAI unterstützt offiziell fabric für Minecraft 26.2, 26.1.2, 26.1.1. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit LazyAI – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob LazyAI den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere LazyAI mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
GNU General Public License v3.0 only
Server-seitig
Erforderlich

Unterstützte Versionen

26.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.6+18 mehr