Jump to content

Recommended Posts

Posted

I create a Multiblock following the tutorial: http://www.minecraftforge.net/wiki/Metadata_Based_Subblocks

 

But I'm having problems to add the Worldgen for this blocks, I can't find a way to generate only the subBlocks for metadata 5 and 6.

 

Here is my worldgen class: http://pastebin.com/zZj5cmfk

 

I added the following line just to avoid errors:

 

                Block subBlock = BlacksmithMod.ores;

 

Regards,

Posted

Okay, you are obviously the "copy & paste modder." You need a metadata sensitive WorldGenMinable, which is there. Look in that class and use the correct constructor.

I am fairly new to Java and modding, so my answers are not always 100% correct. Sorry for that!

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.