mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Docs: clarify spawn_by for decorations
This commit is contained in:
parent
fa682270a9
commit
c660218e43
@ -8560,9 +8560,8 @@ See [Decoration types]. Used by `minetest.register_decoration`.
|
|||||||
|
|
||||||
spawn_by = "default:water",
|
spawn_by = "default:water",
|
||||||
-- Node (or list of nodes) that the decoration only spawns next to.
|
-- Node (or list of nodes) that the decoration only spawns next to.
|
||||||
-- Checks two horizontal planes of 8 neighbouring nodes (including
|
-- Checks the 8 neighbouring nodes on the same Y, and also the ones
|
||||||
-- diagonal neighbours), one plane level with the 'place_on' node and a
|
-- at Y+1, excluding both center nodes.
|
||||||
-- plane one node above that.
|
|
||||||
|
|
||||||
num_spawn_by = 1,
|
num_spawn_by = 1,
|
||||||
-- Number of spawn_by nodes that must be surrounding the decoration
|
-- Number of spawn_by nodes that must be surrounding the decoration
|
||||||
|
Loading…
Reference in New Issue
Block a user