diff --git a/README.md b/README.md index f6742af..887d07c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ If you can dream of it, it probably belongs here! - [`//overlay [] [] [ []] ...`](#overlay-node_name_a-chance_a-node_name_b-chance_b-node_name_n-chance_n-) - [`//layers [ []] [ []] ...`](#layers-node_name_1-layer_count_1-node_name_2-layer_count_2-) - [`//convolve [[,]] []`](#convolve-kernel-widthheight-sigma) - - [`//erode [ [ []] [ []] ...]`](#) **experimental** + - [`//erode [ [ []] [ []] ...]`](#erode-snowballs-key_1-value_1-key_2-value_2-) **experimental** ### Statistics - [`//count`](#count) @@ -257,7 +257,7 @@ The sigma value is only applicable to the `gaussian` kernel, and can be thought //convolve gaussian 5 0.2 ``` -## `//erode [ [ []] [ []] ...]` +## `//erode [ [ []] [ []] ...]` Runs an erosion algorithm over the defined region, optionally passing a number of key - value pairs representing parameters that are passed to the chosen algorithm. This command is **experimental**, as the author is currently on-the-fence about the effects it produces. Currently implemented algorithms: diff --git a/worldeditadditions_commands/commands/erode.lua b/worldeditadditions_commands/commands/erode.lua index 927bd38..e5c4ad7 100644 --- a/worldeditadditions_commands/commands/erode.lua +++ b/worldeditadditions_commands/commands/erode.lua @@ -4,7 +4,7 @@ -- ██ ██ ██ ██ ██ ██ ██ ██ -- ███████ ██ ██ ██████ ██████ ███████ worldedit.register_command("erode", { - params = "[ [ []] [ []] ...]", + params = "[ [ []] [ []] ...]", description = "**experimental** Runs the specified erosion algorithm over the given defined region. This may occur in 2d or 3d. Currently implemented algorithms: snowballs (default;2d hydraulic-like). Also optionally takes an arbitrary set of key - value pairs representing parameters to pass to the algorithm. See the full documentation for details.", privs = { worldedit = true }, require_pos = 2,