WorldEditAdditions for Minetest: GitHub backup mirror https://github.com/sbrl/Minetest-WorldEditAdditions
Find a file
2018-06-09 20:06:39 +01:00
worldeditadditions Add a hollowellipsoid command 2018-06-09 20:02:30 +01:00
worldeditadditions_commands Add a hollowellipsoid command 2018-06-09 20:02:30 +01:00
.gitignore Initial commit 2018-05-20 14:19:21 +01:00
LICENSE Initial commit 2018-05-20 14:19:21 +01:00
modpack.txt It doesn't have any syntax errors, so I guess there's only one way to find out if it actually works :P 2018-05-20 11:52:16 +01:00
README.md Document new commands 2018-06-09 20:06:39 +01:00

Minetest-WorldEditAdditions

Extra tools and commands to extend WorldEdit for Minetest

Current commands:

Quick Reference:

  • //floodfill [<replace_node> [<radius>]]
  • //overlay <node_name>
  • //ellipsoid <rx> <ry> <rz> <node_name>
  • //hollowellipsoid <rx> <ry> <rz> <node_name>

//floodfill [<replace_node> [<radius>]]

Floods all connected nodes of the same type starting at pos1 with <replace_node> (which defaults to water_source), in a sphere with a radius of (which defaults to 50).

//floodfill
//floodfill water_source 50
//floodfill glass 25

//overlay <node_name>

Places <replace_node> in the last contiguous air space encountered above the first non-air node. In other words, overlays all top-most nodes in the specified area with <replace_node>.

Will also work in caves, as it scans columns of nodes from top to bottom, skipping every non-air node until it finds one - and only then will it start searching for a node to place the target node on top of.

Note that all-air columns are skipped - so if you experience issues with it not overlaying correctly, try //expand down 1 to add an extra node's space to your defined region.

//overlay grass
//overlay glass
//overlay grass_with_dirt

//ellipsoid <rx> <ry> <rz> <node_name>

Creates a solid ellipsoid at position 1 with the radius (rx, ry, rz).

//ellipsoid 10 5 15 ice
//ellipsoid 3 5 10 dirt
//ellipsoid 20 10 40 air

//hollowellipsoid <rx> <ry> <rz> <node_name>

Creates a hollow ellipsoid at position 1 with the radius (rx, ry, rz). Works the same way as //ellipsoid does.

//hollowellipsoid 10 5 15 glass
//hollowellipsoid 21 11 41 stone