WorldEdit
Original Docs @ https://worldedit.enginehub.org/en/latest/quickstart/
快速开始
选择一块区域
在 WorldEdit 中, 选区就像一个 3 维长方体. 你可以指定两个端点来确定一个选区.
- 手持木质斧头, 鼠标左键 / 右键来标记端点.
- 使用命令
//pos1 //pos2 将脚下标记为端点.
- 注视某个方块时使用
//hpos1 //hpos1 将方块标记为端点.
调整一块区域
- 使用
//expand 10 up 将选区向上扩展 10 方块.
- 使用
//expand 5 将选区朝注视方向扩展 5 方块.
对选择区域进行操作
- 使用
//set minecraft:glass 将整块区域设为玻璃.
- 使用
//set sandstone,glass 将区域的 50% 设为玻璃, 50% 设为沙石.
- 使用
//replace sandstone dirt 将区域中的沙石替换为泥土.
- 使用
//undo 撤销你的操作.
查看选区
- 在选择区域不大于
48*48*48 时, 使用 //drawsel 来画出粗略地选区边框.
- 安装 WorldEdit CUI 查看选区边框.
可用命令
选区
1
| //contract <amount> [reverseAmount] [direction]
|
- 缩小选区
- 可用参数:
<amount>: 缩小选区的方块数
[reverseAmount] 在反方向缩小选区的的方块数
[direction] 缩小方向
1
| //shift <amount> [direction]
|
- 移动选区
- 可用参数:
<amount> 移动的方块数
[direction] 移动方向
1
| //expand <amount> [reverseAmount] [direction]>
|
- 扩展选区
- 可用参数:
<amount> 扩展方块数, 当设置为 vert 时拓展到整个世界的上下两端
[reverseAmount] 在反方向拓展的方块数
[direction] 拓展方向
选区信息
1
| //distr [-cd] [-p <page>]
|
- 获取方块分布信息
- 可用参数:
[-c] 从剪贴板获取信息
[-d] 以状态区分方块
[-p <page>] 翻页
区域
1
| //line [-h] <pattern> [thickness]
|
- 在选区边角处放置方块
- 可用参数:
<pattern> 方块图案
[thickness] 厚度
[-h] 仅放置空壳
- 替换选区内的方块
- 可用参数:
[from] 要替换的方块
<to> 要替换的方块 (图案)