Started by
Butterkat
on
Topic category: Help with Minecraft modding (Java Edition)
I have a custom structure, but it always ends up generating one block underneath the ground. I can't figure out how to get it to sit on top of the ground normally.
Structures have xyz coordinates, you can use them. If this doesn't work, you can use mcretor's own feature. There are many videos on YouTube about this.
I was having the same problem. My structures were all generating 1 block below the level of all the grass blocks, like they were in a shallow hole.
I don't know if there's a better solution but I found a workaround: I made an extra layer of blocks below my floor and I placed the structure block on the same level as that lower layer. I tried building the structure to save in a flat world; that probably doesn't make a difference. I tried to post a screenshot from Imgur and Google Drive but it's not working so here's a diagram:
the layer I want my floor to be □□□□□
the extra layer □□□□□■ the structure block
the ground in the flat world □□□□□
I set the relative position of the structure block to 0, 0, 0.
Then in MCreator, in the Structure element, I set it to ignore air blocks in addition to ignoring the structure block. That made my structure spawn in new chunks the way I wanted it to look, with the extra layer underground at the same y level as the surrounding grass blocks. There's probably a better way but this works for now!