How to make different types of trees grow from a sapling?

Started by Ball-van on Mon, 05/10/2021 - 13:50

Topic category: Help with modding (Java Edition)

Last seen on 09:20, 12. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make different types of trees grow from a sapling?
Mon, 05/10/2021 - 13:51 (edited)

Hello everyone! I would like to know how you can make it so that different types of trees can grow from a sapling. For some reason, I have the same tree every time. Please explain how to explain or what is wrong with me.https://sun9-69.userapi.com/impg/8g6RDCE_sIW6VqguMSxXNKiX_KN_r4r4JZxJpQ/8d0Ng_k1skg.jpg?size=1543x798&quality=96&sign=0b2621782512b7a1a5dc01e3f3bc619f&type=album

Edited by Ball-van on Mon, 05/10/2021 - 13:51
Last seen on 04:31, 11. Jun 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think it is because the…
Mon, 05/10/2021 - 19:00

I think it is because the game is detecting that the chance is 0.7 or lower every time, you cant have numbers below 0.7 because

(0.7) is the same as ( 0.5) if the number that randomly generates is lower than 0.5

hopefully that made sense.

you could try doing something like

IF: Random (0, 1) is [(1) AND (≥0.8)]