feat: 自动用船过水(开阔水域自动放船登船、上岸前自动下船回收船)

新增配置项 autoBoat/autoBoatMinWidth/autoBoatMinLength(默认开启,可在 GUI 勾选)。

新增 AutoBoatController:
- 每帧检测玩家朝向前方开阔水域(宽度>=4/长度>=6 格)、背包有任意 *_boat/*_chest_boat 时自动放船登船;
- 船中且前方出现岸边时按蹲伏下船并攻击船实体回收船;
- 进出船流程临时按住蹲伏键阻止 Baritone 把玩家推进水里或撞上船,
  流程结束后释放蹲伏键, Baritone 自动恢复寻路。

ExpansionController: tick 在自动游泳后调用 tickAutoBoat, stop() 中调用 reset 释放蹲伏键与还原主手槽位。
GUI: 新增 "用船过水" 复选框(第四行)。
版本号 1.2.6 -> 1.3.0, README 同步。
这个提交包含在:
lyizai
2026-09-05 00:59:28 +08:00
父节点 3669442d64
当前提交 555b96d3ba
共修改 7 个文件,包含 713 行新增和 5 行删除
+1 -1
查看文件
@@ -1 +1 @@
{"schemaVersion":1,"id":"autostore","version":"1.2.5","name":"AutoStore","description":"","authors":[],"contact":{},"license":"All-Rights-Reserved","environment":"client","entrypoints":{"fabric-datagen":["autostore.client.AutoStoreModDataGenerator"],"client":["autostore.client.AutoStoreModClient"],"main":["autostore.AutoStoreMod"]},"mixins":["autostore.mixins.json",{"config":"autostore.client.mixins.json","environment":"client"}],"depends":{"fabricloader":">=0.16.14","fabric-api":"*","minecraft":"1.21.4"},"jars":[{"file":"META-INF/jars/baritone-api-fabric-1.13.1.jar"}]}
{"schemaVersion":1,"id":"autostore","version":"1.3.0","name":"AutoStore","description":"","authors":[],"contact":{},"license":"All-Rights-Reserved","environment":"client","entrypoints":{"fabric-datagen":["autostore.client.AutoStoreModDataGenerator"],"client":["autostore.client.AutoStoreModClient"],"main":["autostore.AutoStoreMod"]},"mixins":["autostore.mixins.json",{"config":"autostore.client.mixins.json","environment":"client"}],"depends":{"fabricloader":">=0.16.14","fabric-api":"*","minecraft":"1.21.4"},"jars":[{"file":"META-INF/jars/baritone-api-fabric-1.13.1.jar"}]}