Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

160,405,534

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
Lees Zombie Apocalypse - Fallen Earth Lees Zombie Apocalypse - Fallen Earth Naruto AHZNB  Anime Naruto AHZNB Anime TerraFirmaAdventure TerraFirmaAdventure The Biggest Modpack The Biggest Modpack ABOE 3 - A Bit of Everything 3 ABOE 3 - A Bit of Everything 3 TasteTheSno Jujutsu Kaisen x Fantasy World TasteTheSno Jujutsu Kaisen x Fantasy World Ethanol's Wither Storm Revamp of Immersion Ethanol's Wither Storm Revamp of Immersion Creative Drawers Producer Creative Drawers Producer Rhinocraft Rhinocraft Chernobyl - Forge Labs Chernobyl - Forge Labs Vintage Wilds Vintage Wilds Tinkers' Survival Official Tinkers' Survival Official Sky Revolutions Sky Revolutions Stone Technology Ultimate Stone Technology Ultimate [MODIFIED] Cobblemon: OVERCLOCKED! [MODIFIED] Cobblemon: OVERCLOCKED! Adventure of Tech VI Adventure of Tech VI Beyond Depth Insanity Beyond Depth Insanity Changed + Changed + Clockwerk Pixelmon Clockwerk Pixelmon Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Create Lets Create - Official Server Create Lets Create - Official Server Cromta's Solo Leveling pack Cromta's Solo Leveling pack CRIF - Create an empire of Rats to fight "Ice&Fire" CRIF - Create an empire of Rats to fight "Ice&Fire" Druidic Quest: Expert Druidic Quest: Expert Obsessed with Obsessed Obsessed with Obsessed Realm of Legends:The Orespawn Cronicles Realm of Legends:The Orespawn Cronicles Create: Back on Track Create: Back on Track SkyT 2 SkyT 2 Into The Betweenlands Into The Betweenlands Jurassic Park - Forge Labs Jurassic Park - Forge Labs Beyond The Skies Beyond The Skies Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Mahou Tsukai Packed Mahou Tsukai Packed Go Create Go Create The Cursed Redwood Forest (Horror) The Cursed Redwood Forest (Horror) Bountiful Wilds Bountiful Wilds Winter Regrowth Winter Regrowth City Life 2 City Life 2 Prison Escape - Beginnings Prison Escape - Beginnings           AMP - Awakening Reforged AMP - Awakening Reforged Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Lukes Paradise Parasites 2 Lukes Paradise Parasites 2 Back to Back Back to Back Forge Labs 100 Days Island Hardcore Pack Forge Labs 100 Days Island Hardcore Pack           AMP - Awakening Classic (Lite) AMP - Awakening Classic (Lite) Invasion & Guns 1.12.2 Modpack Invasion & Guns 1.12.2 Modpack OxMODPACK 8 OxMODPACK 8 Monumental Experience - In the Sky Monumental Experience - In the Sky Project SkyQ 2 Project SkyQ 2 Space Craft (Galacticraft) Space Craft (Galacticraft) Ultra Hardcore Renewed - Do you dare to play it? | 1.21 UPDATE! Ultra Hardcore Renewed - Do you dare to play it? | 1.21 UPDATE! WANKIL CRAZY : LWI WANKIL CRAZY : LWI Create Block - Everything in the sky Create Block - Everything in the sky Compitum Magia Compitum Magia EL MINE MAS EPICO 2 EL MINE MAS EPICO 2 Life in the Industrial Village Life in the Industrial Village New Game 3 - Immersive RPG Adventures & RPG Quests New Game 3 - Immersive RPG Adventures & RPG Quests Create: Factory Builder Create: Factory Builder FiskHeroes Survival+ (Fisk's Superheroes) FiskHeroes Survival+ (Fisk's Superheroes) Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Immersive Experience - Inspired by Actions & Stuff and Other Immersive Mods Chroma Endless Chroma Endless Elden Block Elden Block Lukes Paradise Parasites Lukes Paradise Parasites Uncle Genny's 100% Organic & Free-Range Modpack Uncle Genny's 100% Organic & Free-Range Modpack Create 2 Mekanism Create 2 Mekanism Dinosaurs and More 1 Dinosaurs and More 1 Sky Farm Sky Farm Calamity RPG III : Wounds of the World Calamity RPG III : Wounds of the World Strictly Medieval [FORGE] Strictly Medieval [FORGE] Rising Civilizations Rising Civilizations Aeropolis Aeropolis Crazy Crave 5 Crazy Crave 5 Create Sky Colonies - Valkyrian Skies X Create 6.0 Create Sky Colonies - Valkyrian Skies X Create 6.0 More Animals 2 - Exclusive Edition with Animals Quests! More Animals 2 - Exclusive Edition with Animals Quests! Quality Of Life (QOL) Quality Of Life (QOL) Guns, Nukes, and Suffering (GNS) (Discontinued) Guns, Nukes, and Suffering (GNS) (Discontinued) CrazyCraft Revived CrazyCraft Revived Exodus (Space Mission) | Stellaris & SPACE QUESTS! Exodus (Space Mission) | Stellaris & SPACE QUESTS! Danknum Opus Danknum Opus Vanilla Forge Essentials Vanilla Forge Essentials Mushoku Tensei (Jobless Reincarnation) Mushoku Tensei (Jobless Reincarnation) Rise of the Titans Rise of the Titans Journey to Dawn [RU] Journey to Dawn [RU] Ratufa's Guns n Drugs Ratufa's Guns n Drugs The Last War - Guns And Adventure The Last War - Guns And Adventure Crazier Crazy Craft Crazier Crazy Craft Create Live 7 Create Live 7 Ragnamod VII In The Sky Ragnamod VII In The Sky Survival on Zombie Island Survival on Zombie Island SharedLife - New Multiplayer Experience! SharedLife - New Multiplayer Experience! MineColonies - Cobblemon Conquest MineColonies - Cobblemon Conquest SkyBlock Horror SkyBlock Horror Infinite Randomized One Block Skyblock Infinite Randomized One Block Skyblock More Decorations 2 - Exclusive Edition | Decoration Mods! More Decorations 2 - Exclusive Edition | Decoration Mods! Explorico Classic 1.16.5 Explorico Classic 1.16.5 Fantasy MC Forge Fantasy MC Forge Create Expansion - Bigger Create+ | 6.0 UPDATE! Create Expansion - Bigger Create+ | 6.0 UPDATE! Isle of Berk Expanded Isle of Berk Expanded Multiblock Madness 2 Multiblock Madness 2 Jujutsu Craft Ultimate Server( JJKUR Reworked) Jujutsu Craft Ultimate Server( JJKUR Reworked)

External Resources