Commit 1137f46 1 parent f091de9 commit 1137f46 Copy full SHA for 1137f46
File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4317,9 +4317,12 @@ generated chunk by the current mapgen.
4317
4317
4318
4318
### `gennotify`
4319
4319
Returns a table mapping requested generation notification types to arrays of
4320
- positions at which the corresponding generated structures are located at within
4320
+ positions at which the corresponding generated structures are located within
4321
4321
the current chunk. To set the capture of positions of interest to be recorded
4322
4322
on generate, use `minetest.set_gen_notify()`.
4323
+ For decorations, the returned positions are the ground surface 'place_on' nodes,
4324
+ not the decorations themselves. A 'simple' type decoration is often 1 node above
4325
+ the returned position and possibly displaced by 'place_offset_y'.
4323
4326
4324
4327
Possible fields of the table returned are:
4325
4328
You can’t perform that action at this time.
0 commit comments