MCreator random

Started by Ender_explorer on

Topic category: Help with MCreator software

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator random

I wanted to have a random number from 1 to 1000 by multiplying the "pick random from 0 to 1"by 10 and multiply it to the power of 3, but it has many difficulties such as 1 has 1 possibility but 2 has 3 possibilities, 4 has 6 possibilities and more. Can you add a feature in 2020.4 to customize random numbers? @Klemen

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
0.1 x 10 = 1. Just times the…
Thu, 07/23/2020 - 13:50

0.1 x 10 = 1. Just times the number by ten and then to the number you want it to go up to.

I suggest you check our…
Thu, 07/23/2020 - 14:47

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanted EVERY NUMBER…
Fri, 07/24/2020 - 04:12

I wanted EVERY NUMBER INCLUDED BETWEEN 1 to 1000. How should I do it?

(Random number between 0 and…
Fri, 07/24/2020 - 08:02

(Random number between 0 and 1) * 1000

Also

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Knowledge does not come from void, take your time and learn the tool

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but the results only can be…
Fri, 07/24/2020 - 11:23

but the results only can be either 100, 200, 300, 400, 500, 600, 700, 800, 900 and 1000. Are there any ways to include numbers like 1,2,3,4,5...997,998,999,1000?

You did not specify you only…
Sun, 07/26/2020 - 07:59

You did not specify you only want multiples of 100. To do this, use:

round ( 

(Random number between 0 and 1) * 10

) * 100

Are there any ways to…
Fri, 07/24/2020 - 11:36

Are there any ways to include numbers like 1,2,3,4,5...997,998,999,1000?

(Random number between 0 and 1) * 1000

Also

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Knowledge does not come from void, take your time and learn the tool

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe I did not make it…
Sat, 07/25/2020 - 04:14

Maybe I did not make it clear but the option you gave is multiples of 100 but I want all the numbers in range of 1 to 1000. Can you add maybe a customized range of random?

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Random(0,1) isn't in…
Sat, 07/25/2020 - 05:02

Random(0,1) isn't in increments of .1, so if you multiply it by 1000 it is not in multiples of 100.

round (  (Random number…
Sun, 07/26/2020 - 08:00

round ( 

(Random number between 0 and 1) * 10

) * 100

Will do this. Numbers between 0 - 9 multiplied by 100 give you 0, 100, 200, ... , 900

if you want 100 to 1000, just add 100 to this

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for help Klemen
Fri, 04/15/2022 - 17:06

Thanks for help Klemen