Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

154,454,531

CurseForge ID

233019

Modrinth Downloads

13,242,169

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,920)

Show fewer
Ninety Nine (99) Mods on the Wall - featuring Create Ninety Nine (99) Mods on the Wall - featuring Create Solo Leveling - OVERLOAD Solo Leveling - OVERLOAD Parasites - Forge Labs Parasites - Forge Labs Essentials Mods Essentials Mods Dreamcraft [FORGE] Dreamcraft [FORGE] All Of The Dwellers All Of The Dwellers Better Experience (BTV) - Last Update! | The Copper Age! Better Experience (BTV) - Last Update! | The Copper Age! OptiWorld - Ultimate Performance - FPS Optimized OptiWorld - Ultimate Performance - FPS Optimized Create Live 7 Create Live 7 Jujutsu Kaisen Craft Jujutsu Kaisen Craft Pinehaven's 100 Days Zombie Apocalypse (Horse Edition) Pinehaven's 100 Days Zombie Apocalypse (Horse Edition) Project House Project House Create Planetary Create Planetary Create 90gQ Create 90gQ Poetica Poetica Whispers From Below [From The Caves] Whispers From Below [From The Caves] Truly Essentials - First Step (Vanilla+) Truly Essentials - First Step (Vanilla+) World of Minecraft - Meidde World of Minecraft - Meidde Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements MTW Skyblock Reborn MTW Skyblock Reborn horror the last world in ruins horror the last world in ruins Creepy Horse Reimagined Creepy Horse Reimagined An Extraordinary Adventure An Extraordinary Adventure Big Globe Optimized (FORGE) Big Globe Optimized (FORGE) Alien AGF Series Alien AGF Series SkyWorkshop SkyWorkshop Mythic: Novus - The Complete Magic Modpack - 1.12.2 Mythic: Novus - The Complete Magic Modpack - 1.12.2 Haven: Veni de Nova Haven: Veni de Nova TechRPG - RPG with Tech, Magic, Create, Space Exploration TechRPG - RPG with Tech, Magic, Create, Space Exploration Oneblock Ultimate Oneblock Ultimate More Animals 2 More Animals 2 Better than Better Than Wolves ( BTBTW ) Better than Better Than Wolves ( BTBTW ) Too Many Mobs Too Many Mobs Naruto Ninshu Origins Chakra Storm Naruto Ninshu Origins Chakra Storm Clockwork Clockwork Mysticlouds - Cuteness and Chaos Mysticlouds - Cuteness and Chaos Official Invincible Incorporated Server Official Invincible Incorporated Server MC Imortal MC Imortal Slimecicle's 100 Days Zombie Apocalypse Slimecicle's 100 Days Zombie Apocalypse Dragonworld Dragonworld CRIF 2 - Create an empire of Rats to fight "Ice&Fire" CRIF 2 - Create an empire of Rats to fight "Ice&Fire" Secret Mission: Christmas Secret Mission: Christmas Surviving 100 Days With The Wither Storm Again Surviving 100 Days With The Wither Storm Again Astral Engineering Astral Engineering Infinite Randomized One Block Skyblock Infinite Randomized One Block Skyblock crazy craft even more updated crazy craft even more updated Create: Gears of History Create: Gears of History Elden Craft:Become the Elden Lord Elden Craft:Become the Elden Lord Enchanted Genesis Enchanted Genesis security unleash security unleash Infinity Legacy Infinity Legacy Dawn of Berk Dawn of Berk Monumental Experience - Creatures Across the World Monumental Experience - Creatures Across the World NeoTech Reborn NeoTech Reborn                                                                                                AMP - Mechanisms, Magic & Masonry AMP - Mechanisms, Magic & Masonry Magiculture Magiculture Farming Crossing 6 Dinner Party Farming Crossing 6 Dinner Party MC UFC: Monstros MC UFC: Monstros Creepy & Scary RPG Creepy & Scary RPG Project Spacee Project Spacee                                                                                                                             Alar Alar Mystical Block Reloaded Mystical Block Reloaded Techno Magic - Trustworthy Techno Magic - Trustworthy The Last One The Last One NANGMAN DESERT NANGMAN DESERT The Corrupted Aftermath The Corrupted Aftermath Impostor Syndrome Impostor Syndrome Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Spell Sword Spell Sword Horror OneBlock Horror OneBlock Apocalypse Begins [Zombie Apocalypse] Apocalypse Begins [Zombie Apocalypse] Avaritia Project Avaritia Project GD: Hexing Tales GD: Hexing Tales Beyond Fantasy - A Magic RPG Modpack Beyond Fantasy - A Magic RPG Modpack Reign of Nether - WARFARE Reign of Nether - WARFARE MC Overpower MC Overpower Create Overlord Aeronautics Update Create Overlord Aeronautics Update Farming Overloaded Farming Overloaded Create: Civilizations - C:C Create: Civilizations - C:C Liminal Industries Acension Liminal Industries Acension Stacia Stacia Horrorcraft Reimagined Horrorcraft Reimagined Factory in the Sky 4 Factory in the Sky 4 Thormen 1.21.1 - Mekanism -  Spaceships -  ICBMs -  Force Fields -  Nuclear Science  -  Voltz successor - Modpack server running Thormen 1.21.1 - Mekanism - Spaceships - ICBMs - Force Fields - Nuclear Science - Voltz successor - Modpack server running 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) FPS Modpack Lover FPS Modpack Lover Cute Cottage Craft Cute Cottage Craft SeriousFirmaCraft (TFC + Create) SeriousFirmaCraft (TFC + Create) Farwater: Create Mysticism Farwater: Create Mysticism MC UFC: Mágico MC UFC: Mágico Create 2 Mekanism 2: Sky Edition Create 2 Mekanism 2: Sky Edition Steller: The Rise of the Kingdom Steller: The Rise of the Kingdom NANGMAN SEA NANGMAN SEA TJP - Endless Sky TJP - Endless Sky Xomaps Potato Master Xomaps Potato Master Wither Storm Series Wither Storm Series The Walking Dead Apocalypse The Walking Dead Apocalypse Zombie Apocalypse Of DOOM! Zombie Apocalypse Of DOOM! Galactica Galactica Devouring The World Devouring The World

External Resources