Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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!

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.