Posted October 14, 201212 yr 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
October 14, 201212 yr 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! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
October 14, 201212 yr Author 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
October 14, 201212 yr Author 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.