Custom Tree "Branch" Rendering

Started by Nicholas32704 on

Topic category: Advanced modding

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Tree "Branch" Rendering

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?

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.