4

Custom structure generation

Baroque Obama 12/15/20 3:51 am
154
12/18/2020 1:59 am
I've successfully created a data pack that adds a custom dimension with a fixed custom biome, and a working portal.

There is also a custom structure that generates in the biome. I've been able to make the custom structure generate naturally within the biome within the dimension, but I haven't been able to figure out a couple of things:

1) The structure generates far too rarely - I'd like to see it appear more frequently
2) The structure should generate with a negative y-offset, sunken into the ground by a few blocks, rather than being entirely above-ground


How can I control these two options? No matter how much online searching and YouTube watching I've done, I still can't figure these out.

Also, if anyone knows how to include a custom portal that doesn't involve using a resource pack or a second data pack at all, I'd love to hear from you!
Posted by
Baroque Obama
Level 67 : High Grandmaster Architect
175

  Have something to say?

JoinSign in

3

12/17/2020 5:42 am
This reply was removed by the poster or a moderator.
Baroque Obama
12/17/2020 10:45 am
Level 67 : High Grandmaster Architect
Yes, it's in an nbt file created by a structure block just like you said. I was referring to the cog structure in my then-unreleased Aes: Metal Dimension pack. The portals are made from iron & lava.

It seems that some of what I'm trying to figure out is likely in custom noise settings. Try as I might, I've been unable to get Minecraft to recognize Aes' existence when it has custom noise settings; other dimensions work fine with custom noise, and I'm assuming that the tf_portals inclusion interferes somehow.
2
12/17/2020 1:53 pm
This reply was removed by the poster or a moderator.
Baroque Obama
12/17/2020 4:33 pm
Level 67 : High Grandmaster Architect
Not at all, I appreciate any help I can get. I don't quite understand all of it, but I'm willing to take a crack at it.

That being said, the goal is to have the cog structure naturally generate with chunks as one explores the dimension. This is exactly what already happens, but they spawn too high in the y. If I understand right, it sounds like your solution may change that - I don't want players to need to use commands to make cogs generate, and I don't want there to be structure or redstone blocks that also spawn with the cog; perhaps my lack of knowledge is causing me to miss something!

I'm not asking for a tutorial haha, but to clarify, would your proposed solution result in what I'm going for?
2
12/18/2020 1:44 am
This reply was removed by the poster or a moderator.
Baroque Obama
12/18/2020 1:59 am
Level 67 : High Grandmaster Architect
I really appreciate that! I'd never ask someone to invest that kind of time, so it means a lot.
2

Welcome