Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/config-spec/leaves/zh_Hans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,10 @@ settings:
:::
no-block-update-command:
default: "false"
description: 是否启用 `/leaves blockupdate` 命令,此命令让玩家可以控制服务器内全局方块更新是否发生。
description: |
是否启用 `/leaves blockupdate` 子命令,此命令让玩家可以控制服务器内全局方块更新是否发生。

使用 `/leaves blockupdate` 查询当前全局方块更新状态,`/leaves blockupdate enable`开启全局方块更新,`/leaves blockupdate disable`关闭全局方块更新。
Comment thread
MC-XiaoHei marked this conversation as resolved.
Outdated
no-tnt-place-update:
default: "false"
description: 是否在放置 TNT 时**不**进行方块更新。
Expand Down
16 changes: 14 additions & 2 deletions src/zh_Hans/leaves/reference/fakeplayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Leaves 提供了类似 Carpet 的假人支持,假人的命令为 `/bot` 。

你也可以使用命令 `/bot remove <假人名>` 来移除指定的假人。

你也可以使用命令 `/bot remove <假人名> [时] [分] [秒]` 来定时移除指定的假人。
你可以通过添加移除时间参数(例如 `/bot remove <假人名> [移除时间]`)来定时移除指定的假人。移除时间格式例如:`11h45m14s`
Comment thread
MC-XiaoHei marked this conversation as resolved.
Outdated

## 假人加载/保存

Expand Down Expand Up @@ -222,6 +222,12 @@ Leaves 提供了类似 Carpet 的假人支持,假人的命令为 `/bot` 。
- **动作参数**: `<Player>` 或 `<X>` `<Y>` `<Z>`
- **描述**: 当假人开始执行这项动作时,假人将看向该玩家或给定的坐标。

### 骑乘动作

- **动作名**: `mount`
- **动作参数**: `无`
- **描述**: 当假人开始执行这项动作时,假人将尝试骑乘曼哈顿距离 2 范围内的最近可骑乘实体。
Comment thread
MC-XiaoHei marked this conversation as resolved.
Outdated

### 转向动作

- **动作名**: `rotation`
Expand All @@ -240,6 +246,12 @@ Leaves 提供了类似 Carpet 的假人支持,假人的命令为 `/bot` 。
- **动作参数**: `无`
- **描述**: 当假人执行此项动作时,假人将尝试在水中自动浮起(而不是进入游泳姿态)。

### 交换双手物品动作

- **动作名**: `swap`
- **动作参数**: `无`
- **描述**: 当假人开始执行这项动作时,假人将交换双手的物品。此动作始终成功。

### 模拟右键动作

- **动作名**: `use_auto`
Expand Down Expand Up @@ -342,5 +354,5 @@ Leaves 提供了类似 Carpet 的假人支持,假人的命令为 `/bot` 。

通过使用 `/bot list [世界]` 来查看全局/各个世界的假人。

`[世界]` 是可选参数。它默认为 `world` / `world_nether` / `world_the_end` 。
`[世界]` 是可选参数。默认情况下,可选值为 `world` / `world_nether` / `world_the_end` 。
Comment thread
MC-XiaoHei marked this conversation as resolved.
Outdated
输入自定义世界的名称以查看位于该世界中的假人。