User Tools

Site Tools


minecraft:mod:my-mods:bunyedit:argument-types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
minecraft:mod:my-mods:bunyedit:argument-types [2024/02/23 20:51] – Specify default magnitude for `grow`. raccoonminecraft:mod:my-mods:bunyedit:argument-types [2024/02/24 04:45] (current) raccoon
Line 96: Line 96:
 ''^'' specifies the direction the player is looking in. ''^'' specifies the direction the player is looking in.
  
-===== grow =====+===== bound =====
 <code> <code>
 <component>[,<component>...] <component>[,<component>...]
  
-component: <growDirection>[magnitude=1]+component: <boundDirection>[<boundDirection>...][magnitude=0]
  
-growDirection: N|E|S|W|U|D|F|B|L|R|*+boundDirection: N|E|S|W|U|D|F|B|L|R|*
  
 magnitude: <int> magnitude: <int>
 </code> </code>
 +//note: this section documents the way bound arguments will work in 0.5.0. in 0.4.x the default magnitude is 1, and each component can only specify one ''boundDirection''.//
  
-represents the direction(s) along which to grow/shrink a selection.+represents a relative selection that is bigger/smaller than the existing selection in the given directions.
  
-direction can be specified absolutely, or relative to the direction the player is facing ((F)ront, (B)ack, (L)eft, (R)ight).+direction can be specified absolutely, or relative to the direction the player is facing ((F)orward, (B)ackward, (L)eft, (R)ight).
  
 ''*'' is shorthand for "all directions". ''*'' is shorthand for "all directions".
  
 magnitude represents a number of blocks to grow by in that direction. a negative number can be specified to allow for shrinking. magnitude represents a number of blocks to grow by in that direction. a negative number can be specified to allow for shrinking.
 +
 +examples:
 +<code>
 +* : the same as the current selection.
 +FB1,LR2 : expanded by one block forward and backward, two blocks left and right
 +</code>
minecraft/mod/my-mods/bunyedit/argument-types.1708721484.txt.gz · Last modified: 2024/02/23 20:51 by raccoon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki