From b6bee590978925c3432d429e514e69bdd00062fb Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 3 Jul 2021 13:15:29 +0100 Subject: [PATCH] Reference: Document //basename --- Chat-Command-Reference.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 3414858..05da530 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -495,6 +495,22 @@ Counts all the nodes in the defined region and returns the result along with cal //count ``` + +## `//basename ` +Returns the absolute canonical name of a node, given an alias or partial node name. For example: + +``` +//basename dirt +``` + +...will return `default:dirt`. Uses `worldedit.normalize_nodename(string)` under the hood. + +``` +//basename stonebrick +//basename glass +``` + + ## `//subdivide ` Splits the current WorldEdit region into `(, , )` sized chunks, and run `// ` over each chunk.