Started by
Leoshortnose
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! So, I'm trying to add palm trees into my mod using structures and then spawning those through features, but it keeps on spawning either floating or buried a bit underground. I assume it's because of the fact that the structure block is the defined part where it'll place the tree and not directly under the trunk. I wanna know how to give a structure a center so that my trees don't float or get buried a bit by sand. It's really annoying me and I can't figure out what to do. Help.
use this block
the coords are the relative coordinates from the corner of your structure
Thank you!! ^^
Hi, I'm back. Uhhh, no, it didn't work :(( I don't know why exactly. They still sometimes float there or are dug in the sand. I think it's because some variants have their trunks in different places than others, but I'm not 100% sure. Could you help me with this?
Oh yeah you'd have to make separate features for each variant, and possibly rotation if the trunks aren't in the perfect center..
...separate features? T^T
Yeah separate mod elements
I tried the same thing I was doing before to spawn them (with random features) but this time with offsets on the structure things to put it in the centre... I have no idea how I didn't think of that. Also, I would've done separate mod elements, however I want these palm trees to spawn in another biome and be significantly more common, so I'd have to have 7 extra tree features, making that 14 in total. That's too much for me >.<