How to create a growing plant

Started by Darkster2512 on Sun, 05/06/2018 - 13:14
Last seen on 20:39, 15. Jun 2018
Joined Mar 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to create a growing plant
Sun, 05/06/2018 - 13:19 (edited)

Hello everyone, I will now show you how to use the new procedure system to create a growing plant!

 

First, you have to create a new Variable in your procedure:

New Variable

 

After you did that, you can go over to the math section (1) and grab the [Pi] (2):

Grab it

 

Now, drop the [Pi] in your procedure (1) and change it to Random [0,1) (2):

Drop it

 

As you can see I created the rest of the procedure already: 

The first Block (1) will get you a value from 0 to 100. (Note: the Random [0,1) will give you a value from 0 to 1).

At (2) you can change your possibility. (Note: The possibility for the plant to grow is now 5% per Tick in my case, lower numbers = longer grow time (it's still random)).

And of course you can change the Place Block thing (3) to the next stage of your plant.

The final procedure

 

That's it! 

This is a easy, but still random way to create growing plants!

 

I hope I could help ya ;D

 

Oh and before I forget it, you have to activate the procedure via the "Update Tick" option in your plant mod.

Edited by Darkster2512 on Sun, 05/06/2018 - 13:19
Last seen on 19:38, 21. Jun 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Very nice tutorial! I hope…
Sun, 05/06/2018 - 13:56

Very nice tutorial! I hope it will help users to better understand procedures. If you are ready to do more such posts, you can become a wiki contributor and post them on the wiki :)

Last seen on 20:39, 15. Jun 2018
Joined Mar 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ok I will try it out :D
Sun, 05/06/2018 - 15:31

Ok I will try it out :D

Last seen on 08:55, 15. Jun 2018
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
NICE ! thanks you so much :3
Wed, 05/09/2018 - 15:39

NICE ! thanks you so much :3

Last seen on 16:19, 25. May 2018
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
What program is that? I don…
Fri, 05/18/2018 - 00:50

What program is that? I don't see that page.

Last seen on 17:21, 21. Jun 2018
Joined Feb 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
This is the newest version…
Fri, 05/18/2018 - 15:17

This is the newest version of MCreator (1.7.9).

Last seen on 16:19, 25. May 2018
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh I see!  After that…
Fri, 05/18/2018 - 16:23

Oh I see!  After that comment I checked and downloaded the new version

Very nice

Last seen on 02:17, 19. May 2018
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
It seems more complicated…
Sat, 05/19/2018 - 02:02

It seems more complicated than it needs to be - couldn't you just have done, IF Random[0,1) < 0.05?

Last seen on 16:19, 25. May 2018
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I think it's brilliant …
Sat, 05/19/2018 - 15:59

I think it's brilliant (think of it as training wheels) It sets you up to think Object oreinted-ly  The only thing is you can call only one procedure which is going to be hard to get used to. Maybe later they will allow you to have more than one. Not sure

Last seen on 23:56, 8. Jun 2018
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I know a way to make the…
Sun, 05/20/2018 - 00:49

I know a way to make the randomizer a lot shorter, and how do you post or take images