本模组为原版模组的移植版本。
我已获得原作者的许可进行移植。
对于 1.20.1 或更早的版本,请在此处下载原版模组 here
修改原版在定位功能时的行为,使其异步运行,从而缓解由此产生的卡顿问题。
目前该功能已应用于以下场景:
- 用户执行的结构定位命令(Locate structure)
- 用户执行的生物群系定位命令(Locate biome)(v1.5.0+ 版本起支持)
- 村民探险家地图交易选项
- 海豚寻宝功能
- 宝箱中的探险地图
本模组仅需在服务端安装!因此,如果玩家仅在单人游戏中使用,才需要客户端也安装此模组。
仅对原版生效(见上方列表)。其他模组可能需要自行实现对本模组的使用,以利用其异步功能。
不兼容说明
影响原版结构定位功能的模组可能会干扰 Async Locator 的功能。
目前已知存在冲突的其他模组如下:
据观察,在启动时,Async Locator 和 Structure Essentials 中仅有一个的定位改进功能会生效。除此之外没有其他实际问题,但只需安装其中一个模组即可。
模组集成
其他模组也可以将 Async Locator 作为依赖项,以便在其代码中实现异步定位功能。
为此,请使用 CurseMaven 或 Modrinth Maven 将此模组添加到您的 build.gradle 文件中,然后使用 AsyncLocator 类 和/或 逻辑类。
This mod is a port of the original version.
I have obtained the creator’s permission to port it.
For versions 1.20.1 or earlier, download the original mod here
Modifies vanilla behaviour when locating features to run asynchronously, mitigating associated lag.
This is currently implemented for:
- Locate structure command when executed by a user
- Locate biome command when executed by a user (v1.5.0+)
- Villager explorer map trade offers
- Dolphin treasure finding
- Exploration map in chests
This mod is only required to be installed server side! So clients only need this installed if they want it for single player.
This alone only works for vanilla (see list above). Other
mods may need to implement usage of this mod themselves to make use of
the async functionality.
Incompatibilities
Mods that affect vanilla's structure locating features may impact Async Locator's functionality.
Right now, the list below states other mods that I'm aware of:
Has been seen that on startup only one of either Async Locator's or
Structure Essentials' locating improvements will work. No real issues
otherwise, but only one of the mods are required.
Mod Integration
Other mods can also use Async Locators as a dependency to implement the asynchronous locating into their own code.
To do so, please use CurseMaven or Modrinth Maven to add this mod to your build.gradle, and then make use of the AsyncLocator class and/or logic classes.
评论 0
登录后参与评分
还没有评论,来抢沙发吧