Can't find Random possibility in procedures

Started by Kent15 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't find Random possibility in procedures

Well from the previous version of MCreator, I used the Random possibility feature for growing plants. So at a random possibility of 5%, it will update the plant to the next stage.

This is the ONLY way I could get a plant to grow using MCreator. Now my mod is broken until this gets put in, or a work around is found in the Procedures. 

Please help.

 

Thanks ;)

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think there is a feature…
Sun, 05/06/2018 - 05:30

I think there is a feature for randomizing a variable. With a randomized variable you can use an "if" condition that checks if the variable is = to a number

Example: randomize variable Growing 1~100

If variable Growing = 100 - > Add Block

But I think there is this feature, I'm not sure

Anyways, in vanilla minecraft things grow by game ticks, not random conditions

Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The Random Block is stuck at…
Fri, 12/28/2018 - 04:48

The Random Block is stuck at 0,1

You can multiply it with 5…
Fri, 12/28/2018 - 09:46

You can multiply it with 5 for example to get the 0,5 range. Check the Template library as there is one example on random numbers too.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you want a 5% chance that…
Thu, 04/23/2020 - 09:44

if you want a 5% chance that something happens then do this:

if random[0,1] < 0,05 

do something

 

- smyril