-
-
Save GreenXenith/d61bb7a37718ae4895dd0abb9f2d42a8 to your computer and use it in GitHub Desktop.
register_decoration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minetest.register_decoration({ | |
name = "seaweed:seaweed", | |
deco_type = "simple", | |
place_on = {"default:sand"}, | |
place_offset_y = -1, | |
sidelen = 16, | |
noise_params = { | |
offset = 1, | |
scale = 1, | |
spread = {x = 100, y = 100, z = 100}, | |
seed = 1337, | |
octaves = 3, | |
persist = 0.7 | |
}, | |
biomes = { | |
"taiga_ocean", | |
"snowy_grassland_ocean", | |
"grassland_ocean", | |
"coniferous_forest_ocean", | |
"deciduous_forest_ocean", | |
"sandstone_desert_ocean", | |
"cold_desert_ocean"}, | |
y_max = -5, | |
y_min = -10, | |
flags = "force_placement", | |
decoration = { | |
"seaweed:seaweed_1", | |
"seaweed:seaweed_2", | |
"seaweed:seaweed_3", | |
"seaweed:seaweed_4", | |
"seaweed:seaweed_5" | |
}, | |
param2 = 32, | |
param2_max = 32, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment