Like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_decoration({
deco_type = "function",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = -0.02,
scale = 0.03,
spread = {x=200, y=200, z=200},
seed = 19822,
octaves = 3,
persist = 0.6
},
biomes = {"grassland"},
y_min = 6,
y_max = 31000,
decoration = function(pos)
default.grow_tree(pos)
end
})
When you use schematics every tree looks like the other!
EDIT:
I need this for trees!

