> For the complete documentation index, see [llms.txt](https://btehkmu.gitbook.io/btehkmu-zhi-nan-guide-book/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://btehkmu.gitbook.io/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/qu-yu-cao-zuo-region.md).

# 區域操作 Region

#### 區域操作 Region,

> 針對選取區內操作的指令。Only operate within the selected area.

* 設置：⁠//set,
* 直線：⁠//line,
* 曲線：⁠//curve,
* 取代：⁠//replace,
* 移動：⁠//move,
* 堆疊：⁠//stack,
* 設置生態系：`//setbiome`

{% tabs %}
{% tab title="Set" %}

## 解釋Explanation

* 描述：設置區域內的所有方塊。
* 用法：`//set <方塊>`。

> <方塊>：要設置的方塊，詳情參考 [Blocks ](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-blocks)& [Masks ](https://app.gitbook.com/o/KEc1n9wg502stlXYpa7t/s/iCsqZvQt6N8bYG3CEYIb/~/changes/9/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi#zhe-zhao-tu-yang)。

{% embed url="<https://media.discordapp.net/attachments/1125634344405450762/1125635878753149059/ezgif.com-video-to-gif_7.gif?ex=68e09a9a&is=68df491a&hm=9f06cd4fb6233b257eaa73e1aad64084917df818b3a1603030813a360e344cea&=&width=640&height=360>" %}
{% endtab %}

{% tab title="line" %}

## 解釋Explanation,

* 描述：在選取點間畫線。僅適用於長方體(cuboid)選取器。,
* 用法：`//line [-h] <方塊> [粗細]`。,

> \[-h]：表hollow。僅生成外殼。&#x20;
>
> <方塊>：要設置的方塊 ⁠[方塊Blocks](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-zi-liao-ge-shi-1)。&#x20;
>
> \[粗細]：線條的粗細。

{% embed url="<https://media.discordapp.net/attachments/1125632005200154656/1125633807878471700/ezgif.com-video-to-gif_6.gif?ex=68e098ad&is=68df472d&hm=a16ed24ebc7c078bc0d7454323bccf1887d13a04314efa1616ef1d62044812cb&=&width=640&height=360>" %}
{% endtab %}

{% tab title="curve" %}

## 解釋Explanation,

* 描述：在選取點間畫曲線。僅適用於多面體(convex)選取器。,
* 用法：`//curve [-h] <方塊> [粗細]`。,

> \[-h]：表hollow。僅生成外殼。&#x20;
>
> <方塊 >：要設置的方塊 [⁠](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-zi-liao-ge-shi-1)[⁠方塊Blocks](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-zi-liao-ge-shi-1)。&#x20;
>
> \[粗細]：曲線的粗細。

{% embed url="<https://media.discordapp.net/attachments/1125628221237510154/1125631082121924638/ezgif.com-video-to-gif_5.gif?ex=68e09623&is=68df44a3&hm=9de6fca695ebb28cf39c41950ec53e058831d775ba834707f57d56fd048fb979&=&width=640&height=360>" %}
{% endtab %}

{% tab title="replace" %}

## 解釋Explanation,

* 描述：將選取區中的所有方塊替換為另一種方塊。可縮寫為`//re`。,
* 用法：`//re [遮罩] <方塊>`。,

> \[遮罩]：要被替換的方塊遮罩 。未指定時預設使用`#existing`遮罩。\
> &#x20;<方塊>：要替換的方塊⁠。[⁠方塊Blocks](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-zi-liao-ge-shi-1)

{% embed url="<https://media.discordapp.net/attachments/1125623711165325312/1125625920695312556/ezgif.com-video-to-gif_4.gif?ex=68e09154&is=68df3fd4&hm=82191ff73b977f8218c3feb3310780970583a61bcc2a67228cb55f676eca3f9c&=&width=640&height=360>" %}

{% embed url="<https://youtube.com/shorts/1KDEMq9BtJo?feature=share>" %}
{% endtab %}

{% tab title="Move" %}

## 解釋Explanation,

* 描述：移動選取區中的方塊。,
* 用法：`//move [-s] [距離] [方向] [填充方塊]`。,

> \[-s]：表selection。連帶選取區一同移動。
>
> \[距離]：要移動的距離。未指定時預設為1。
>
> \[方向]：作用的方向 ⁠[方向Orientation/座標系統Coordinates](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-xiang-orientation-zuo-biao-xi-tong-coordinates)。&#x20;
>
> \[填充方塊]：以特定方塊填充因移動而產生的空缺。未指定時預設為空氣。[⁠方塊Blocks](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-kuai-zi-liao-ge-shi-1)

{% embed url="<https://media.discordapp.net/attachments/1125616753746116729/1125622052099981413/ezgif.com-video-to-gif_3.gif?ex=68e08dba&is=68df3c3a&hm=6465182e55543ae5e19402231ff3542eb1c845c444b8e2572b4337228e34193e&=&width=640&height=360>" %}
{% endtab %}

{% tab title="Stack" %}

## 解釋Explanation,

* 描述：堆疊選取區中的方塊。,
* 用法：`//stack [-as] [數量] [方向]`。,

> \[-a]：表air。忽略空氣方塊。\
> &#x20;\[-s]：表selection。連帶選取區一同移動。 \
> \[數量]：要堆疊的數量。未指定時預設為1。 \
> \[方向]：作用的方向 ⁠[方向Orientation/座標系統Coordinates](/btehkmu-zhi-nan-guide-book/shen-qi-mu-fu-tou-we/worldedit/ji-ben-zhi-shi.md#fang-xiang-orientation-zuo-biao-xi-tong-coordinates) 。

{% embed url="<https://media.discordapp.net/attachments/1125612248975540335/1125616374677512232/ezgif.com-video-to-gif_2.gif?ex=68e08870&is=68df36f0&hm=5e3445692f397eea0eddb9490495489251e4aa57a2340d2b9d7a0d6c0bfac5f9&=&width=640&height=360>" %}

{% embed url="<https://www.youtube.com/watch?v=KdnnW72osnI&pp=ygUbbWluZWNyYWZ0IHdvcmxkZWRpdCAvL3N0YWNr>" %}
{% endtab %}
{% endtabs %}
