mirror of
				https://github.com/mt-mods/plantlife_modpack.git
				synced 2025-10-31 22:05:25 +01:00 
			
		
		
		
	sunflowers should avoid each other, too, when spawning
also, setting an avoid radius would be a good idea.
This commit is contained in:
		| @@ -495,14 +495,15 @@ plantslib:spawn_on_surfaces({ | ||||
| 	spawn_plants = {"flowers:sunflower"}, | ||||
| 	spawn_chance = SPAWN_CHANCE*2, | ||||
| 	spawn_surfaces = {"default:dirt_with_grass"}, | ||||
| 	avoid_nodes = {"group:flower"}, | ||||
| 	avoid_nodes = {"group:flower", "flowers:sunflower"}, | ||||
| 	seed_diff = flowers_seed_diff, | ||||
| 	light_min = 11, | ||||
| 	light_max = 14, | ||||
| 	min_elevation = 0, | ||||
| 	plantlife_limit = -0.9, | ||||
| 	temp_max = 0.53, | ||||
| 	random_facedir = {0,3} | ||||
| 	random_facedir = {0,3}, | ||||
| 	avoid_radius = 5 | ||||
| }) | ||||
|  | ||||
| -- crafting recipes! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user