minecraft:mod:my-mods:bunyedit:argument-types
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| minecraft:mod:my-mods:bunyedit:argument-types [2024/02/21 02:13] – further explanation raccoon | minecraft:mod:my-mods:bunyedit:argument-types [2024/02/24 04:45] (current) – raccoon | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| < | < | ||
| < | < | ||
| + | |||
| + | id: (< | ||
| + | |||
| + | key: < | ||
| </ | </ | ||
| Line 23: | Line 27: | ||
| the special key " | the special key " | ||
| + | |||
| + | ===== pattern ===== | ||
| + | |||
| + | represents a transformation that can be applied to blocks. | ||
| + | |||
| + | there are currently two: | ||
| + | |||
| + | the '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | the '' | ||
| + | |||
| + | < | ||
| + | < | ||
| + | |||
| + | weighted-block: | ||
| + | </ | ||
| + | |||
| + | it randomly chooses one of the blocks to place. higher-weighted blocks are more likely. | ||
| + | |||
| + | example: | ||
| + | < | ||
| + | wool/ | ||
| + | </ | ||
| + | |||
| + | ===== filter ===== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | component: [!](< | ||
| + | |||
| + | filterblock: | ||
| + | |||
| + | fuzzy-id: (< | ||
| + | fuzzy-meta: (< | ||
| + | |||
| + | range: (< | ||
| + | fuzzy-key: < | ||
| + | </ | ||
| + | |||
| + | determines whether a block should be modified or not. | ||
| + | |||
| + | you can place a " | ||
| + | |||
| + | you can specify a (potentially unbounded) range instead of an int for ID and meta. | ||
| + | |||
| + | when you match a block by translation key, '' | ||
| ===== axis ===== | ===== axis ===== | ||
| Line 39: | Line 91: | ||
| represents a specific direction. | represents a specific direction. | ||
| + | |||
| + | a letter represents an absolute direction ((N)orth, (E)ast, (S)outh, (W)est, (U)p, (D)own). | ||
| '' | '' | ||
| + | |||
| + | ===== bound ===== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | component: < | ||
| + | |||
| + | boundDirection: | ||
| + | |||
| + | magnitude: <int> | ||
| + | </ | ||
| + | //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 '' | ||
| + | |||
| + | represents a relative selection that is bigger/ | ||
| + | |||
| + | direction can be specified absolutely, or relative to the direction the player is facing ((F)orward, (B)ackward, (L)eft, (R)ight). | ||
| + | |||
| + | '' | ||
| + | |||
| + | magnitude represents a number of blocks to grow by in that direction. a negative number can be specified to allow for shrinking. | ||
| + | |||
| + | examples: | ||
| + | < | ||
| + | * : the same as the current selection. | ||
| + | FB1,LR2 : expanded by one block forward and backward, two blocks left and right | ||
| + | </ | ||
minecraft/mod/my-mods/bunyedit/argument-types.1708481582.txt.gz · Last modified: 2024/02/21 02:13 by raccoon
