fix: v1.1.1 修复区域扩地总是无可用区块(同步矩形圈选坐标到配置)
这个提交包含在:
@@ -15,7 +15,7 @@
|
|||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
1. 安装 Fabric Loader 0.16.14+ 和 Fabric API
|
1. 安装 Fabric Loader 0.16.14+ 和 Fabric API
|
||||||
2. 将 `autostore-1.1.0.jar` 放入 `.minecraft/mods/` 目录
|
2. 将 `autostore-1.1.1.jar` 放入 `.minecraft/mods/` 目录
|
||||||
3. 启动游戏,按 `Ctrl+R` 打开 GUI
|
3. 启动游戏,按 `Ctrl+R` 打开 GUI
|
||||||
|
|
||||||
## 构建
|
## 构建
|
||||||
@@ -25,4 +25,4 @@
|
|||||||
./build_mod.sh
|
./build_mod.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
输出文件:`autostore-1.1.0.jar`
|
输出文件:`autostore-1.1.1.jar`
|
||||||
|
|||||||
@@ -500,6 +500,11 @@ extends Screen {
|
|||||||
target.avoidMobs = this.config.avoidMobs;
|
target.avoidMobs = this.config.avoidMobs;
|
||||||
target.allowBreak = this.config.allowBreak;
|
target.allowBreak = this.config.allowBreak;
|
||||||
target.allowPlace = this.config.allowPlace;
|
target.allowPlace = this.config.allowPlace;
|
||||||
|
// 同步矩形圈选坐标到全局配置(修复:之前忘记同步,导致区域扩地总是为空)
|
||||||
|
target.regionMinX = this.config.regionMinX;
|
||||||
|
target.regionMaxX = this.config.regionMaxX;
|
||||||
|
target.regionMinZ = this.config.regionMinZ;
|
||||||
|
target.regionMaxZ = this.config.regionMaxZ;
|
||||||
this.mod.saveConfig();
|
this.mod.saveConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"schemaVersion":1,"id":"autostore","version":"1.1.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"}]}
|
{"schemaVersion":1,"id":"autostore","version":"1.1.1","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"}]}
|
||||||
在新工单中引用
屏蔽一个用户