Jump to content

Recommended Posts

Posted

Hello!

I'm new to modding but have experience coding in Java. 

I'm spawning a large structure into the world using the structure and jigsaw blocks. My problem is that even if I add the structure to the NoiseEffectingFeatures list, the structure still really conflicts with the terrain. I'm not sure how to fix this since I haven't been able to find good documentation for the forge or minecraft packages. 

 

So I have two questions.

  1. Is there a way to smooth out the terrain before or after I generate the structure. Alternatively, is there a way to check and make sure there is a smooth bit of terrain of a certain size using the Structure class isFeatureChunk method (where I check if a chunk should generate the structure).
     
  2. Is there a good source of documentation for all the forge and minecraft classes?

 

If anyone could point me in the right direction that would be great!

Posted (edited)
1 hour ago, smithbro2115 said:

Is there a way to smooth out the terrain before or after I generate the structure. Alternatively, is there a way to check and make sure there is a smooth bit of terrain of a certain size using the Structure class isFeatureChunk method (where I check if a chunk should generate the structure).

i'm not sure but i don't think so, look at the village structure, it is also large but consists of several parts
either to divide your structure into several smaller ones (take the villager structure as an example for the generation),
or you create your own method that adapts the terrain to your structure

1 hour ago, smithbro2115 said:

Is there a good source of documentation for all the forge and minecraft classes?

unfortunately not, some methods have small notes, but most methods haven't.
if you are looking for information about something you can try the following:
Forge Community Wiki, the forge docs, the forge discord server  and the forum

Edited by Luis_ST
  • Thanks 1

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.