Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

154,464,820

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

Show fewer
AdvoTech JJThunder AdvoTech JJThunder Creative Mode: A Create Experience Creative Mode: A Create Experience MageTech [FORGE] MageTech [FORGE] Creative Industrialization: Festering Industry Creative Industrialization: Festering Industry KyuSekai KyuSekai The Rebirth of Nevermine The Rebirth of Nevermine Equinox's Story Mode (MCSM) Equinox's Story Mode (MCSM) Liminal Industries - Rescripted Liminal Industries - Rescripted Star Tech Star Tech WolfCraft Colonies - Season 5! WolfCraft Colonies - Season 5! Lucky World Invasion - Survivor Lucky World Invasion - Survivor superheroes tech superheroes tech Stargate: ReLeveled Stargate: ReLeveled Simulated Town Pack Simulated Town Pack Changed Goo Outbreak Changed Goo Outbreak Lukes Paradise Parasites Riptide Lukes Paradise Parasites Riptide FISK_ADVANCED (Fisk's Superheroes) FISK_ADVANCED (Fisk's Superheroes) Dawn of the Flood Dawn of the Flood ISEKAICRAFT RPG ISEKAICRAFT RPG Pirates Of The Infinite Caribbean Pirates Of The Infinite Caribbean Farmy Skyblock Farmy Skyblock Creatopia Unbound Creatopia Unbound Randoms Packs Randoms Packs FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired Security Village Security Village Tensura Tomfoolery Tensura Tomfoolery Mystic's Monstrosity Lite Mystic's Monstrosity Lite Oritech+ | Oritech & Create Addons and Create Aeronautics Oritech+ | Oritech & Create Addons and Create Aeronautics HOICraftWW2 HOICraftWW2 Ultimate Tensura Reincarnated Ultimate Tensura Reincarnated Cobblemon Enhanced (Pokemon) Cobblemon Enhanced (Pokemon) Friendly PvP Friendly PvP MC:SM Ultimate Experience Refresh! MC:SM Ultimate Experience Refresh! Beyond Zombie Beyond Zombie The Journey SMP Season Of True Survival The Journey SMP Season Of True Survival Prison Escape - Beginnings (reborn) Prison Escape - Beginnings (reborn) Au Naturel Au Naturel Simply Create (Create with Clockwork) Simply Create (Create with Clockwork) Aetherion - The Aether II Expanded Aetherion - The Aether II Expanded MagicCraft 2: Choose your magic path MagicCraft 2: Choose your magic path Refined Pack 2 Refined Pack 2 parasites the new era - 100 days with parasites parasites the new era - 100 days with parasites Citadel I Citadel I IRL Craft IRL Craft Fastest FPS Fastest FPS Heroes United Heroes United Kingdom Of Dragons And Monsters Kingdom Of Dragons And Monsters The Suspect's Journey The Suspect's Journey Attack Of The Reloaded B-Team Attack Of The Reloaded B-Team Black Myth Wukong Black Myth Wukong A Journey's End - RPG A Journey's End - RPG Stev's Halloween Modpack 2 Stev's Halloween Modpack 2 PokeSMP PokeSMP Creepyhorse Enhanced - Creepyhorse.jar Creepyhorse Enhanced - Creepyhorse.jar Tensura Infinite Tensura Infinite dronko's dragon survival dronko's dragon survival WT Endless Sky Adventures - SkyGrid Edition WT Endless Sky Adventures - SkyGrid Edition Transformer Smp Transformer Smp Girlypop Craft Girlypop Craft BetterMC 12 - Enhanced Adventure Experience BetterMC 12 - Enhanced Adventure Experience OptiPrime OptiPrime Kawaii Overload Forge Kawaii Overload Forge Create: Magic Adventures Create: Magic Adventures Fortnite 2: The Pack Fortnite 2: The Pack Colony:Exodus to the stars Colony:Exodus to the stars Shinobi Nations (Naruto) Shinobi Nations (Naruto) The last rider World The last rider World All About Origins - Powers & Classes & Races All About Origins - Powers & Classes & Races Community in the Skies Community in the Skies Mahou Tsukai Server Mahou Tsukai Server CordCraft Season 5 CordCraft Season 5 Haunted Hurricane - Lokolow 100 Dias no Fim do Mundo Haunted Hurricane - Lokolow 100 Dias no Fim do Mundo Sulidae TFC Sulidae TFC Arcadia Online (SAO) Arcadia Online (SAO) Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion Antique Runes: Medieval RPG Antique Runes: Medieval RPG (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT Tensura Resurrection Tensura Resurrection TornadosX TornadosX TerraFirmaExtended TerraFirmaExtended Monster Hunter Monster Hunter Termincraft Termincraft Demon Slayer! Demon Slayer! my anime mods my anime mods Society: Mystical Ocean Society: Mystical Ocean TechCraftBrasil - Servidor Brasileiro - ONLINE TechCraftBrasil - Servidor Brasileiro - ONLINE Gregified: Sky Edition Gregified: Sky Edition BeetleKnight's Beyond BeetleKnight's Beyond Sky Technology Sky Technology Calvin's wonderland.jar Calvin's wonderland.jar Solo Leveling Awakened Solo Leveling Awakened Huge Horror Pack [Horror] [Dweller] [Scary] Huge Horror Pack [Horror] [Dweller] [Scary] CheneTulipe Apocalipse Zombie Invasion CheneTulipe Apocalipse Zombie Invasion PixelGO - Isekai (Pixelmon) PixelGO - Isekai (Pixelmon) RockTown Tech World Sky Block RockTown Tech World Sky Block Jujutsu Craft+ [JJC+] Jujutsu Craft+ [JJC+] Chivalry and Wizardry [Forge 1.16.5] Chivalry and Wizardry [Forge 1.16.5] Adventure of Tech V Adventure of Tech V Create: Industrialized Tech Create: Industrialized Tech Randomized Craft (DEEP FRIED) Randomized Craft (DEEP FRIED)

External Resources