Jump to content

HoofedEar

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    United States

HoofedEar's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Just posting this here in case anyone else is looking for more info. I was able to locate the files Minecraft uses for it's trees (I decided to borrow data from the Dark Oak Tree). Files to look for: DarkOakTree.java DarkOakTreeFeature.java DarkOakTreePlacement.java And the various .json files related to the dark oak tree, sapling, and leaves. From the looks of it, I'm able to copy the .json data over and have it work with the block I have created. However, it seems I won't be able to just copy and paste the code from the .java files and will need to try to find more. I must say, the documentation for Forge leaves much to be desired. You would think a project with such a huge user base would be documented better. But I digress. If anyone else has any tips or info on making custom trees, feel free to reply here! Thanks!
  2. Hi all, I was wondering if there any resources that would be useful for me to make a custom tree and how to generate it? I tried doing some searching on the forums here and there wasn't much I could find.. Basically, I'd like to create a tree that drops an item when the bark is stripped from its wood, and some leaves that have a chance of dropping an item when broken. I understand that I'll need to make a new type of wood (perhaps I can just copy the code from standard oak wood?), new leaves, and two new items for crafting purposes. I think the biggest challenge will be trying to make an item drop when the wood is stripped using an axe. This is my first time making a mod, but not my first time programming so I'm not asking for others to code this for me (how great would that be) but I just want to know where in the source I need to look to be able to mimic functionality and where to start. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.