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

So, I have just started 1.12 modding, and immediately I notice the lack of tutorials, and after about 15-30 minutes of searching, I couldn't find a single thing about making structures, not in the forge docs, not on youtube, google, etc... so I decided to try and make a tread because of the lack of available knowledge. I am pretty sure I need to implement IWorldGenerator, but have no idea on the needed methods. Other mods that did this were outdated, not on github, or super complex, so that was all I could get. I would appreciate any help : )

Edited by Big_Bad_E
English Grammar stuff

Use Minecraft's Structure Blocks to save a structure to NBT, which you can then use in code to load the structure.

 

Create a new Template instance with the resource location of your structure.nbt file, and call Template#addBlocksToWorld to spawn the structure. You can do this in your WorldGenerator class.

Developer of Levels and Lost Eclipse

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.