Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

154,442,408

CurseForge ID

233019

Modrinth Downloads

13,235,055

Modrinth ID

DSVgwcji

Last Updated

Sep 12, 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.7.10 1.8.9 1.10.2 1.12.2 1.14.4 1.15.2 1.16.5 1.17.1 1.18.2 1.19.2 +24 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 (1,919)

Show fewer
Deserted Island Survival by Forge Labs Deserted Island Survival by Forge Labs Desertopolis Desertopolis            AMP - Sky of Diamonds! AMP - Sky of Diamonds! Cave Horror Project 2 Cave Horror Project 2 Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake Solo Leveling: Reincarnation Awakening Solo Leveling: Reincarnation Awakening More Decorations [FORGE] - 1.21 UPDATE! More Decorations [FORGE] - 1.21 UPDATE! Enigmatica 6: Expert - E6E Enigmatica 6: Expert - E6E [MODIFIED] Cobblemon: PLUS [MODIFIED] Cobblemon: PLUS Crazy Craft Updated Lite Crazy Craft Updated Lite Valhelsia: Volatile Valhelsia: Volatile Ozone Skyblock Reborn Ozone Skyblock Reborn Ancient Kingdoms 3 Ancient Kingdoms 3 Jojovein Jojovein Stacia Expert Stacia Expert Horrorland - New Horror Modpack (Herobrine, Cave Dweller...) | Horror+ Horrorland - New Horror Modpack (Herobrine, Cave Dweller...) | Horror+ TNP Limitless 6 - LL6 TNP Limitless 6 - LL6 The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! TNP Limitless 5 - LL5 TNP Limitless 5 - LL5 [ Horrorria ]  -   The horror modpack  in style of from fog  and scariest entity [ Horrorria ] - The horror modpack in style of from fog and scariest entity Create 2 Mekanism: Sky Edition 2 Create 2 Mekanism: Sky Edition 2 TNP Limitless 7 - LL7 TNP Limitless 7 - LL7 Ocean Depths - Quests & Ocean Mods Ocean Depths - Quests & Ocean Mods HR: New Beginnings 2 HR: New Beginnings 2 Create on a Potato PC: Ultimate Create on a Potato PC: Ultimate Valhelsia 1 Valhelsia 1 Craft For Life Edition (enhanced RLCraft experience) Craft For Life Edition (enhanced RLCraft experience) Enigmatica 2: Light - E2L Enigmatica 2: Light - E2L BTH - Beyond The Horizon BTH - Beyond The Horizon Enigmatica 9: Expert - E9E Enigmatica 9: Expert - E9E Planetary Planetary ZS Pack (Tensura) ZS Pack (Tensura) MYTHCRAFT 5 MYTHCRAFT 5 Strictly Medieval 3 [FORGE] Strictly Medieval 3 [FORGE] OreSpawn Adventuree OreSpawn Adventuree Ben 10 Survival Ben 10 Survival Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 Invicta 2 Invicta 2 Project Architect Project Architect Permafrost - Eyes of the Storm Permafrost - Eyes of the Storm Encrypted_ Encrypted_ ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] ChaosZProject - A Modern Zombie Apocalypse [VR for WIP v.3.0.0] Zombie Apocalypse Remastered Zombie Apocalypse Remastered Astropolis Astropolis PERFECTION PERFECTION Not Too Complicated 2 Not Too Complicated 2 Project Sacrifice Project Sacrifice All Of Farmer's Delight : Farming Agriculture & Cooking  All Of Farmer's Delight : Farming Agriculture & Cooking More Realistic [FORGE] - 1.21 UPDATE! More Realistic [FORGE] - 1.21 UPDATE! BETTER FANTASY - Overture BETTER FANTASY - Overture Seaopolis Submerged 2 Seaopolis Submerged 2 Astroblock 2 - Lost in Space Astroblock 2 - Lost in Space Farming Crossing 4 Farming Crossing 4 Enigmatica 9 - E9 - 1.19.2 Enigmatica 9 - E9 - 1.19.2 Ragnamod VII Ragnamod VII Just Not Enough Mods 2 (JNEM2) Just Not Enough Mods 2 (JNEM2) Island Adventure - Complete Overhaul | Now with Quests! Island Adventure - Complete Overhaul | Now with Quests! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! Farming Crossing 5: Made to Order! Farming Crossing 5: Made to Order! Enigmatica 10 - E10 Enigmatica 10 - E10 Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Zombie Apocalypse PLUS [FORGE] Zombie Apocalypse PLUS [FORGE] Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Concatenation Concatenation The Man From The Fog+Cave Dweller The Man From The Fog+Cave Dweller More Biomes [FORGE] - 1.21 UPDATE! More Biomes [FORGE] - 1.21 UPDATE! Ice and Fire Magic Ice and Fire Magic Technical Electrical Technical Electrical Chosen's Create: Integrated Chosen's Create: Integrated Chroma Sky 2 Chroma Sky 2 Stoneopolis Stoneopolis Solo Leveling - Shadows Solo Leveling - Shadows Sky Alchemy Sky Alchemy Solo Leveling: Level Up! Solo Leveling: Level Up! One Piece 100 Bounites Modpack One Piece 100 Bounites Modpack Cottage Witch: Recast Cottage Witch: Recast From Magic To Tech From Magic To Tech Beyond Ocean Beyond Ocean Another Quality Modpack 3 - AQM3 Another Quality Modpack 3 - AQM3 Isle of Berk (Scales and Skies) Isle of Berk (Scales and Skies) Modded Together Modded Together The Decursio Project - Expert The Decursio Project - Expert Forever Factory Forever Factory Infinity-Craft Infinity-Craft Minecraft VHS Minecraft VHS More Dungeons [FORGE] - QUALITY UPDATE! More Dungeons [FORGE] - QUALITY UPDATE! A Distant Journey A Distant Journey Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 Multiblock Madness Multiblock Madness RHCraft (RLCraft - Renewed) - Unofficial RHCraft (RLCraft - Renewed) - Unofficial Expedition In The Sky Expedition In The Sky Dontcry (Official) Dontcry (Official) BMC - BetterMC BMC - BetterMC Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! Frozen Apocalypse | Survive the Ice Age Apocalypse Frozen Apocalypse | Survive the Ice Age Apocalypse Project-Z [Zombie Apocalypse] Project-Z [Zombie Apocalypse] Fantasy Skies Fantasy Skies Stone Technology Stone Technology The Nuclear Wasteland The Nuclear Wasteland The Zombie Conquest - Zombie Apocalypse (New Version) The Zombie Conquest - Zombie Apocalypse (New Version)

External Resources