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
MC HardcoreZ MC HardcoreZ OptiPrime OptiPrime Au Naturel Au Naturel Equinox's Story Mode (MCSM) Equinox's Story Mode (MCSM) True Analog horror True Analog horror WayPoint WayPoint RunNGun -  100 Days Zombie Apocalypse RunNGun - 100 Days Zombie Apocalypse Bladeborne - Medieval Soulslike Bladeborne - Medieval Soulslike Create: World of Engineers - WOE | QUESTS! Create: World of Engineers - WOE | QUESTS! MagicCraft 2: Choose your magic path MagicCraft 2: Choose your magic path SCP Apocalypse - By Gloomless SCP Apocalypse - By Gloomless Calvin's wonderland.jar Calvin's wonderland.jar All The Neoforge All The Neoforge Create: Mostly Create Create: Mostly Create SimplePack 4 SimplePack 4 Luminary Cove Luminary Cove Rick's Portal Gun - Official Server Pack Rick's Portal Gun - Official Server Pack Lucky World Invasion - Survivor Lucky World Invasion - Survivor Stargate: ReLeveled Stargate: ReLeveled Belgie's Create SMP S6 Belgie's Create SMP S6 All the Mods - Slice of Pi - ATM SLOP All the Mods - Slice of Pi - ATM SLOP Magic Castle — Magic & RPG Magic Castle — Magic & RPG Better Survival (BSurvival) Better Survival (BSurvival) AOTBT Updated (1.12.2) AOTBT Updated (1.12.2) Just Another Randomizer Pack Just Another Randomizer Pack Parasitic Apocalypse - Revamped Parasitic Apocalypse - Revamped Forge Labs 100 Days Parasite Forge Labs 100 Days Parasite Penumbralcraft Penumbralcraft All About Decoration - Building & Furniture All About Decoration - Building & Furniture Life Full Of The Animals Life Full Of The Animals Tensura Tomfoolery Tensura Tomfoolery Garrys Adventure Garrys Adventure MC:SM Ultimate Experience Refresh! MC:SM Ultimate Experience Refresh! Level Border 2.0 Level Border 2.0 Unaltered+ Unaltered+ Super Stupidity Super Stupidity AdvoTech JJThunder AdvoTech JJThunder Changed Goo Outbreak Changed Goo Outbreak ARG ARG Wuxiacraft the Immortal Era Wuxiacraft the Immortal Era SLG: Best of Terramity SLG: Best of Terramity Minecolonies Create - Aeronautics Colonies Minecolonies Create - Aeronautics Colonies A Dweller Christmas A Dweller Christmas StarkPanzer's Magical Create StarkPanzer's Magical Create Solo Leveling Awakened Solo Leveling Awakened Tensura Resurrection Tensura Resurrection Oritech+ | Oritech & Create Addons and Create Aeronautics Oritech+ | Oritech & Create Addons and Create Aeronautics Monumental Experience - In space Monumental Experience - In space MineFantasy Life MineFantasy Life Cats MC++ | Boss Progression | Quests | Customized Loot | Balanced Gameplay Cats MC++ | Boss Progression | Quests | Customized Loot | Balanced Gameplay Beyond Elysium Beyond Elysium Antique Runes: Medieval RPG Antique Runes: Medieval RPG Aliens Vs Predator: The Reckoning Aliens Vs Predator: The Reckoning KyuSekai KyuSekai Mathioks Naruto Mathioks Naruto Dungeon Warfare - FUN RPG | Firearms and RPG! Dungeon Warfare - FUN RPG | Firearms and RPG! Monster Hunter Monster Hunter Born in Hell - Vampires Born in Hell - Vampires Essentials Mods - Halloween Edition [CurseForge Server] Essentials Mods - Halloween Edition [CurseForge Server] Transformer Smp Transformer Smp Prison Escape - Beginnings (reborn) Prison Escape - Beginnings (reborn) Creatopia Unbound Creatopia Unbound Industrial Machines Industrial Machines Dokuta Suton (Dr. Stone) Dokuta Suton (Dr. Stone) Creative Industrialization: Festering Industry Creative Industrialization: Festering Industry Blox Piece Blox Piece Randomized Craft (DEEP FRIED) Randomized Craft (DEEP FRIED) Modern Zombies Modern Zombies Moni&ProjectE Moni&ProjectE Create: Magic Adventures Create: Magic Adventures The Rebirth of Nevermine The Rebirth of Nevermine MageTech [FORGE] MageTech [FORGE] Hommage Hommage Star Tech Star Tech Immersive Wither Storm Immersive Wither Storm Farmy Skyblock Farmy Skyblock WT Endless Sky Adventures - SkyGrid Edition WT Endless Sky Adventures - SkyGrid Edition Cobblemon Enhanced (Pokemon) Cobblemon Enhanced (Pokemon) ISEKAICRAFT RPG ISEKAICRAFT RPG Lukes Paradise Parasites Riptide Lukes Paradise Parasites Riptide Project X (Palladium) Project X (Palladium) Girlypop Craft Girlypop Craft Cobble Souls  - With Optional Nuzlocke Mode Cobble Souls - With Optional Nuzlocke Mode dronko's dragon survival dronko's dragon survival Friendly PvP Friendly PvP HOICraftWW2 HOICraftWW2 Monumental Experience VI - Rise of the Dinosaurs Monumental Experience VI - Rise of the Dinosaurs Black Myth Wukong Black Myth Wukong Simply Create (Create with Clockwork) Simply Create (Create with Clockwork) solo leveling reawakening evolved Anime solo leveling reawakening evolved Anime Randoms Packs Randoms Packs Terra Immundus - Sculk Horde Terra Immundus - Sculk Horde GoonCrafts GoonCrafts WolfCraft Colonies - Season 5! WolfCraft Colonies - Season 5! Termincraft Termincraft superheroes tech superheroes tech All About Origins - Powers & Classes & Races All About Origins - Powers & Classes & Races Community in the Skies Community in the Skies TornadosX TornadosX Pirates Of The Infinite Caribbean Pirates Of The Infinite Caribbean

External Resources