AI Improvements Mod 1.16.5/1.15.2 – Performance & Logic Upgrades for Mod AIs

Author: Kompot
ai improvements minecraft mod

AI Improvements Mod 1.16.5/1.15.2 is a 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 simply remove tasks skipped by larger AI improvement mods.


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 usages 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 again from 5 to 7 tsp.

Planned Features:

  • Multithreading for AI nav pathfinder
  • Mob spawning restrictions
  • Disable Visual AI code when not near players
  • Reduce wondering distance
  • Reduce wondering distance when not near players
  • Reduce how often Mobs ray trace targets
  • Config to control the amount of RAM atan2 cache uses


ai improvements mod image 1
ai improvements mod image 2
ai improvements mod image 3

How to install:

  1. Make sure you have already installed Minecraft Forge.
  2. Locate the minecraft application folder.
    • On windows open Run from the start menu, type %appdata% and click Run.
    • On mac open finder, hold down ALT and click Go then Library in the top menu bar. Open the folder Application Support and look for Minecraft.
  3. Place the mod you have just downloaded (.jar file) into the Mods folder.
  4. When you launch Minecraft and click the mods button you should now see the mod is installed.
( Rating: 00 votes)


Your email address will not be published. Required fields are marked *

  • There are no comments yet. But yours could become the first one!