Jump to content

Making sure a Structure always generates in the Overworld 1.19.X/1.20.X


Povstalec

Recommended Posts

Alright, so I have a Structure which generates exactly once per dimension (my custom modded Dimensions + Overworld) by having it always generate at the same coordinates. This structure is central to my mod, which is why I always need it to generate. The problem starts when my mod is used along with another mod that adds new biomes to the Overworld. Since those biomes may not always be listed within Forge/Vanilla tags I use to check whether my structure can generate or not, my structure sometimes does not generate.

My initial idea was overriding the code that allows the structure to generate if the biome is valid and adding an OR option for when the Dimension is Overworld. However, when looking through the related Structure code, I've been unable to find any way to check what Dimension the Structure may be generating in.

And so I would like to ask here. Is there anything I've missed or are there perhaps some other ways to make sure my Structure always generates?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.