> 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/guide-book-en/magic-wooden-axe-we/worldedit/region-operations.md).

# Region Operations

#### Region operations Region,

> Commands that operate within the selected area only. Only operate within the selected area.

* Set: //set,
* Line: //line,
* Curve: //curve,
* Replace: //replace,
* Move: //move,
* Stack: //stack,
* Set biome:`//setbiome`

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

## Explanation

* Description: Sets all blocks within the region.
* Usage:`//set <block>`.

> \<block>: The block to set, see details at [Blocks ](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.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,

* Description: Draws a line between selected points. Only applies to cuboid selectors.,
* Usage:`//line [-h] <block> [thickness]`.,

> \[-h]: means hollow. Only generates the shell.&#x20;
>
> \<block>: The block to set [Blocks](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.md#fang-kuai-zi-liao-ge-shi-1).&#x20;
>
> \[thickness]: The thickness of the line.

{% 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,

* Description: Draws a curve between selected points. Only applies to convex selectors.,
* Usage:`//curve [-h] <block> [thickness]`.,

> \[-h]: means hollow. Only generates the shell.&#x20;
>
> \<block>: The block to set [ ](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.md#fang-kuai-zi-liao-ge-shi-1)[ Blocks](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.md#fang-kuai-zi-liao-ge-shi-1).&#x20;
>
> \[thickness]: The thickness of the curve.

{% 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,

* Description: Replaces all blocks in the selection with another block. Can be abbreviated as`//re`.,
* Usage:`//re [mask] <block>`.,

> \[mask]: The block mask to be replaced. If not specified, the default mask is used`#existing`mask.\
> &#x20;\<block>: The block to replace with.[ Blocks](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.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,

* Description: Moves blocks in the selection.,
* Usage:`//move [-s] [distance] [direction] [fill block]`.,

> \[-s]: means selection. Move the selection along with it.
>
> \[distance]: The distance to move. Defaults to 1 if not specified.
>
> \[direction]: The direction of the operation [Direction Orientation / Coordinate System Coordinates](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.md#fang-xiang-orientation-zuo-biao-xi-tong-coordinates).&#x20;
>
> \[fill block]: The block used to fill gaps created by the move. Defaults to air if not specified.[ Blocks](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.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,

* Description: Stacks blocks in the selection.,
* Usage:`//stack [-as] [count] [direction]`.,

> \[-a]: means air. Ignore air blocks.\
> &#x20;\[-s]: means selection. Move the selection along with it. \
> \[count]: The number to stack. Defaults to 1 if not specified. \
> \[direction]: The direction of the operation [Direction Orientation / Coordinate System Coordinates](/btehkmu-zhi-nan-guide-book/guide-book-en/magic-wooden-axe-we/worldedit/basic-knowledge.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 %}
