Skip to content

Commit

Permalink
Docs: clarify spawn_by for decorations
Browse files Browse the repository at this point in the history
  • Loading branch information
Zughy committed May 23, 2022
1 parent fa68227 commit c660218
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/lua_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8560,9 +8560,8 @@ See [Decoration types]. Used by `minetest.register_decoration`.

spawn_by = "default:water",
-- Node (or list of nodes) that the decoration only spawns next to.
-- Checks two horizontal planes of 8 neighbouring nodes (including
-- diagonal neighbours), one plane level with the 'place_on' node and a
-- plane one node above that.
-- Checks the 8 neighbouring nodes on the same Y, and also the ones
-- at Y+1, excluding both center nodes.

num_spawn_by = 1,
-- Number of spawn_by nodes that must be surrounding the decoration
Expand Down

0 comments on commit c660218

Please sign in to comment.