《我的世界》v1.7.10AI優(yōu)化改進(jìn)MOD;對(duì)游戲內(nèi)ai進(jìn)行了一系列的優(yōu)化調(diào)整,感謝“DarkCow、BuiltBrokenModding、dmodoomsirius、Kolatra”制分享,快來下載體驗(yàn)吧!
資源詳情
電流特性
Current Features
配置禁用人工智能手表最接近的實(shí)體
Config to disable AI Watch Closest Entity
默認(rèn)情況下,配置將被設(shè)置為false,不會(huì)執(zhí)行任何操作。當(dāng)更改為true時(shí),它將刪除一個(gè)名為entityaiwatch最近的人工智能段。這個(gè)人工智能段處理代碼的AIs使用,將它們的頭轉(zhuǎn)到附近的實(shí)體。視覺上這將引起一些奇怪的問題。但是,對(duì)于CPU,這釋放了許多由實(shí)體引起的使用。
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看起來是隨機(jī)的,配置不是默認(rèn)啟用的
Config to disable AI look random, config is not enabled by default
默認(rèn)情況下,配置將被設(shè)置為false,不會(huì)執(zhí)行任何操作。將配置設(shè)置為true將導(dǎo)致實(shí)體不再使用“看起來空閑”的人工智能代碼。這可以提高服務(wù)器的性能。當(dāng)沒有做任何重要的事情時(shí),地圖上幾乎所有的實(shí)體都會(huì)使用這個(gè)。從視覺上看,這可能會(huì)導(dǎo)致實(shí)體頭部不旋轉(zhuǎn),但大多數(shù)情況下都不被注意。
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,默認(rèn)啟用配置
Config to replace EntityLookHelper with a more efficient version, config is enabled by default
這是mod的主要特性,可以極大地提高CPU性能,以降低RAM的成本。如何使用MC的look helper代碼替換為自定義版本。自定義版本存儲(chǔ)了一些數(shù)據(jù),使其能夠更快地獲得位置的角度。用VisualVM的結(jié)果進(jìn)行了一些測試結(jié)果顯示,AI代碼的CPU使用率降低了50%到80%。對(duì)于一個(gè)有25人的服務(wù)器來說,這導(dǎo)致了5到7個(gè)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.
計(jì)劃的特點(diǎn)
Planned Features
人工智能導(dǎo)航探路者的多線程
Multithreading for AI nav pathfinder
暴徒產(chǎn)卵的限制
Mob spawning restrictions
當(dāng)沒有接近玩家的時(shí)候禁用視覺AI代碼
Disable Visual AI code when not near players
減少想知道距離
Reduce wondering distance
當(dāng)不接近球員的時(shí)候,減少對(duì)距離的懷疑
Reduce wondering distance when not near players
減少M(fèi)obs raytrace目標(biāo)的頻率
Reduce how often Mobs raytrace targets
配置控制RAM atan2緩存的使用量
Config to control the amount of RAM atan2 cache uses
使用說明
將壓縮包內(nèi)的jar文件復(fù)制到游戲目錄下的Mods文件夾,然后進(jìn)入游戲加載MOD。(根據(jù)版本選擇安裝1.7.10/1.8.9/1.12)
你可能會(huì)需要ForgeAPI