Jump to content

[1.6.4] [SOLVED] Custom Tree Branches & Custom Leaf Patterns on Tree


jkorn2324swagg

Recommended Posts

Hi, I have been making a mod for quite some time & I am trying to create multiple custom trees. I want to make my trees unique by adding custom branches and leaf patterns, however I do not know how to do that. Can someone please help. Thanks

 

 

 

Code ModSaplings:

 

http://pastebin.com/LrdgJipS

 

 

 

Code ModWorldGenBananaTree:

 

http://pastebin.com/ExRKGXni

 

 

 

Bye the way, do I need a ModWorldGenTrees Class that contains all of my trees or not?

 

And just to answer this question before you guys ask it.

No I cannot upgrade to newer versions. This is all I have got.

Link to comment
Share on other sites

What I mean is you know how the spruce trees have different leaf designs than the oak trees. Like the oak trees just have a top and the spruce trees have two layers of leaves, one in the middle and one near the top. I want my tree to have a custom design of leaf patterns for my tree. Also you know how there is custom branches in the big oak tree, I want some of those branches in some of my trees.

 

 

 

Link to comment
Share on other sites

No I don't need help with updating to another version it's just I learned how to make a basic mod from youth digital & I downloaded my modding program from them (which is a modified version of minecraft forge) so I cannot update my version until they update their version of minecraft forge. So I am stuck with 1.6.4.

Link to comment
Share on other sites

OK so for the tree itself just look into the BlockLeave class and there should be something about the foliage

 

and if you go into "net.minecraft.world.gen.feature" there should be a class called WorldGenBigTree.class so that should contain how the big oak tree grows and the branches on it.  Hope this helped :D 

Link to comment
Share on other sites

I think it has to do with the world gen tree class. I looked at the world gen taiga class and the world gen tree class at the same time and I found several differences but I do not understand some of the code. Because of that I do not know where to put the code so I can customize my trees so that they look unique.

Link to comment
Share on other sites

True Story...

 

The first language i fully understood was... Casio Basic, the uglyest and slowest thing in the world, but quite simple and easy to learn the basics...

 

looking at java... highly complicated mess of weirdness...

 

looking at minecaft/forge... badly coded, hacked together, badly documented ball of mud...

 

not the perfect thing to begin with. Heck, even a standalone java game is probably less confusing!

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.