How do I give structures a center when spawning?

Started by Leoshortnose on

Topic category: Help with Minecraft modding (Java Edition)

Last seen on 18:01, 25. Oct 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I give structures a center when spawning?

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.

Last seen on 19:18, 25. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use this block
Fri, 10/25/2024 - 18:41

use this block

Last seen on 19:18, 25. Oct 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the coords are the relative…
Fri, 10/25/2024 - 18:42

the coords are the relative coordinates from the corner of your structure