Jump to content

Recommended Posts

Posted

I would like to know how to get my tree to generate after spawning in a world, I have the classes set up for sapling, wood, and leaves, but I can't get it to make a tree when bonemealing it or spawning in a world! Please Help!

The Korecraft Mod

Posted

Wouldn't generating it be pretty similar to adding an ore block? You just have to check that the block below it is grass and can see the sun, and then run, say GenCustomTree(blockX, blockY, blockZ)? You could always look at the vanilla WorldGenTrees code...

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Posted

what class would I add it in:

Base(Naming blocks and items)

Sapling Class

Log Class

Other

If you need me to post my code I can!

The Korecraft Mod

Posted
Never mind I fixed it and Thanks!
[spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler]Keep it coming[spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler]Woot 17 spoilers[spoiler][spoiler][spoiler]20...[spoiler][spoiler][spoiler][spoiler][spoiler]25...[spoiler][spoiler][spoiler][spoiler][spoiler]30...[spoiler][spoiler][spoiler][spoiler][spoiler]Almost there!
50...[spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler][spoiler]Wow...ur still doin this... you should get and award for:[spoiler][spoiler][spoiler][spoiler]Exactly... stop spoiling stuff![spoiler][spoiler][spoiler]Dude seriously get a life[/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler][/spoiler]

The Korecraft Mod

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.