]> git.lizzy.rs Git - worldedit.git/blobdiff - ChatCommands.md
Set static_save = false for marker entities
[worldedit.git] / ChatCommands.md
index 47a100f88f33e6bad87145e26ba4ae41c3b94e82..10668ce27b0e83d0161b850bdfd2146b58f5876a 100644 (file)
@@ -121,14 +121,16 @@ Set the current WorldEdit region to `<node>`.
 \r
 Set the param2 value of all nodes in the current WorldEdit region to `<param2>`.\r
 \r
-### `//mix <node1> ...`\r
+### `//mix <node1> [<count1>] <node2> [<count2>]...`\r
 \r
-Fill the current WorldEdit region with a random mix of `<node1>`, `...`.\r
+Fill the current WorldEdit region with a random mix of `<node1>`, `<node2>`, `...`. Weightings can be optionally specified via a number after a node name.\r
 \r
     //mix air\r
     //mix cactus stone glass sandstone\r
     //mix Bronze\r
     //mix default:cobble air\r
+    //mix stone 3 dirt 2\r
+    //mix cobblestone 8 stoneblock 2 stonebrick\r
 \r
 ### `//replace <search node> <replace node>`\r
 \r
@@ -283,13 +285,13 @@ Stack the current WorldEdit region `<count>` times by offset `<x>`, `<y>`, `<z>`
     //stack2 5 3 8 2\r
     //stack2 1 -1 -1 -1\r
 \r
-### `//scale <factor>`\r
+### `//stretch <stretchx> <stretchy> <stretchz>`\r
 \r
-Scale the current WorldEdit positions and region by a factor of positive integer `<factor>` with position 1 as the origin.\r
+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.\r
 \r
-    //scale 2\r
-    //scale 1\r
-    //scale 10\r
+    //stretch 2 2 2\r
+    //stretch 1 2 1\r
+    //stretch 10 20 1\r
 \r
 ### `//transpose x/y/z/? x/y/z/?`\r
 \r
@@ -339,6 +341,14 @@ Removes any fluid node within the current WorldEdit region.
 \r
     //drain\r
 \r
+### `//clearcut`\r
+\r
+Removes any plant, tree or foilage-like nodes in the selected region.\r
+The idea is to remove anything that isn't part of the terrain, leaving a "natural" empty space ready for building.\r
+\r
+    //clearcut\r
+\r
+\r
 ### `//hide`\r
 \r
 Hide all nodes in the current WorldEdit region non-destructively.\r
@@ -474,3 +484,12 @@ Note that this functionality requires the `worldedit_brush` mod enabled.
                //brush cube 8 8 8 Cobblestone\r
                //brush spr 12 glass\r
                //brush none\r
+\r
+### `//cubeapply <size> <command> [parameters]`\r
+\r
+Selects a cube with side length of `<size>` around the WorldEdit position 1 and runs the given `<command>` on the newly selected region.\r
+This is mostly useful for brushes since it allows commands such as `//replace` to be ran, but it can also be used standalone.\r
+\r
+               //cubeapply 10 replaceinverse air default:water_source\r
+               //brush cubeapply 15 drain\r
+               //brush cubeapply 1 deleteblocks\r