Jump to content

Huge Tree Generation


dwinget2008

Recommended Posts

I am having trouble finding the method, or variables, in BlockSapling to be able to use four saplings + bonemeal to generate my custom tree. I can get the Big and normal trees and huge trees to work with one sapling, but I want to use four like you would with a jungle tree.

 

Any help is appreciated, thanks.

Link to comment
Share on other sites

How do you logically thing it would work?

 

and what code have you tried to use?

 

Edit:

Okay here's some hints:

You can use the method of World called getBlockId(int, int, int) which gets the block ID of the block at coords (x,y,z) you pass into it. Use that to check for which blocks are where in relation to the current block :)

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

  • 3 weeks later...

How do you logically thing it would work?

 

and what code have you tried to use?

 

Edit:

Okay here's some hints:

You can use the method of World called getBlockId(int, int, int) which gets the block ID of the block at coords (x,y,z) you pass into it. Use that to check for which blocks are where in relation to the current block :)

 

I see where you are coming from, and I might need a little more to go on about the coords and all, I haven't really dabbled to much into that to be familiar with how that works.

 

Though in the sapling class there is a line that checks for "isSameSapling" I am just not understanding why it is not working for my custom sapling.

Link to comment
Share on other sites

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.