From 04e971e12d2683e6e813c12eecfb7becffd36e85 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 15 May 2022 15:27:43 +0100 Subject: [PATCH] Add //dome+ Improvements oveer //dome: - Allow customising the direction it points in - Allow multiple pointing directions at once to give the effect of creating multiple domes on top of each other in a single command (it's actually implemented as an implicit union, and doesn't actually call wea.dome more than once). --- CHANGELOG.md | 1 + Chat-Command-Reference.md | 14 +++ worldeditadditions/init.lua | 1 + worldeditadditions/lib/dome.lua | 72 +++++++++++++++ worldeditadditions_commands/commands/dome.lua | 90 +++++++++++++++++++ worldeditadditions_commands/init.lua | 1 + 6 files changed, 179 insertions(+) create mode 100644 worldeditadditions/lib/dome.lua create mode 100644 worldeditadditions_commands/commands/dome.lua diff --git a/CHANGELOG.md b/CHANGELOG.md index c157320..008b5cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Note to self: See the bottom of this file for the release template text. ## v1.14: The untitled update (unreleased) + - Add `//dome+`, which allows you to change the direction the dome is pointing in, and also create multiple domes at once - Migrate from `depends.txt` to `mod.conf` diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 519aff6..9db6e3d 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -172,6 +172,20 @@ Generates both square and circular spiral shapes with the given `` ``` +### `//dome+ [ ...]` +Creates a dome shape (i.e. a hemisphere; half a sphere) with a specified radius of the defined node, optionally specifying the direction it should be pointing in (defaults to the positive y direction). + +For example, `//dome+ 5 stone y` creates a dome shape pointing upwards, but `//dome+ 5 stone -y` creates a dome shape pointing downwards. + +Multiple pointing direction axes can be chained together to create multiple domes on top of each other. Multiple conflicting directions will cancel each other out. + +``` +//dome+ 5 stone y +//dome+ 10 diamond -x +//dome+ 25 cactus y z +//dome+ 9 dirt x y z +``` + ## Misc