Modscraper Modscraper Minecraft
AI Improvements logo

AI Improvements

Mod

by QueenOfMissiles

Performance and logic upgrades for mod AIs

Type

Mod

CurseForge Downloads

160,414,237

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
Wandering Hollows Season 2 Wandering Hollows Season 2 Tinker's Tea Time Tinker's Tea Time Astral Titans Astral Titans Faga's Cobblemon & Create Faga's Cobblemon & Create Create Areo Naughts Create Areo Naughts New World Awakened New World Awakened V's Fantasy Modpack V's Fantasy Modpack Winter Leveling Winter Leveling SharkSquad Modpacks SharkSquad Modpacks Luminosity Luminosity The Flesh that Hates - Parasitic Outbreak The Flesh that Hates - Parasitic Outbreak Create - Rough Landing Create - Rough Landing The Colony Of The Gods The Colony Of The Gods Leo's Medieval Fantasy Leo's Medieval Fantasy Requiem Black Dawn Requiem Black Dawn Meow to Exile 2 Custom By Seraphina Meow to Exile 2 Custom By Seraphina Founding Realms - Millénaire + MineColonies Town Building Adventure Founding Realms - Millénaire + MineColonies Town Building Adventure Jimmu's Factory 2 Jimmu's Factory 2 Optix - Boost FPS, Smooth, Performance Optix - Boost FPS, Smooth, Performance Pixelmon: Extra Adventures 2 Pixelmon: Extra Adventures 2 All In 1 All In 1 Euphoria Archipelago (M0sk1t0s Community pack) Euphoria Archipelago (M0sk1t0s Community pack) Tensura Super Reincarnated Tensura Super Reincarnated Leo's Military Factions Leo's Military Factions Slop Shooter 3000 Slop Shooter 3000 WolfCraft: Curse of the Moon WolfCraft: Curse of the Moon Peps SMP Season 4 Continents and Colonies Peps SMP Season 4 Continents and Colonies NinJutsu Origins NinJutsu Origins Stellar Foundry Stellar Foundry Realms Collide Eternal Realms Collide Eternal Gentle Giant Gentle Giant SRP Call of Death SRP Call of Death HBM's NTM Space WorldBreaker HBM's NTM Space WorldBreaker TitanChronicles TitanChronicles Aetherbound RPG Aetherbound RPG Dimensions Expanded Dimensions Expanded Sky Greg Fork Sky Greg Fork Create: Endless Industry Create: Endless Industry TFC Flintrock TFC Flintrock Immersive Factory - Create and Immersive Petroleum Immersive Factory - Create and Immersive Petroleum Star Wars Aeronautics and superheroes Star Wars Aeronautics and superheroes Dragon mine Z - Time Havoc Dragon mine Z - Time Havoc The Lands Between THEO The Lands Between THEO Medieval Slayer Z Medieval Slayer Z Better than Bundles! - BTB Better than Bundles! - BTB Xomaps RPG Xomaps RPG Dark's Trials of the Unknown Dark's Trials of the Unknown Prism Drift Prism Drift the wither storm all add ons the wither storm all add ons Cozy Time For My Friends Cozy Time For My Friends MCB Create Live MCB Create Live Paleo Project Paleo Project Athy's Cobbleswamp Athy's Cobbleswamp CR Craft REMASTERED CR Craft REMASTERED Vanilla Reinvented Vanilla Reinvented Doctor Who: Immersive Doctor Who: Immersive Absolute Industrialization Absolute Industrialization ALCHEMIST RPG ALCHEMIST RPG Boss Rush Pack Boss Rush Pack Brother's RPG Brother's RPG Puffy's One Block Horror Puffy's One Block Horror NNC - Nuclear Nexus NNC - Nuclear Nexus Natures Odyssey Natures Odyssey Dao of Endless Regression Dao of Endless Regression Adventure Mod Adventure Mod Scientific Rocketry 2 Scientific Rocketry 2 Tensura Abyss Tensura Abyss Medieval Sieges and Airship warfare Medieval Sieges and Airship warfare The Adventure of 1000 - Hunters of Evil The Adventure of 1000 - Hunters of Evil SimplyFellas SimplyFellas GreenBound GreenBound Cobblemon, Side by Side! (EARLY ACCESS) Cobblemon, Side by Side! (EARLY ACCESS) Create Aeronautics Sky Islands Create Aeronautics Sky Islands Better Survival (BSurvival2) Better Survival (BSurvival2) Maor The King Of The Light Maor The King Of The Light TNIF (TECHNOLOGICAL INFECTION) TNIF (TECHNOLOGICAL INFECTION) RLChanged RLChanged RuneCraft(RPG) RuneCraft(RPG) Prepu's Story Mode - The Wither Storm Prepu's Story Mode - The Wither Storm CUNICULUM CUNICULUM Create Industrial Village Create Industrial Village Ice and Villagers Ice and Villagers DracoNeo - Council of Wyrms DracoNeo - Council of Wyrms Lost in Beta - The Forgotten Worlds Lost in Beta - The Forgotten Worlds Eden Factory Eden Factory PureMash Tech PureMash Tech Create & Conquer: Last Light Create & Conquer: Last Light Please Send Resources Please Send Resources SC Final Adventure - Machines SC Final Adventure - Machines Cobbled Industries 2 Cobbled Industries 2 Our Way Of Life Our Way Of Life Lord Of Family Lord Of Family Manaeval Legacy (Black Clover) Manaeval Legacy (Black Clover) Perfectly Immersive Optimized (Cheats Edition) Perfectly Immersive Optimized (Cheats Edition) Jujutsucraft Ultimate version Jujutsucraft Ultimate version after the virus - parasite apocalypse after the virus - parasite apocalypse Only Create It Only Create It Create - Means of Production Create - Means of Production Superhero and Ben10 SMP Superhero and Ben10 SMP Akton's VentureCraft Akton's VentureCraft

External Resources