Updated Transforms (markdown)

Jesse Boyd 2017-05-09 10:46:57 +10:00
parent 5a8934fb17
commit 98c80e1eb7

@ -1,8 +1,21 @@
# Transforms
A transformation can be applied to a brush or globally to modify how changes are made.
A transformation can be applied to a brush or globally to modify where and how blocks are changed.
Related: http://wiki.sk89q.com/wiki/WorldEdit/Region_operations#Deforming_regions
See also: http://wiki.sk89q.com/wiki/WorldEdit/Region_operations#Deforming_regions
----
### Syntax
#### Multiple transforms
Use a comma (`,`) to randomly use a transform from a list e.g. `#offset[0][1][0],#pattern[wood]` (offset the block one up, OR change it to wood)
Use an ampersand (`&`) to use multiple transforms for each block e.g. `#offset[0][1][0]&#pattern[wood]` (offset the block one up AND change it to wood)
#### Arguments
Transform arguments should be inside square brackets e.g. `#offset[0][1][0]`
----
### Setting a transform
#### `//gtransform [transforms...]`
Perm: `worldedit.global-transform`
Desc: Set the global mask
@ -10,16 +23,4 @@ Desc: Set the global mask
Perm: `worldedit.brush.options.transform`
Desc: Set the brush mask (separate multiple masks by spaces ` ` or colons `:`)
#### Offset transform `#offset:<dx>:<dy>:<dz>`
Desc: Offsets block placement
#### Pattern transform `#pattern:<pattern>`
Desc: Any blocks changed will use the pattern instead
#### Scale transform `#scale:<x>:<y>:<z>`
Example: `#scale:2.0:2.0:2.0`
Description: All changes will be scaled up by 2 blocks in each axis
#### Rotate transform `#rotate:<y>:<x>:<z>`
Example: `#rotate:37.5:0:90`
Description: Rotate any changes
### [`>> See here for a list of transforms...`](https://github.com/boy0001/FastAsyncWorldedit/wiki/Commands#transform-commands-)