[SOLVED] Getting trees to generate

Post Reply
Icalasari
Member
Posts: 166
Joined: Tue Sep 23, 2014 05:29
IRC: Icalasari
In-game: Icalasari

[SOLVED] Getting trees to generate

by Icalasari » Post

This used to work. This used to work. The schematic works. The code works for underground

But no matter what I do, I can not get these to spawn on the surface

Code: Select all

minetest.register_decoration({
	name = "mindeca:tree_magnolia",
	deco_type = "schematic",
	place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
	sidelen = 16,
	fill_ratio = 0.04,
	biomes = {"deciduous_forest", "rainforest"},
	y_max = -10,
	y_min = 31000,
	schematic = "schematics/mindeca_tree_magnolia.mts",
	flags = "place_center_x, place_center_z, force_placement",
	rotation = "random",
})
I. Do. Not. Understand

I've made the fill ratio 10+
I've tried noise parameters
I've put force_placement and the floors flag
I've put grasslands in case it was somehow just getting overwritten
I've check the init.lua a million times to ensure it is calling this
I've included tree grow code in with it
I've checked all spelling so many times I could type it in my sleep

Nothing

Is

Working

I am about to have a mental breakdown over this

EDIT: OLD CODE WORKS BUT NOT THIS

I

What is going

What is wrong with this

EDIT: ...If

If it was that one typo this whole time

EDIT: ...I hate everything I had the max and min mixed up. That was over an hour. Over an hour

I

I need to lay down

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests