2012-10-01 22:19:09 +02:00
Chat Commands
-------------
For more information, see the [README ](README.md ).
2014-10-25 07:53:20 +02:00
Many commands also have shorter names that can be typed faster. For example, if we wanted to use `//move ? 5` , we could instead type `//m ? 5` . All shortened names are listed below:
| Short Name | Original Name |
|:-----------|:-------------------|
| `//i` | `//inspect` |
| `//rst` | `//reset` |
| `//mk` | `//mark` |
| `//umk` | `//unmark` |
| `//1` | `//pos1` |
| `//2` | `//pos2` |
| `//fp` | `//fixedpos` |
| `//v` | `//volume` |
| `//s` | `//set` |
| `//r` | `//replace` |
| `//ri` | `//replaceinverse` |
2017-08-31 19:07:51 +02:00
| `//hcube` | `//hollowcube` |
2014-10-25 07:53:20 +02:00
| `//hspr` | `//hollowsphere` |
| `//spr` | `//sphere` |
| `//hdo` | `//hollowdome` |
| `//do` | `//dome` |
| `//hcyl` | `//hollowcylinder` |
2015-09-13 11:31:47 +02:00
| `//cyl` | `//cylinder` |
| `//hpyr` | `//hollowpyramid` |
| `//pyr` | `//pyramid` |
2014-10-25 07:53:20 +02:00
### `//about`
2013-08-29 02:28:49 +02:00
Get information about the mod.
2014-10-25 07:53:20 +02:00
//about
2013-08-29 02:28:49 +02:00
2014-10-25 07:53:20 +02:00
### `//inspect on/off/1/0/true/false/yes/no/enable/disable/<blank>`
2013-07-21 23:16:29 +02:00
Enable or disable node inspection.
2014-10-25 07:53:20 +02:00
//inspect on
//inspect off
//inspect 1
//inspect 0
//inspect true
//inspect false
//inspect yes
//inspect no
//inspect enable
//inspect disable
//inspect
2013-07-21 23:16:29 +02:00
2014-10-25 07:53:20 +02:00
### `//reset`
2012-10-01 22:19:09 +02:00
Reset the region so that it is empty.
2014-10-25 07:53:20 +02:00
//reset
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//mark`
2012-10-01 22:19:09 +02:00
Show markers at the region positions.
2014-10-25 07:53:20 +02:00
//mark
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//unmark`
2013-05-15 23:03:26 +02:00
Hide markers if currently shown.
2014-10-25 07:53:20 +02:00
//unmark
2013-05-15 23:03:26 +02:00
2014-10-25 07:53:20 +02:00
### `//pos1`
2012-10-01 22:19:09 +02:00
Set WorldEdit region position 1 to the player's location.
2014-10-25 07:53:20 +02:00
//pos1
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//pos2`
2012-10-01 22:19:09 +02:00
Set WorldEdit region position 2 to the player's location.
2014-10-25 07:53:20 +02:00
//pos2
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//p set/set1/set2/get`
2012-10-01 22:19:09 +02:00
2012-10-19 03:28:58 +02:00
Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//p set
//p set1
//p set2
//p get
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//fixedpos set1 x y z`
2013-07-28 23:07:47 +02:00
2014-01-28 20:14:36 +01:00
Set a WorldEdit region position to the position at (`< x > `, `<y>` , `<z>` ).
2013-07-28 23:07:47 +02:00
2014-10-25 07:53:20 +02:00
//fixedpos set1 0 0 0
//fixedpos set1 -30 5 28
//fixedpos set2 1004 -200 432
2013-07-28 23:07:47 +02:00
2014-10-25 07:53:20 +02:00
### `//volume`
2012-10-01 22:19:09 +02:00
Display the volume of the current WorldEdit region.
2014-10-25 07:53:20 +02:00
//volume
2012-10-01 22:19:09 +02:00
2015-02-08 01:38:05 +01:00
### `//deleteblocks`
2015-12-18 23:33:29 +01:00
Delete the MapBlocks (16x16x16 units) that contain the selected region. This means that mapgen will be invoked for that area. As only whole MapBlocks get removed, the deleted area is usually larger than the selected one. Also, mapgen can trigger mechanisms like mud reflow or cavegen, which affects nodes (up to 112 nodes away) outside the MapBlock, so dont use this near buildings. Note that active entities are not part of a MapBlock and do not get deleted.
2015-02-08 01:38:05 +01:00
//deleteblocks
2014-10-25 07:53:20 +02:00
### `//set <node>`
2012-10-01 22:19:09 +02:00
2014-07-18 21:51:09 +02:00
Set the current WorldEdit region to `<node>` .
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//set air
//set cactus
//set Blue Lightstone
//set dirt with grass
2014-07-18 21:51:09 +02:00
2017-09-05 14:40:46 +02:00
### `//param2 <param2>`
Set the param2 value of all nodes in the current WorldEdit region to `<param2>` .
2018-10-12 22:06:01 +02:00
### `//mix <node1> [<count1>] <node2> [<count2>]...`
2014-07-18 21:51:09 +02:00
2018-10-12 22:06:01 +02:00
Fill the current WorldEdit region with a random mix of `<node1>` , `<node2>` , `...` . Weightings can be optionally specified via a number after a node name.
2014-07-18 21:51:09 +02:00
2014-10-25 07:53:20 +02:00
//mix air
//mix cactus stone glass sandstone
//mix Bronze
//mix default:cobble air
2018-10-12 22:06:01 +02:00
//mix stone 3 dirt 2
//mix cobblestone 8 stoneblock 2 stonebrick
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//replace <search node> <replace node>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Replace all instances of `<search node>` with `<replace node>` in the current WorldEdit region.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//replace Cobblestone air
//replace lightstone_blue glass
//replace dirt Bronze Block
//replace mesecons:wire_00000000_off flowers:flower_tulip
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//replaceinverse <search node> <replace node>`
2013-01-13 00:29:57 +01:00
2014-01-28 20:14:36 +01:00
Replace all nodes other than `<search node>` with `<replace node>` in the current WorldEdit region.
2013-01-13 00:29:57 +01:00
2014-10-25 07:53:20 +02:00
//replaceinverse Cobblestone air
//replaceinverse flowers:flower_waterlily glass
//replaceinverse dirt Bronze Block
//replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
2013-01-13 00:29:57 +01:00
2017-08-31 19:07:51 +02:00
### `//hollowcube <width> <height> <length> <node>`
Adds a hollow cube with its ground level centered at WorldEdit position 1 with dimensions `<width>` x `<height>` x `<length>` , composed of `<node>` .
//hollowcube 6 5 6 Diamond Block
### `//cube <width> <height> <length> <node>`
Adds a cube with its ground level centered at WorldEdit position 1 with dimensions `<width>` x `<height>` x `<length>` , composed of `<node>` .
//cube 6 5 6 Diamond Block
//cube 7 2 1 default:cobble
2014-10-25 07:53:20 +02:00
### `//hollowsphere <radius> <node>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Add hollow sphere centered at WorldEdit position 1 with radius `<radius>` , composed of `<node>` .
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//hollowsphere 5 Diamond Block
//hollowsphere 12 glass
//hollowsphere 17 mesecons:wire_00000000_off
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//sphere <radius> <node>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Add sphere centered at WorldEdit position 1 with radius `<radius>` , composed of `<node>` .
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//sphere 5 Diamond Block
//sphere 12 glass
//sphere 17 mesecons:wire_00000000_off
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//hollowdome <radius> <node>`
2013-04-28 00:28:20 +02:00
2014-01-28 20:14:36 +01:00
Add hollow dome centered at WorldEdit position 1 with radius `<radius>` , composed of `<node>` .
2013-04-28 00:28:20 +02:00
2014-10-25 07:53:20 +02:00
//hollowdome 5 Diamond Block
//hollowdome -12 glass
//hollowdome 17 mesecons:wire_00000000_off
2013-04-28 00:28:20 +02:00
2014-10-25 07:53:20 +02:00
### `//dome <radius> <node>`
2013-04-28 00:28:20 +02:00
2014-01-28 20:14:36 +01:00
Add dome centered at WorldEdit position 1 with radius `<radius>` , composed of `<node>` .
2013-04-28 00:28:20 +02:00
2014-10-25 07:53:20 +02:00
//dome 5 Diamond Block
//dome -12 glass
//dome 17 mesecons:wire_00000000_off
2013-04-28 00:28:20 +02:00
2012-10-19 03:10:30 +02:00
### `//hollowcylinder x/y/z/? <length> <radius1> [radius2] <node>`
2012-10-01 22:19:09 +02:00
2012-10-19 03:10:30 +02:00
Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length `<length>` , base radius `<radius1>` (and top radius `[radius2]` ), composed of `<node>` .
Despite its name this command allows you to create cones (`radius2` = 0) as well as any shapes inbetween (0 < `radius2` < `radius1` ).
Swapping `radius1` and `radius2` will create the same object but upside-down.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//hollowcylinder x +5 8 Bronze Block
//hollowcylinder y 28 10 glass
//hollowcylinder z -12 3 mesecons:wire_00000000_off
//hollowcylinder ? 2 4 default:stone
2012-10-01 22:19:09 +02:00
2012-10-19 03:10:30 +02:00
//hollowcylinder y 10 10 0 walls:cobble
//hollowcylinder x 6 0 5 Dirt
//hollowcylinder z 20 10 20 default:desert_stone
### `//cylinder x/y/z/? <length> <radius1> [radius2] <node>`
2012-10-01 22:19:09 +02:00
2012-10-19 03:10:30 +02:00
Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length `<length>` , base radius `<radius1>` (and top radius `[radius2]` ), composed of `<node>` .
Can also create shapes other than cylinders, e.g. cones (see documentation above).
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//cylinder x +5 8 Bronze Block
//cylinder y 28 10 glass
//cylinder z -12 3 mesecons:wire_00000000_off
//cylinder ? 2 4 default:stone
2012-10-19 03:10:30 +02:00
//cylinder y 10 10 0 walls:cobble
//cylinder x 6 0 5 Dirt
//cylinder z 20 10 20 default:desert_stone
2012-10-01 22:19:09 +02:00
2015-09-13 11:31:47 +02:00
### `//hollowpyramid x/y/z? <height> <node>`
Add hollow pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height `<height>` , composed of `<node>` .
//hollowpyramid x 8 Diamond Block
//hollowpyramid y -5 glass
//hollowpyramid z 2 mesecons:wire_00000000_off
//hollowpyramid ? 12 mesecons:wire_00000000_off
2014-10-25 07:53:20 +02:00
### `//pyramid x/y/z? <height> <node>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height `<height>` , composed of `<node>` .
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//pyramid x 8 Diamond Block
//pyramid y -5 glass
//pyramid z 2 mesecons:wire_00000000_off
//pyramid ? 12 mesecons:wire_00000000_off
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//spiral <length> <height> <spacer> <node>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Add spiral centered at WorldEdit position 1 with side length `<length>` , height `<height>` , space between walls `<spacer>` , composed of `<node>` .
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//spiral 20 5 3 Diamond Block
//spiral 5 2 1 glass
//spiral 7 1 5 mesecons:wire_00000000_off
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//copy x/y/z/? <amount>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Copy the current WorldEdit region along the x/y/z/? axis by `<amount>` nodes.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//copy x 15
//copy y -7
//copy z +4
//copy ? 8
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//move x/y/z/? <amount>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Move the current WorldEdit positions and region along the x/y/z/? axis by `<amount>` nodes.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//move x 15
//move y -7
//move z +4
//move ? -1
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//stack x/y/z/? <count>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Stack the current WorldEdit region along the x/y/z/? axis `<count>` times.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//stack x 3
//stack y -1
//stack z +5
//stack ? 12
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//stack2 <count> <x> <y> <z>`
2014-07-07 01:42:02 +02:00
Stack the current WorldEdit region `<count>` times by offset `<x>` , `<y>` , `<z>` .
2014-10-25 07:53:20 +02:00
//stack2 5 3 8 2
//stack2 1 -1 -1 -1
2014-07-07 01:42:02 +02:00
2018-07-26 11:52:10 +02:00
### `//stretch <stretchx> <stretchy> <stretchz>`
2013-06-18 21:05:49 +02:00
2018-07-26 11:52:10 +02:00
Scale the current WorldEdit positions and region by a factor of `<stretchx>` , `<stretchy>` , `<stretchz>` along the X, Y, and Z axes, repectively, with position 1 as the origin.
2013-06-18 21:05:49 +02:00
2018-11-15 20:48:20 +01:00
//stretch 2 2 2
//stretch 1 2 1
//stretch 10 20 1
2013-06-18 21:05:49 +02:00
2014-10-25 07:53:20 +02:00
### `//transpose x/y/z/? x/y/z/?`
2012-10-01 22:19:09 +02:00
2012-12-12 23:17:56 +01:00
Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z/? axes.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//transpose x y
//transpose x z
//transpose y z
//transpose ? y
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//flip x/y/z/?`
2012-10-01 22:19:09 +02:00
Flip the current WorldEdit region along the x/y/z/? axis.
2014-10-25 07:53:20 +02:00
//flip x
//flip y
//flip z
//flip ?
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//rotate x/y/z/? <angle>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle `<angle>` (90 degree increment).
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//rotate x 90
//rotate y 180
//rotate z 270
//rotate ? -90
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//orient <angle>`
2013-01-12 22:46:40 +01:00
2014-01-28 20:14:36 +01:00
Rotate oriented nodes in the current WorldEdit region around the Y axis by angle `<angle>` (90 degree increment)
2013-01-12 22:46:40 +01:00
2014-10-25 07:53:20 +02:00
//orient 90
//orient 180
//orient 270
//orient -90
2013-01-12 22:46:40 +01:00
2014-10-25 07:53:20 +02:00
### `//fixlight`
2012-10-01 22:19:09 +02:00
2013-01-12 22:02:23 +01:00
Fixes the lighting in the current WorldEdit region.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//fixlight
2012-10-01 22:19:09 +02:00
2016-03-23 22:09:55 +01:00
### `//drain`
Removes any fluid node within the current WorldEdit region.
//drain
2020-04-07 03:05:30 +02:00
### `//clearcut`
Removes any plant, tree or foilage-like nodes in the selected region.
The idea is to remove anything that isn't part of the terrain, leaving a "natural" empty space ready for building.
//clearcut
2014-10-25 07:53:20 +02:00
### `//hide`
2012-10-14 03:45:50 +02:00
Hide all nodes in the current WorldEdit region non-destructively.
2014-10-25 07:53:20 +02:00
//hide
2012-10-14 03:45:50 +02:00
2014-10-25 07:53:20 +02:00
### `//suppress <node>`
2012-10-14 03:45:50 +02:00
Suppress all < node > in the current WorldEdit region non-destructively.
2014-10-25 07:53:20 +02:00
//suppress Diamond Block
//suppress glass
//suppress mesecons:wire_00000000_off
2012-10-14 03:45:50 +02:00
2014-10-25 07:53:20 +02:00
### `//highlight <node>`
2012-10-14 03:45:50 +02:00
2012-10-21 23:49:43 +02:00
Highlight < node > in the current WorldEdit region by hiding everything else non-destructively.
2012-10-14 03:45:50 +02:00
2014-10-25 07:53:20 +02:00
//highlight Diamond Block
//highlight glass
//highlight mesecons:wire_00000000_off
2012-10-14 03:45:50 +02:00
2014-10-25 07:53:20 +02:00
### `//restore`
2012-10-14 03:45:50 +02:00
Restores nodes hidden with WorldEdit in the current WorldEdit region.
2014-10-25 07:53:20 +02:00
//restore
2012-10-14 03:45:50 +02:00
2014-10-25 07:53:20 +02:00
### `//save <file>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Save the current WorldEdit region to "(world folder)/schems/`< file > `.we".
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//save some random filename
//save huge_base
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//allocate <file>`
2012-10-21 23:49:43 +02:00
2014-01-28 20:14:36 +01:00
Set the region defined by nodes from "(world folder)/schems/`< file > `.we" as the current WorldEdit region.
2012-10-21 23:49:43 +02:00
2014-10-25 07:53:20 +02:00
//allocate some random filename
//allocate huge_base
2012-10-21 23:49:43 +02:00
2014-10-25 07:53:20 +02:00
### `//load <file>`
2012-10-01 22:19:09 +02:00
2014-01-28 20:14:36 +01:00
Load nodes from "(world folder)/schems/`< file > `.we" with position 1 of the current WorldEdit region as the origin.
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
//load some random filename
//load huge_base
2012-10-01 22:19:09 +02:00
2014-10-25 07:53:20 +02:00
### `//lua <code>`
2013-01-13 00:20:41 +01:00
2014-01-28 20:14:36 +01:00
Executes `<code>` as a Lua chunk in the global namespace.
2013-01-13 00:20:41 +01:00
2014-10-25 07:53:20 +02:00
//lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}
//lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
2013-01-13 00:20:41 +01:00
2014-10-25 07:53:20 +02:00
### `//luatransform <code>`
2013-01-13 00:20:41 +01:00
2014-01-28 20:14:36 +01:00
Executes `<code>` as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.
2013-01-13 00:20:41 +01:00
2014-10-25 07:53:20 +02:00
//luatransform minetest.add_node(pos, {name="default:stone"})
//luatransform if minetest.get_node(pos).name == "air" then minetest.add_node(pos, {name="default:water_source"})
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
### `//mtschemcreate <file>`
2013-06-22 08:24:54 +02:00
2014-01-28 20:14:36 +01:00
Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/`< file > `.mts".
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
//mtschemcreate some random filename
//mtschemcreate huge_base
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
### `//mtschemplace <file>`
2013-06-22 08:24:54 +02:00
2014-01-28 20:14:36 +01:00
Load nodes from "(world folder)/schems/`< file > `.mts" with position 1 of the current WorldEdit region as the origin.
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
//mtschemplace some random filename
//mtschemplace huge_base
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
### `//mtschemprob start/finish/get`
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
After using `//mtschemprob start` all nodes punched will bring up a text field where a probablity can be entered.
This mode can be left with `//mtschemprob finish` . `//mtschemprob get` will display the probabilities saved for the nodes.
2013-06-22 08:24:54 +02:00
2014-10-25 07:53:20 +02:00
//mtschemprob get
2013-07-29 18:43:24 +02:00
2014-10-25 07:53:20 +02:00
### `//clearobjects`
2013-07-29 18:43:24 +02:00
Clears all objects within the WorldEdit region.
2014-10-25 07:53:20 +02:00
//clearobjects
2015-02-19 00:27:32 +01:00
### `//shift x/y/z/?/up/down/left/right/front/back [+|-]<amount>`
2015-02-19 21:01:45 +01:00
Shifts the selection area by `[+|-]<amount>` without touching its contents. The shifting axis can be absolute (`x/y/z`) or
relative (`up/down/left/right/front/back`).
2015-02-19 00:27:32 +01:00
//shift left 5
### `//expand [+|-]x/y/z/?/up/down/left/right/front/back <amount> [reverse-amount]`
2015-02-19 21:01:45 +01:00
Expands the selection by `<amount>` in the selected absolute or relative axis. If specified, the selection can be expanded in the
opposite direction over the same axis by `[reverse-amount]` .
2015-02-19 00:27:32 +01:00
//expand right 7 5
### `//contract [+|-]x/y/z/?/up/down/left/right/front/back <amount> [reverse-amount]`
2015-02-19 21:01:45 +01:00
Contracts the selection by `<amount>` in the selected absolute or relative axis. If specified, the selection can be contracted in the
opposite direction over the same axis by `[reverse-amount]` .
2015-02-19 00:27:32 +01:00
//expand right 7 5
2015-02-21 20:07:14 +01:00
### `//outset [hv] <amount>`
2015-02-19 00:27:32 +01:00
2015-02-19 21:01:45 +01:00
Expands the selection in all directions by `<amount>` . If specified, the selection can be expanded horizontally in the x and z axes `[h]`
or vertically in the y axis `[v]` .
2015-02-19 00:27:32 +01:00
//outset v 5
2015-02-21 20:07:14 +01:00
### `//inset [hv] <amount>`
2015-02-19 00:27:32 +01:00
2015-02-19 21:01:45 +01:00
Contracts the selection in all directions by `<amount>` . If specified, the selection can be contracted horizontally in the x and z axes `[h]`
or vertically in the y axis `[v]` .
2015-02-19 00:27:32 +01:00
2012-10-19 03:10:30 +02:00
//outset v 5
2017-09-17 23:47:29 +02:00
### `//brush none/<command> [parameters]`
Assigns the given `<command>` to the currently held brush item, it will be ran with the first pointed solid node (as determined via raycast) as
WorldEdit position 1 when using that specific brush item.
Passing `none` instead clears the command assigned to the currently held brush item.
Note that this functionality requires the `worldedit_brush` mod enabled.
//brush cube 8 8 8 Cobblestone
//brush spr 12 glass
//brush none
2020-04-06 23:32:11 +02:00
2020-04-26 16:01:07 +02:00
### `//cubeapply <size>/(<sizex> <sizey> <sizez>) <command> [parameters]`
2020-04-06 23:32:11 +02:00
Selects a cube with side length of `<size>` around the WorldEdit position 1 and runs the given `<command>` on the newly selected region.
2020-04-26 16:01:07 +02:00
If `<sizex>` , `<sizey>` and `<sizez>` are given, they instead specify the length of the cuboid in X, Y, Z direction.
2020-04-06 23:32:11 +02:00
This is mostly useful for brushes since it allows commands such as `//replace` to be ran, but it can also be used standalone.
//cubeapply 10 replaceinverse air default:water_source
//brush cubeapply 15 drain
2020-04-26 16:01:07 +02:00
//brush cubeapply 12 3 12 drain
2020-04-06 23:32:11 +02:00
//brush cubeapply 1 deleteblocks