Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

154,458,051

CurseForge ID

233019

Modrinth Downloads

13,243,874

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

Show fewer
World Destroying - Apocalipse Zombie World Destroying - Apocalipse Zombie MIKEL's Controllable MIKEL's Controllable Ars Nouveau Discord Server Ars Nouveau Discord Server Gloomy  Rise Gloomy Rise Fantasy Evolved: Quest For Magic Fantasy Evolved: Quest For Magic A little bit of Shaders and More A little bit of Shaders and More Unique-Social Build Your City 2 Unique-Social Build Your City 2 Tech Spirit Tech Spirit Fantastic Frontier Fantastic Frontier Alex's Caves Optimised Alex's Caves Optimised Up In The Sky Up In The Sky Servidor Magnatas Servidor Magnatas Christopia Realistic Christopia Realistic Deserted Island - Forge Labs Deserted Island - Forge Labs [MODIFIED] Cobblemon: Essentials [MODIFIED] Cobblemon: Essentials Neuroshroud: The Abandoned Neuroshroud: The Abandoned Alex's Caves: Adventures Plus Alex's Caves: Adventures Plus FWF LuckyBlocks FWF LuckyBlocks Another 7 Days to Mine Another 7 Days to Mine Nature's Journey Nature's Journey Calculator Skies Calculator Skies Uton Optimizator Uton Optimizator Shinobi-Craft Shinobi-Craft Gun and Run: Parasite Gun and Run: Parasite SharpSharp RPG SharpSharp RPG Zuri's Heroes pack Zuri's Heroes pack Fantazy Tech Fantazy Tech PokecraftZ (A Pokémon Zombie Survival RPG) PokecraftZ (A Pokémon Zombie Survival RPG) Ocean Depths Ocean Depths RWBY Craft RWBY Craft BeanPack: Regurgitated BeanPack: Regurgitated Invincible: Overdrive Invincible: Overdrive Better VR Better VR One Piece Grand Blue - (Mine Piece) One Piece Grand Blue - (Mine Piece) Sim-U-Kraft Pack [City Build] Sim-U-Kraft Pack [City Build] Create x Valkyriensky's Create x Valkyriensky's Create - Forge Frontier Create - Forge Frontier QSMP 2024 FANMADE QSMP 2024 FANMADE Better-Realistic Better-Realistic The Clash of Epochs The Clash of Epochs Factory in the Sky 3 Factory in the Sky 3 OPSkies 2 OPSkies 2 Wings of Fire Wings of Fire Songs of War Modpack Songs of War Modpack Multi Mites Multi Mites The Zombie Conquest - Easy Mode | You Can Revive! The Zombie Conquest - Easy Mode | You Can Revive! Jujutsu Slayer Jujutsu Slayer WPF Pokemon WPF Pokemon Project Nope Zone Project Nope Zone RealisticCraft [RU] RealisticCraft [RU] Realism by Forge Labs Realism by Forge Labs Fallout Winter Wasteland Fallout Winter Wasteland Branzy's Pirate life Branzy's Pirate life Parasites by Forge Labs (Forked Edition) Parasites by Forge Labs (Forked Edition) HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests HyCraft - Fantasy and RPG (Inspired by Hytale) | Hytale in Minecraft with Quests Time 2 Time 2 Crazycraft Alternate Universe Crazycraft Alternate Universe OneBlock OneLife OneBlock OneLife Medieval Empires Official Medieval Empires Official Bodycam VHS Bodycam VHS Fantasy World Adventure (Become a dragon) Fantasy World Adventure (Become a dragon) MC Guerra 2021 MC Guerra 2021 Mythic: Spellbound Mythic: Spellbound Avatar Modpack Project Korra Avatar Modpack Project Korra Omega Adventure Pack 1.12.2 Omega Adventure Pack 1.12.2 Farro's and Archeology Farro's and Archeology The Christmas Chronicles The Christmas Chronicles Z Apocalypse - A Modern Zombie Apocalypse Z Apocalypse - A Modern Zombie Apocalypse Create: Basically Everything Create: Basically Everything Ascension of Ages Ascension of Ages World Of Big Horror World Of Big Horror REVRB: Ruthless Enemies, Violent Redemption and Bosses REVRB: Ruthless Enemies, Violent Redemption and Bosses Other Body Other Body Trainworld Trainworld [DD&D] Dungeons Dragons & Dimensions [DD&D] Dungeons Dragons & Dimensions Smug Anime Girls Smug Anime Girls Thaumic Industries Thaumic Industries Boosted FPS RPG (Performance Optimized) Boosted FPS RPG (Performance Optimized) Project Infinity Heroes Project Infinity Heroes Bleach awaken Bleach awaken B.O.M.P Progression Based Rpg. B.O.M.P Progression Based Rpg. CreaTech - Automations on skyblock! CreaTech - Automations on skyblock! Jurassic World Reborn Jurassic World Reborn Animalia - Zoo and City Animalia - Zoo and City Inclusive Inclusive Burichi (Bleach) Burichi (Bleach) Create: Above and Beyond, And Then Some! Create: Above and Beyond, And Then Some! GregTech New Frontier GregTech New Frontier Projekt Millenaire Projekt Millenaire Completely Optimized FPS | Performence Boost! - [Forge] Completely Optimized FPS | Performence Boost! - [Forge] Improved Oritech | Oritech, Technology & Quests (Oritech 1.21.1) Improved Oritech | Oritech, Technology & Quests (Oritech 1.21.1) Brave The Storm Brave The Storm Craftformers Official Server Modpack Craftformers Official Server Modpack FastForge (FPS Modpack For Forge) FastForge (FPS Modpack For Forge) Zombie Wasteland Zombie Wasteland Essencial Essencial Create on a Potato PC: Sky Edition Create on a Potato PC: Sky Edition HunterZ By Xen0Xys HunterZ By Xen0Xys Witherstorm: Evolution (2.0 UPDATE!!!) Witherstorm: Evolution (2.0 UPDATE!!!) [SAZ]SurvivorsAndZombies [SAZ]SurvivorsAndZombies

External Resources