summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 7474c2bf4..1bfe0a0c2 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2758,6 +2758,10 @@ Decoration definition (register_decoration)
biomes = {"Oceanside", "Hills", "Plains"},
^ List of biomes in which this decoration occurs. Occurs in all biomes if this is omitted,
^ and ignored if the Mapgen being used does not support biomes.
+ height_min = -31000
+ height_max = 31000
+ ^ Minimum and maximum y positions these decorations can be generated at. This parameter refers to the
+ ^ y position of the decoration base, so the actual maximum height would be (height_max + size.Y).
----- Simple-type parameters
decoration = "default:grass",