本模组为原版模组的移植版本。
我已获得原作者的许可进行移植。
对于 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.
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
下载 Async Locator Refined
适用于 1.21.8 的发布版本
此版本包含 1.21.5-1.6.0 及之前的所有功能,并新增:
修复:
- 添加了正确的服务器生命周期清理逻辑,原子化移除所有待处理的共享定位点。现在关闭时会清除 PENDING_LOCATES,且合并键包含 MinecraftServer
- 使用 MixinExtras injectors 改进了 mixin 兼容性
- 优化并重绘了图标,使模组 JAR 包体积减少了 46 KB
新增:
- 添加了 /asynclocator status 和 reload 命令,并支持 /al 快捷指令
- 为 Fabric 和 NeoForge 添加了经过验证的运行时配置重载功能
- 添加了带安全取消机制的定位点合并功能
所有更改
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧