Simplified AI Logic

Simplified AI Logic

Mod

Optimizes slightly hostile mobs and harshly destroys the AI of peaceful mobs. TPS Optimization

Server CursedGame Mechanics MobsOptimization

693 downloads
2 followers
Follow Save
Simplified AI Logic has been archived. Simplified AI Logic will not receive any further updates unless the author decides to unarchive the project.

The mod is made to get more TPS stability.

The mod has a configuration config (simplifiedailogic) its default content is:

["Peaceful Mobs"]

#List of peaceful mobs to apply simplified AI
peaceful_mobs = ["minecraft:cow", "minecraft:sheep", "minecraft:pig", "minecraft:chicken", "minecraft:rabbit", "minecraft:horse", "minecraft:donkey", "minecraft:mule", "minecraft:llama", "minecraft:cat", "minecraft:fox", "minecraft:wolf"]

["Hostile Mobs"]

#List of hostile mobs with optimized AI
hostile_mobs = ["minecraft:zombie", "minecraft:skeleton", "minecraft:spider", "minecraft:creeper", "minecraft:enderman", "minecraft:witch"]

Briefly about optimization:

For peaceful mobs, so to speak, the AI has been rewritten. They walk very slowly (speed 0.3). They also don't pay attention to the player or the world around them, they just exist, stupid animals. Thus, TPS is optimized due to minimal AI.

(Due to the slow speed of the peaceful mobs, they cannot escape from you, but they try. Namely, they walk from 1 to 3 blocks and when they stop they stand in place for 5 seconds.)

For hostile mobs, a small optimization of AI has been postponed, the player's search has been postponed, instead of every tick, it searches every 2 seconds, but if you are nearby, they will instantly notice you. It also optimizes TPS.

We can arrange to order a mod at Discord, my nickname is Gvoper


Project members

Gvoper

Member

Details

Licensed ARR
Published 5 months ago
Updated 5 months ago