mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-29 10:23:00 +00:00
Doc update
This commit is contained in:
parent
61bfab240a
commit
41443f058e
2 changed files with 49 additions and 17 deletions
|
@ -1262,19 +1262,36 @@ This also synchronises with WorldEdit, as all other WorldEditAdditions commands
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### `//scol [<axis1> ] <length>`
|
### `//scol [<axis1> ] <length> {REMOVED (v1.15)}`
|
||||||
#### === DEPRECATED ===
|
Short for _select column_. Sets the pos2 at a set distance along 1 axis from pos1. If the axis isn't specified, defaults the direction you are facing. Implementation thanks to @VorTechnix.
|
||||||
Please use `//srel` instead.
|
|
||||||
|
```weacmd
|
||||||
|
**REMOVED** in favour of `//srel`
|
||||||
|
//scol 10
|
||||||
|
//scol x 3
|
||||||
|
```
|
||||||
|
|
||||||
|
### `//srect [<axis1> [<axis2>]] <length> {REMOVED (v1.15)}`
|
||||||
|
Short for _select rectangle_. Sets the pos2 at a set distance along 2 axes from pos1. If the axes aren't specified, defaults to positive y and the direction you are facing. Implementation thanks to @VorTechnix.
|
||||||
|
|
||||||
|
```weacmd
|
||||||
|
**REMOVED** in favour of `//srel`
|
||||||
|
//srect x z 10
|
||||||
|
//srect 3
|
||||||
|
//srect -z y 25
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### `//srect [<axis1> [<axis2>]] <length>`
|
### `//scube [<axis1> [<axis2> [<axis3>]]] <length> {REMOVED (v1.15)}`
|
||||||
#### === DEPRECATED ===
|
Short for _select cube_. Sets the pos2 at a set distance along 3 axes from pos1. If the axes aren't specified, defaults to positive y, the direction you are facing and the axis to the left of facing. Implementation thanks to @VorTechnix.
|
||||||
Please use `//srel` instead.
|
|
||||||
|
|
||||||
|
```weacmd
|
||||||
### `//scube [<axis1> [<axis2> [<axis3>]]] <length>`
|
**REMOVED** in favour of `//srel`
|
||||||
#### === DEPRECATED ===
|
//scube 5
|
||||||
Please use `//srel` instead.
|
//scube z a y 12
|
||||||
|
//scube x z 3
|
||||||
|
//scube -z 12
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### `//scloud <0-6|stop|reset>`
|
### `//scloud <0-6|stop|reset>`
|
||||||
|
@ -1385,9 +1402,24 @@ Name | Description
|
||||||
`<base>`: If `<operation>` == odd or even | Does nothing
|
`<base>`: If `<operation>` == odd or even | Does nothing
|
||||||
`<base>`: If `<operation>` == equal | Overrides `<mode>` and sets all `<target>` axes equal to itself
|
`<base>`: If `<operation>` == equal | Overrides `<mode>` and sets all `<target>` axes equal to itself
|
||||||
|
|
||||||
### `//sfactor <mode:grow|shrink|average> <factor> [<target=xz>]`
|
### `//sfactor <mode:grow|shrink|average> <factor> [<target=xz>] {REMOVED (v1.15)}`
|
||||||
#### === Deprecated ===
|
Short for _selection factor_; alias: `//sfac`. Built specifically for use with `//maze`, this command sets targeted axes equal to the nearest multiple of `<factor>` based on the `<mode>`.
|
||||||
Use `//sgrow` and `//sshrink` instead.
|
|
||||||
|
Usage examples:
|
||||||
|
|
||||||
|
```weacmd
|
||||||
|
**REMOVED** in favour of `//sgrow` and `//sshrink`
|
||||||
|
//sfac grow 5
|
||||||
|
//sfac avg 3 xy
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `<mode>`: grow|shrink|average
|
||||||
|
|
||||||
|
Value | Description
|
||||||
|
--------|--------------
|
||||||
|
`grow` | Rounds the length of each target axis up to the nearest multiple of `<factor>`
|
||||||
|
`shrink` | Rounds the length of each target axis down to the nearest multiple of `<factor>`
|
||||||
|
`average`/`avg` | Takes the average of all axes specified in `<target>` and then for each specified axis grows or shrinks it, depending on whether it is less than or greater than the average, to the nearest multiple of `<factor>`
|
||||||
|
|
||||||
### `//sstack`
|
### `//sstack`
|
||||||
Displays the contents of your per-user selection stack. This stack can be pushed to and popped from rather like a stack of plates. See also `//spush` (for pushing to the selection stack) and `//spop` (for popping from the selection stack).
|
Displays the contents of your per-user selection stack. This stack can be pushed to and popped from rather like a stack of plates. See also `//spush` (for pushing to the selection stack) and `//spop` (for popping from the selection stack).
|
||||||
|
|
|
@ -76,9 +76,9 @@ The detailed explanations have moved! Check them out [here](https://worldeditadd
|
||||||
- [`//uasparse <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#uasparse) _(new in v1.15)_
|
- [`//uasparse <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#uasparse) _(new in v1.15)_
|
||||||
|
|
||||||
### Selection
|
### Selection
|
||||||
- [~~`//scol`~~ DEPRECATED](https://worldeditadditions.mooncarrot.space/Reference/#scol)
|
- [~~`//scol [<axis1> ] <length>`~~](https://worldeditadditions.mooncarrot.space/Reference/#scol) (REMOVED in v1.15)
|
||||||
- [~~`//srect`~~ DEPRECATED](https://worldeditadditions.mooncarrot.space/Reference/#srect)
|
- [~~`//srect [<axis1> [<axis2>]] <length>`~~](https://worldeditadditions.mooncarrot.space/Reference/#srect) (REMOVED in v1.15)
|
||||||
- [~~`//scube`~~ DEPRECATED](https://worldeditadditions.mooncarrot.space/Reference/#scube)
|
- [~~`//scube [<axis1> [<axis2> [<axis3>]]] <length>`~~](https://worldeditadditions.mooncarrot.space/Reference/#scube) (REMOVED in v1.15)
|
||||||
- [`//scloud <0-6|stop|reset>`](https://worldeditadditions.mooncarrot.space/Reference/#scloud)
|
- [`//scloud <0-6|stop|reset>`](https://worldeditadditions.mooncarrot.space/Reference/#scloud)
|
||||||
- [`//scentre`](https://worldeditadditions.mooncarrot.space/Reference/#scentre)
|
- [`//scentre`](https://worldeditadditions.mooncarrot.space/Reference/#scentre)
|
||||||
- [`//sgrow <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#sgrow) _(new in v1.15)_
|
- [`//sgrow <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#sgrow) _(new in v1.15)_
|
||||||
|
@ -89,7 +89,7 @@ The detailed explanations have moved! Check them out [here](https://worldeditadd
|
||||||
- [`//spush`](https://worldeditadditions.mooncarrot.space/Reference/#spush)
|
- [`//spush`](https://worldeditadditions.mooncarrot.space/Reference/#spush)
|
||||||
- [`//spop`](https://worldeditadditions.mooncarrot.space/Reference/#spop)
|
- [`//spop`](https://worldeditadditions.mooncarrot.space/Reference/#spop)
|
||||||
- [`//sshift <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#sshift)
|
- [`//sshift <unified axis syntax>`](https://worldeditadditions.mooncarrot.space/Reference/#sshift)
|
||||||
- [~~`//sfactor`~~ DEPRECATED](https://worldeditadditions.mooncarrot.space/Reference/#sfactor)
|
- [~~`//sfactor <mode:grow|shrink|average> <factor> [<target=xz>]`~~](https://worldeditadditions.mooncarrot.space/Reference/#sfactor) (REMOVED in v1.15)
|
||||||
- [`//pos <index>`](https://worldeditadditions.mooncarrot.space/Reference/#pos)
|
- [`//pos <index>`](https://worldeditadditions.mooncarrot.space/Reference/#pos)
|
||||||
- [`//pos1`](https://worldeditadditions.mooncarrot.space/Reference/#pos1)
|
- [`//pos1`](https://worldeditadditions.mooncarrot.space/Reference/#pos1)
|
||||||
- [`//pos2`](https://worldeditadditions.mooncarrot.space/Reference/#pos2)
|
- [`//pos2`](https://worldeditadditions.mooncarrot.space/Reference/#pos2)
|
||||||
|
|
Loading…
Reference in a new issue