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
Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Minecraft VHS Minecraft VHS RHCraft (RLCraft - Renewed) - Unofficial RHCraft (RLCraft - Renewed) - Unofficial Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Infinity-Craft Infinity-Craft Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! A Distant Journey A Distant Journey BMC - BetterMC BMC - BetterMC More Dungeons [FORGE] - QUALITY UPDATE! More Dungeons [FORGE] - QUALITY UPDATE! Frozen Apocalypse | Survive the Ice Age Apocalypse Frozen Apocalypse | Survive the Ice Age Apocalypse Tempest Protocol Tempest Protocol Multiblock Madness Multiblock Madness Expedition In The Sky Expedition In The Sky Resurvival Resurvival Project-Z [Zombie Apocalypse] Project-Z [Zombie Apocalypse] Jurassic Terror - A horror jurassic experience Jurassic Terror - A horror jurassic experience Fantasy Skies Fantasy Skies Survive from VERITY or FALSITY Survive from VERITY or FALSITY Cave Horror Project 2 Cave Horror Project 2 Stone Technology Stone Technology Guns&Fun Guns&Fun Sky Greg Sky Greg The Zombie Conquest - Zombie Apocalypse (New Version) The Zombie Conquest - Zombie Apocalypse (New Version) The Nuclear Wasteland The Nuclear Wasteland Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Bountiful Farming - (formerly A Farmer's Delight) Bountiful Farming - (formerly A Farmer's Delight) HazardousDaniel's Unlimited 2.0 HazardousDaniel's Unlimited 2.0 Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Solo Leveling - Reawakening Server (Solo Leveling Ultimate) Isla Unga Bunga by Forge Labs Isla Unga Bunga by Forge Labs Immersed With Nature Immersed With Nature Zombie R.E.A.P Plague Against Your World. Zombie R.E.A.P Plague Against Your World. Create: Lost in Space Create: Lost in Space Create Colonies - AERONAUTICS Create Colonies - AERONAUTICS SkyT SkyT Lucky World Invasion - Hardcore Lucky World Invasion - Hardcore Naruto Ninshu Origins Anime Naruto Ninshu Origins Anime Apocalypssia     -    [TACZ] modern appocalyps zombie modpack Apocalypssia - [TACZ] modern appocalyps zombie modpack Endless Rise Remastered Endless Rise Remastered The Final Frontier 2 The Final Frontier 2 Protocol Zero - A Modern Zombie Apocalypse Protocol Zero - A Modern Zombie Apocalypse Solo Leveling Reborn Solo Leveling Reborn A Demon Slayer's Journey A Demon Slayer's Journey SS WitherStorm SS WitherStorm All the Mods - Slice of Pi2 - ATM SLOP2 - ATM6 Lite All the Mods - Slice of Pi2 - ATM SLOP2 - ATM6 Lite Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Skyopolis 5 Skyopolis 5 Epoch Runner Epoch Runner Monsters, Guns And Dinosaurs Monsters, Guns And Dinosaurs Realistics I Realistics I PixelBCG - A Pixelmon Modpack PixelBCG - A Pixelmon Modpack ArctiCraft by Forge Labs ArctiCraft by Forge Labs Ultimate Progression Ultimate Progression Better FPS & Visuals Boost FPS (Forge) Better FPS & Visuals Boost FPS (Forge) Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Kingdoms and Colonies Rebirth Kingdoms and Colonies Rebirth FNAF - Fazcraft Reimagined | Based on FNAF! FNAF - Fazcraft Reimagined | Based on FNAF! Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Evolution - With Create 6.0 and Quests! | +35 Create Addons TenSura (That Time I Got Reincarnated as a Slime) TenSura (That Time I Got Reincarnated as a Slime) The Immersive Revolution: Rebirth The Immersive Revolution: Rebirth Solo Leveling Modpack | SoloCraft Solo Leveling Modpack | SoloCraft Tekkit The Resurrection Tekkit The Resurrection Create Comes Alive (Create + MCA) Create Comes Alive (Create + MCA) Roguelike Adventures and Dungeons TiC Edition Roguelike Adventures and Dungeons TiC Edition Beyond Viltrum - Invincible Inc Beyond Viltrum - Invincible Inc Fiefdom - Medieval Fantasy RPG Fiefdom - Medieval Fantasy RPG Werewolves VS Vampires SMP Werewolves VS Vampires SMP Valhelsia: Origins Valhelsia: Origins Mystic's Monstrosity Mystic's Monstrosity Life in the village LITE Life in the village LITE ChillCraft - CC1 ChillCraft - CC1 Horror City : Zombies & Parasites Horror City : Zombies & Parasites [TaCZ] Guns & Customs - Beta Entry [TaCZ] Guns & Customs - Beta Entry Naruto Shinobi Origins Naruto Shinobi Origins Ozone Skyblock Reborn 2 Ozone Skyblock Reborn 2 Create Aeronautica Create Aeronautica Hexxit Enhanced (Hexxit Remake) Hexxit Enhanced (Hexxit Remake) MC Vanilla 2.0 - QUALITY UPDATE! MC Vanilla 2.0 - QUALITY UPDATE! Ultimate Progression: Sky Ultimate Progression: Sky Infinite Horizons - Modded Superflat Survival Infinite Horizons - Modded Superflat Survival NeoForge Foundry NeoForge Foundry Dungeons, Dragons and Space Shuttles 2 Dungeons, Dragons and Space Shuttles 2 EternalCraft EternalCraft Create Re-Flavored Create Re-Flavored Craftoria 2 - Worlds Beyond Craftoria 2 - Worlds Beyond Chosen's Modded Adventure: Chunk by Chunk Chosen's Modded Adventure: Chunk by Chunk Little Bit Large Little Bit Large Create - Forge Frontier Create - Forge Frontier Cottage Craft - A Cottagecore Adventure Cottage Craft - A Cottagecore Adventure PS2 CRAFT - Zombie Survival Horror Edition PS2 CRAFT - Zombie Survival Horror Edition Farming Crossing 3 Farming Crossing 3 FTB Skies FTB Skies FTB OceanBlock FTB OceanBlock Sky Agriculture Sky Agriculture Create 101 Season 2 Create 101 Season 2 Skyrealm: Descent Skyrealm: Descent TNT - The Nuke Thailand TNT - The Nuke Thailand StaTech Industry 2 StaTech Industry 2 Janky Skyblock Janky Skyblock Vanilla Create Exploration Vanilla Create Exploration Desecrated - Flesh and Blood Desecrated - Flesh and Blood

External Resources