Simplified AI Logic
TPS Stability Enhancement
This modification is specifically designed to provide more stable TPS (ticks per second) in your game. It implements simplified artificial intelligence logic for various types of mobs.
Configuration Settings
The mod includes a configuration file simplifiedailogic with the following standard structure:
Peaceful Mobs
# List of peaceful mobs with 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"]
Optimization Methodology
Peaceful mobs have undergone radical behavioral changes. They move at extremely low speed (only 0.3). These creatures no longer interact with the player or the surrounding world—they simply exist like mindless animals. It's this minimal AI usage that provides significant computational resource savings.
Note: Due to their slow movement speed, peaceful mobs cannot escape from you, though they try. Their movement is limited to 1-3 blocks, after which they remain stationary for 5 seconds.
Hostile mobs received more subtle adjustments. The frequency of player searching has been significantly reduced—instead of checking every game tick, they only search for you once every 2 seconds. However, if you get close enough, you'll be noticed instantly. This solution also significantly saves server performance.