Jump to content

Get structure position before generating (1.16.4)


Shte_Ken

Recommended Posts

Hello, I'm currently generating a structure in my mod and I was trying to make it generate at least 2000blocks away from the spawn point. I tried getting de pos of the spawn point and the structure to check if it's 2000blocks away. The problem is that since the Structure hasn't been generated yet It returns null. I was wondering if there's a way to get the Pos of the structure before it generates or set a radius in which the structure can't generate.

 

Here's my GitLab: https://gitlab.com/endrem/end-remastered

Edited by Shte_Ken
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.