From 3338a3fddf7083a408afd64a4ae8c819e1044de2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 5 Aug 2021 00:57:22 +0100 Subject: [PATCH] Reference: Document new extension to //layers --- Chat-Command-Reference.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 6cf3013..cd8da59 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -43,15 +43,18 @@ Note also that columns without any air nodes in them at all are also skipped, so ## `//layers [] [ []] [ []] ...` Finds the first non-air node in each column and works downwards, replacing non-air nodes with a defined list of nodes in sequence. Like WorldEdit for Minecraft's `//naturalize` command, and also similar to [`we_env`'s `//populate`](https://github.com/sfan5/we_env). Speaking of, this command has `//naturalise` and `//naturalize` as aliases. Defaults to 1 layer of grass followed by 3 layers of dirt. +A maximum and minimum slope is optional, and constrains the columns in the defined region that `//layers` will operate on. For example, specifying a value of `20` would mean that only columns with a slop less than or equal to 20° (degrees, not radians) will be operated on. A value of `45..60` would mean that only columns with a slope between 45° and 60° will be operated on. + The list of nodes has a form similar to that of a chance list you might find in `//replacemix`, `//overlay`, or `//mix` - see the examples below. If the number of layers isn't specified, `1` is assumed (i.e. a single layer). -TODO UPDATE DOCS HERE ```weacmd //layers dirt_with_grass dirt 3 //layers sand 5 sandstone 4 desert_stone 2 //layers brick stone 3 //layers cobble 2 dirt +//layers 45..60 dirt_with_snow dirt 2 +//layers 30 snowblock dirt_with_snow dirt 2 ``` ## `//forest [] [] [] [ []] ...`