mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 18:35:20 +02: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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user