banner
Rating
Voted0

AI Improvements Mod (1.20.4) - Mod improves AI performance and logic.

3
Mod version:1
Game version:1.20.4
The mod has been successfully tested for the absence of viruses
1221.22K141.93K

Report mod

  • image
modalImage

About This Mod

AI Improvements Mod (1.20.4) is a simplified AI modification focused on performance and low-level fixes in-game AI. It eliminates the flaws of the base game and improves it for the mod ecosystem. It solves common problems such as too many animals, low performance due to hordes of zombies, and eliminates tasks missed by larger mods to improve AI.

Features.

Config to disable AI Watch Closest Entity:


By default, this config is set to false and does nothing; changing it to true will remove the AI EntityAIWatchClosest segment. This AI segment controls the encoded AI used to rotate the head to nearby entities. Visually this causes some strange problems. However, the processor is freeing up a lot of space for the entities.

Config to disable AI appearance randomization, config is not enabled by default:


By default, config is set to false and does nothing. If set to true, the entity will no longer use AI code 'look idle'. This improves performance on overcrowded servers. This is because almost all entities on the map use this code when they do nothing important. Visually, this sometimes causes the entities to not turn their heads, but mostly unnoticed.

Config that replaces EntityLookHelper with a more efficient version, with config enabled by default:


This is the main feature of this mode, which can significantly improve the performance of the processor with a small amount of RAM. It works as follows: the code of the MC look assistant is replaced with the custom version. The user version stores some data to determine the location angle more quickly; in VisualVM testing, the use of the processor by AI code was reduced by 50-80%. On a server with 25 people at the same time, the results were from 5 to 7 tps.

Planned features.

AI Path Navigator Multi-Threading

Spawn mob restriction

Disable AI visual codes when no players are nearby.

Reduced surprise distance.

Decrease surprise distance when no player is around

Decrease in the frequency of target tracking by mobs

Settings to monitor memory usage of the atan2 cache

description_0 AI Improvements Mod (1.20.4) - Mod improves AI performance and logic.
description_1 AI Improvements Mod (1.20.4) - Mod improves AI performance and logic.
description_2 AI Improvements Mod (1.20.4) - Mod improves AI performance and logic.

Similar Mods/Addons

Game Version *

1.20.4 (39aa2bcf789dd01e9271a5b0379c1aad.jar)