mirror of
				https://github.com/mt-mods/plantlife_modpack.git
				synced 2025-11-04 07:25:30 +01:00 
			
		
		
		
	support youngtrees
This commit is contained in:
		@@ -1,3 +1,3 @@
 | 
			
		||||
name = bushes
 | 
			
		||||
depends = default, biome_lib, plantlife_lib
 | 
			
		||||
depends = default, plantlife_lib
 | 
			
		||||
optional_depends = stoneage, sumpf
 | 
			
		||||
 
 | 
			
		||||
@@ -134,7 +134,7 @@ abstract_youngtrees.grow_youngtree_node = function(pos, height)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
biome_lib.register_on_generate({
 | 
			
		||||
pl.register_on_generate({
 | 
			
		||||
		surface = {
 | 
			
		||||
			"default:dirt_with_grass",
 | 
			
		||||
			"stoneage:grass_with_silex",
 | 
			
		||||
@@ -146,5 +146,7 @@ biome_lib.register_on_generate({
 | 
			
		||||
		plantlife_limit = youngtrees_youngtrees_fertility,
 | 
			
		||||
		min_elevation = 1, -- above sea level
 | 
			
		||||
	},
 | 
			
		||||
	"youngtrees:youngtrees",
 | 
			
		||||
	nil,
 | 
			
		||||
	abstract_youngtrees.grow_youngtree
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
name = youngtrees
 | 
			
		||||
depends =  default, biome_lib
 | 
			
		||||
depends =  default, plantlife_lib
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user