Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

160,410,043

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
TechCraftBrasil - Servidor Brasileiro - ONLINE TechCraftBrasil - Servidor Brasileiro - ONLINE Path of Cultivation Path of Cultivation FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired Mystic's Monstrosity Lite Mystic's Monstrosity Lite Simulated Town Pack Simulated Town Pack Citadel I Citadel I Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion Age of Fate: The Frozen Hope Age of Fate: The Frozen Hope Fastest FPS Fastest FPS Kawaii Overload Forge Kawaii Overload Forge Outbreak Outbreak Security Village Security Village PokeSMP PokeSMP Mahou Tsukai Server Mahou Tsukai Server Gregified: Sky Edition Gregified: Sky Edition All Ultimate Selection All Ultimate Selection BeetleKnight's Beyond BeetleKnight's Beyond Sulidae TFC Sulidae TFC Refined Pack 2 Refined Pack 2 HBM and Parasites HBM and Parasites Searching for a World that Doesn't Exist.jar Searching for a World that Doesn't Exist.jar TerraFirmaExtended TerraFirmaExtended The Journey SMP Season Of True Survival The Journey SMP Season Of True Survival IRL Craft IRL Craft Colony:Exodus to the stars Colony:Exodus to the stars Heroes United Heroes United Huge Horror Pack [Horror] [Dweller] [Scary] Huge Horror Pack [Horror] [Dweller] [Scary] Over the Sky | Floating Islands, Mobs and Many Secrets! Over the Sky | Floating Islands, Mobs and Many Secrets! Shiner's Mushoku Tensei/Jobless Reincarnation Shiner's Mushoku Tensei/Jobless Reincarnation Adventure of Tech V Adventure of Tech V RockTown Tech World Sky Block RockTown Tech World Sky Block Siren Head- The shadows of the Forest Siren Head- The shadows of the Forest PSP Edition PSP Edition Shinobi Nations (Naruto) Shinobi Nations (Naruto) A Journey's End - RPG A Journey's End - RPG Society: Mystical Ocean Society: Mystical Ocean Stev's Halloween Modpack 2 Stev's Halloween Modpack 2 Tensura Infinite Tensura Infinite Kingdom Of Dragons And Monsters Kingdom Of Dragons And Monsters EnchantVenture EnchantVenture Arachnophobia - All the worst Phobias at once Arachnophobia - All the worst Phobias at once BetterMC 12 - Enhanced Adventure Experience BetterMC 12 - Enhanced Adventure Experience CheneTulipe Apocalipse Zombie Invasion CheneTulipe Apocalipse Zombie Invasion Attack Of The Reloaded B-Team Attack Of The Reloaded B-Team Frigid - Winter Apocalypse Frigid - Winter Apocalypse CordCraft Season 5 CordCraft Season 5 The last rider World The last rider World JujutsuCraft: Domain Expansion JujutsuCraft: Domain Expansion Arcadia Online (SAO) Arcadia Online (SAO) PixelGO - Isekai (Pixelmon) PixelGO - Isekai (Pixelmon) Create Outbound Create Outbound Chronicles of Magic | The First Magician Chronicles of Magic | The First Magician Fortnite 2: The Pack Fortnite 2: The Pack Haunted Hurricane - Lokolow 100 Dias no Fim do Mundo Haunted Hurricane - Lokolow 100 Dias no Fim do Mundo SwordCraft Origins SwordCraft Origins Xomaps 2 Xomaps 2 Ancient Cobblemon - Mega Evolutions - Breeding - Quests - Spawn Legendary - MMO RPG - All Pokemons (Cobblemon v1.8) Ancient Cobblemon - Mega Evolutions - Breeding - Quests - Spawn Legendary - MMO RPG - All Pokemons (Cobblemon v1.8) MM3 MM3 Jujutsu Craft+ [JJC+] Jujutsu Craft+ [JJC+] Forged in Dragonfire Forged in Dragonfire Shiner's Rising Of Shield Hero Shiner's Rising Of Shield Hero Endless pain (Evil hunter&dontcry) (HORROR) (STALKER) Endless pain (Evil hunter&dontcry) (HORROR) (STALKER) Wipezone Wipezone Immersive Pixelmon Immersive Pixelmon Sky Technology Sky Technology Demon Slayer! Demon Slayer! Kimetsu No Yaiba Demons Fall Kimetsu No Yaiba Demons Fall Kaiju Hachi-go (Kaiju No. 8) Kaiju Hachi-go (Kaiju No. 8) (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT Crescent: Wings of Berk Crescent: Wings of Berk Project: Black Clover Project: Black Clover Reclamation Reclamation Over the Sea | Underwater Adventures! Over the Sea | Underwater Adventures! Homiesexuals Club Homiesexuals Club Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival tensura exploration tensura exploration my anime mods my anime mods EldenCraft - A Dark Fantasy Challenge EldenCraft - A Dark Fantasy Challenge Create Areonautics Create Areonautics Chivalry and Wizardry [Forge 1.16.5] Chivalry and Wizardry [Forge 1.16.5] RealisticSurvivalCrafting RealisticSurvivalCrafting KRILLKRAFT KRILLKRAFT Time to Morph Time to Morph Mod-A-Day For 100 Days Mod-A-Day For 100 Days FCraft: Fantasy Craft FCraft: Fantasy Craft Essentials:Create Essentials:Create Create: Industrialized Tech Create: Industrialized Tech Dragon Ball ZS Dragon Ball ZS Compound-M Compound-M FriendsCraft - Designed for Multiplayer | Vanilla-Friendly FriendsCraft - Designed for Multiplayer | Vanilla-Friendly Play Together | Multiplayer, Shared Life, Inventory & Progression (Multiplayer Experience with Friends) Play Together | Multiplayer, Shared Life, Inventory & Progression (Multiplayer Experience with Friends) Aeon Automata Aeon Automata Anime Chaos Mania Anime Chaos Mania Tensura Reemerged Tensura Reemerged Blursed JJK Blursed JJK Epic Fight Extended Epic Fight Extended The One Who Watches: haunted forest The One Who Watches: haunted forest Herobrine; He's Watching Herobrine; He's Watching The Last Stand into Nuclear Winter by Docgamesyb The Last Stand into Nuclear Winter by Docgamesyb After Humans Retouched+ After Humans Retouched+

External Resources