mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# Minetest-WorldEditAdditions
|
|
> Extra tools and commands to extend WorldEdit for Minetest
|
|
|
|
## Current commands:
|
|
|
|
### `//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 <radius> (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
|
|
```
|