Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

160,414,237

CurseForge ID

233019

Modrinth Downloads

14,427,684

Modrinth ID

DSVgwcji

Last Updated

Nov 7, 2026

Description

Note 1: If you have performance issues not covered feel free to make a request. 
Note 2: It is not expected this mod improves performance in all cases. Make sure to test your results to see if you require it.

About

Simplified AI modification mod focused on performance and low-level modifications to AIs in the game. Picking up the slack for the base game and improving it for a modded ecosystem. Handling common problems such as too many animals, performance hits from swarms of zombies, and simple remove tasks skipped by larger AI improvement mods.

Story

AI Improvements was born out of the need to improve server performance for large heavily modded servers. As any experienced server owner will know a server's CPU clock time is eaten away by mods all trying to fight over resources. Most server owners and developers will try to attack this problem by trimming mods. Rather than going after the mods installed I started to look at Minecraft itself. Focusing down on how it was designed to work and how it lent to performance problems.

I found that as a server's population grows so does the amount of entities and other resources. At first, I thought "lets reduce the spawn rate of mobs on the server" this lead to a complaint about mob farming. Even with testing, it didn't show a major solution to the problem. So rather than taking that approach, I decided to improve how the AI's function. This resulted in a lot of resource and insight into different areas. After many hours, I found my solution and created this mod. 

FAQ 

I installed but didn't see a large gain as promised?
Newer versions of MC implement fixes for the AI. With the last few versions, the rotation fix was implemented in addition to other fixes. Thus, the impact of this mod is much lower than in older versions.

Can this be installed on the server only?
Yes, the mod is coded to function without it being client side

Can this be installed on the client only?
Yes, though it may not do much to improve fps. 

Where is the config?
.minecraft/config/bbm/AI_Improvements.cfg

What will happen if I disable the EntityLookHelper replacement?
You're not going to see much of an improvement in the AI code. However, if you enabled the other disable configs it should be fine.

How does this mod work for fixing performance?
It depends on the feature and version of Minecraft. Most of the performance comes from caching heavily calculated values. This has the result of reducing CPU time at the cost of an ignorable amount of RAM. See feature list for exacts...

Current Features:

Config to disable AI Watch Closest Entity

By default the config is set to false and will not do anything. When changed to true it will remove an AI segment called EntityAIWatchClosest. This AI segment handles the coded AIs use to rotate their head towards a nearby entity.Visually this will cause a few odd issues. However, for the CPU this frees up a lot of usage caused by entities. 

Config to disable AI look random, config is not enabled by default

By default the config is set to false and will not do anything. Setting the config to true will cause entities to no longer use the 'look idle' AI code. This can improve performance for servers will large populations. As almost every entity on the map will use this when not doing anything important. Visually this can cause the entities head to not rotate sometimes but mostly goes unnoticed.

Config to replace EntityLookHelper with a more efficient version, config is enabled by default

This is the main feature of the mod and can greatly improve CPU performance at a small cost to RAM. How this works is MC's look helper code is replaced with a custom version. The custom version stores some data that makes it faster to get the angle for a location. Threw some testing with VisualVM result have shown a 50% to 80% decrease in CPU usage by the AI code. For a server with 25 people on constantly this resulted in a gain from 5 to 7 tps. 

Compatibility

Mod Loaders

Forge Neoforge

Game Versions

1.10.2 1.12.2 1.14.4 1.15.2 1.16.5 1.17.1 1.18.2 1.19.2 1.19.3 1.19.4 +25 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (2,048)

Show fewer
Grand Odyssey Grand Odyssey DBCS PHZINHOONE DBCS PHZINHOONE DLCraft! DLCraft! Farmtastic! Farmtastic! Arcane Project Genesis Arcane Project Genesis Woody's-One Piece Adventure Woody's-One Piece Adventure TheGG: The Gun Game TheGG: The Gun Game Vesper - Adventure Reborn Vesper - Adventure Reborn TussleCraft - Forgotten Age TussleCraft - Forgotten Age Hytale simulation Hytale simulation Monumental Experience - Beneath the Surface Monumental Experience - Beneath the Surface The Everlasting Winter The Everlasting Winter Furtastic (a changed adventure) Furtastic (a changed adventure) Gaymer's Pack Gaymer's Pack Modern Apocalypse: Zombie Edition Modern Apocalypse: Zombie Edition Create: Cogs & Cataclysm Create: Cogs & Cataclysm MYLP's Create The Great Beyond The Great Beyond Artemis: Project Artemis: Project SpHiNxX's Technical Overhaul SpHiNxX's Technical Overhaul On Ancient Ground On Ancient Ground Ultimate Neodium Ultimate Neodium Mekanism Memories Mekanism Memories Dracium Create Edition Dracium Create Edition Better RPG Realms Better RPG Realms JOJO VS SCP-610 Invade 100 Days JOJO VS SCP-610 Invade 100 Days Zombeh Apocalypse Zombeh Apocalypse Overclock - Tech Automation with Quests | Create, Aeronautics, AE2, Modern Industrialization & More Overclock - Tech Automation with Quests | Create, Aeronautics, AE2, Modern Industrialization & More The Catgirl Experience The Catgirl Experience Lucky World Invasion (Updates & Tweaks) Lucky World Invasion (Updates & Tweaks) Creatorio Supply Chain Creatorio Supply Chain Ancient Kingdoms 4 Ancient Kingdoms 4 RimMod The SkyRim CrossOver (KILLED) RimMod The SkyRim CrossOver (KILLED) The Idol Modpack By (ElianMirror) The Idol Modpack By (ElianMirror) Create Vanilla+ (THEO) Create Vanilla+ (THEO) Minnah horror pack Minnah horror pack Projet Nouveau Monde Steel Ball No Run [jojo] Projet Nouveau Monde Steel Ball No Run [jojo] Jojo: Bedrock is Unbreakable Jojo: Bedrock is Unbreakable Create RPG+ Create RPG+ Haln's Classic RPG Haln's Classic RPG CozyCrafts & Doodads CozyCrafts & Doodads FastNeo (FPS Modpack For Neo Forge) FastNeo (FPS Modpack For Neo Forge) BusinessBear's WitherStorm+ Re-Imagined BusinessBear's WitherStorm+ Re-Imagined FOG'S Zombie Apokalypse FOG'S Zombie Apokalypse The dweller night The dweller night Dragon create Dragon create Mythic RPG : Reborn Realms Mythic RPG : Reborn Realms DoomsDay Jurassic DoomsDay Jurassic Final Judgment : Save the world Final Judgment : Save the world Parasites By Forge Labs (RedFox's Edited) Parasites By Forge Labs (RedFox's Edited) Shade Of Abyss (Horror) - Current Shade Of Abyss (Horror) - Current Almost enough content Almost enough content Project TAO Project TAO One Piece: Grand Voyage One Piece: Grand Voyage KrzakiPudlo_3.5: Pixelmon Edition KrzakiPudlo_3.5: Pixelmon Edition Create Perfectionn Create Perfectionn EpicFantasy EpicFantasy Zombie Fungal Infection Zombie Fungal Infection SleepySMP Season 2 SleepySMP Season 2 Gangsta's Parasite apocalypse Gangsta's Parasite apocalypse Solar Fantasy Solar Fantasy R.E.A.P  Ultimate edition R.E.A.P Ultimate edition Path to Exile - Next Generation Path to Exile - Next Generation All About Create - Automation & Mechanicals Tech All About Create - Automation & Mechanicals Tech The Darkstorm Modpack The Darkstorm Modpack The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse Dungeon Legends Dungeon Legends RPG-LITE RPG-LITE Lucky Block Money Hunt Lucky Block Money Hunt Benji's Zombies Benji's Zombies Dragon Block To be the Ultra Instinct Dragon Block To be the Ultra Instinct All In One Extended by Wazon All In One Extended by Wazon Tales of Celerity Tales of Celerity CrossCraft: Mediaval Fantasy CrossCraft: Mediaval Fantasy FrenchCube FrenchCube Modularity: Industrial Progress - (M:I1) Modularity: Industrial Progress - (M:I1) Berserker Souls Berserker Souls The Cordyceps Fungus The Cordyceps Fungus Atelier Mythos Era Atelier Mythos Era Dungeons, Dragons, Magic and Millenaire Dungeons, Dragons, Magic and Millenaire TurtleCraftSMP TurtleCraftSMP Chime Time IX Chime Time IX Frisky Business: Powercraft Edition 2 Frisky Business: Powercraft Edition 2 Da Boys Craft - DBC Da Boys Craft - DBC RADIATION RECKONING RADIATION RECKONING Assembly Assembled Assembly Assembled Animation Life (unofficial) Animation Life (unofficial) EverestMC+ EverestMC+ Create a War Create a War Kinetic Origins Kinetic Origins Mustard Virus NeoForged Mustard Virus NeoForged Dayz 2.0 Dayz 2.0 Alfheim | Guns & Monsters Alfheim | Guns & Monsters NVVS New Legends NVVS New Legends terrorcraft - horror pack - v1 terrorcraft - horror pack - v1 Project Obscura Project Obscura FEARCRAFT [FORGE JAVA] 1.19.2 FEARCRAFT [FORGE JAVA] 1.19.2 UnstableCraft SMP UnstableCraft SMP RW's Cobblemon Create RW's Cobblemon Create Immortal Craft Immortal Craft

External Resources