1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-12 21:00:25 +02:00

New commands //hollowdome and //dome, as well as new API functions worldedit.dome and worldedit.hollow_dome. Oh, and spheres generate faster too.

This commit is contained in:
Anthony Zhang
2013-04-27 18:28:20 -04:00
parent 20722389bd
commit 71b6004b92
4 changed files with 135 additions and 7 deletions

View File

@ -92,6 +92,18 @@ Adds a sphere at `pos` with radius `radius`, composed of `nodename`.
Returns the number of nodes added.
### count = worldedit.hollow_dome(pos, radius, nodename)
Adds a hollow dome at `pos` with radius `radius`, composed of `nodename`.
Returns the number of nodes added.
### count = worldedit.dome(pos, radius, nodename)
Adds a dome at `pos` with radius `radius`, composed of `nodename`.
Returns the number of nodes added.
### count = worldedit.hollow_cylinder(pos, axis, length, radius, nodename)
Adds a hollow cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length `length` and radius `radius`, composed of `nodename`.