Custom Tree "Branch" Rendering

Started by Nicholas32704 on Mon, 10/16/2017 - 22:58

Topic category: Advanced modding

Last seen on 18:41, 16. Apr 2020
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Tree "Branch" Rendering
Mon, 10/16/2017 - 22:58

Hey everyone,

The Harrowed Forests mod is working out pretty decently, and I recently just started making the growing trees. What that means is that I have a certain tree in the mod that can grow identically to that of a chorus plant, in the sense that it will slowly "grow" another block every now and then.

The problem is the rendering of the tree. Is there a way I can make it so the more a block generates the more thin the block gets? For example the main trunk of the tree stays the same, but the branches grow all around it, each branch block becoming thinner and thinner until it reaches a minimal thinness. And by thin I mean that it becomes skinnier while stiil looking like it's connected to the other blocks.

Help?

Last seen on 18:41, 16. Apr 2020
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It would also help if I could
Mon, 10/16/2017 - 23:03

It would also help if I could find a way to make it so the tree has a chance to stop growing after a while.

Last seen on 18:41, 16. Apr 2020
Joined Sep 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
*bump*
Mon, 10/16/2017 - 23:36

*bump*

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
All I can think of would be
Tue, 10/17/2017 - 11:52

All I can think of would be to make a seperate json model for each branch size. This would require you to make X number of seperate blocks though, where X= the number of different sizes you made.

For stopping growth, you cold just make it so that once your tree has grown the skinniest branch, it does not add any more blocks to its structure.