《我的世界》v1.7.10AI调整优化MOD;对游戏内ai进行了一系列的优化调整,感谢“DarkCow、BuiltBrokenModding、dmodoomsirius、Kolatra”制分享,快来下载体验吧!
资源详情
电流特性
Current Features
配置禁用人工智能手表最接近的实体
Config to disable AI Watch Closest Entity
默认情况下,配置将被设置为false,不会执行任何操作。当更改为true时,它将删除一个名为entityaiwatch最近的人工智能段。这个人工智能段处理代码的AIs使用,将它们的头转到附近的实体。视觉上这将引起一些奇怪的问题。但是,对于CPU,这释放了许多由实体引起的使用。
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.
配置禁用AI看起来是随机的,配置不是默认启用的
Config to disable AI look random, config is not enabled by default
默认情况下,配置将被设置为false,不会执行任何操作。将配置设置为true将导致实体不再使用“看起来空闲”的人工智能代码。这可以提高服务器的性能。当没有做任何重要的事情时,地图上几乎所有的实体都会使用这个。从视觉上看,这可能会导致实体头部不旋转,但大多数情况下都不被注意。
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.
配置用更有效的版本替换EntityLookHelper,默认启用配置
Config to replace EntityLookHelper with a more efficient version, config is enabled by default
这是mod的主要特性,可以极大地提高CPU性能,以降低RAM的成本。如何使用MC的look helper代码替换为自定义版本。自定义版本存储了一些数据,使其能够更快地获得位置的角度。用VisualVM的结果进行了一些测试结果显示,AI代码的CPU使用率降低了50%到80%。对于一个有25人的服务器来说,这导致了5到7个tps的增加。
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.
计划的特点
Planned Features
人工智能导航探路者的多线程
Multithreading for AI nav pathfinder
暴徒产卵的限制
Mob spawning restrictions
当没有接近玩家的时候禁用视觉AI代码
Disable Visual AI code when not near players
减少想知道距离
Reduce wondering distance
当不接近球员的时候,减少对距离的怀疑
Reduce wondering distance when not near players
减少Mobs raytrace目标的频率
Reduce how often Mobs raytrace targets
配置控制RAM atan2缓存的使用量
Config to control the amount of RAM atan2 cache uses
使用说明
将压缩包内的jar文件复制到游戏目录下的Mods文件夹,然后进入游戏加载MOD。(根据版本选择安装1.7.10/1.8.9/1.12)
你可能会需要ForgeAPI