From 863379a4c68b9862ea6913c1b1e475d022aba100 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 28 Dec 2014 22:37:27 -0500 Subject: Decoration: Add height_min and height_max parameters Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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", -- cgit v1.2.3