]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Docs: clarify spawn_by for decorations
authorZughy <63455151+Zughy@users.noreply.github.com>
Mon, 23 May 2022 20:49:48 +0000 (22:49 +0200)
committerGitHub <noreply@github.com>
Mon, 23 May 2022 20:49:48 +0000 (22:49 +0200)
doc/lua_api.txt

index f0a8f7c9b97db12a77b2fc475ce4f6ae950cc920..882c9c54c89a66c03a2dda7348610be35f0de49c 100644 (file)
@@ -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