1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-21 17:20:31 +02:00

add support for custom spawn functions

This commit is contained in:
Niklp09
2023-04-12 17:00:18 +02:00
parent 15f62452b8
commit 252c2bd1d2
3 changed files with 45 additions and 23 deletions

View File

@ -255,8 +255,7 @@ abstract_bushes.grow_youngtree_node2 = function(pos, height)
end
end
--[[
biome_lib.register_on_generate({
pl.register_on_generate({
surface = {
"default:dirt_with_grass",
"stoneage:grass_with_silex",
@ -268,6 +267,7 @@ biome_lib.register_on_generate({
plantlife_limit = bushes_youngtrees_fertility,
min_elevation = 1, -- above sea level
},
"bushes:youngtrees",
nil,
abstract_bushes.grow_youngtree2
)
]]--