Jump to content

[1.7.10]Looking for tutorials on structure generation.


Recommended Posts

Posted

I've been searching around for a tutorial on structure generation and can't seem to find anything. I can find people asking questions about it, but lacking all knowledge on the subject means I can't piece these together into something functional.

Posted

While you wait, hunt down the code in vanilla Minecraft that generates structures. I think it's somewhere in the chunk generation. Walk through it to see what it does. Along the way, take note of any calls to ForgeHooks methods. Designing your own structures and getting them to appear in your choice of biomes / villages etc will then be derived from a combination of extending vanilla classes, registering them somewhere, and writing some event handlers that subscribe to Forge events (be sure to have them listen to the right "bus").

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.