mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Decoration: Add height_min and height_max parameters
Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes
This commit is contained in:
parent
c5faa64405
commit
863379a4c6
4 changed files with 20 additions and 11 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue