Started by
Ender_explorer
on
Topic category: Help with MCreator software
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
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 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
I wanted EVERY NUMBER INCLUDED BETWEEN 1 to 1000. How should I do it?
(Random number between 0 and 1) * 1000
Also
Knowledge does not come from void, take your time and learn the tool
Also
Please take a deep read of https://mcreator.net/wiki/general-publishing-guidelines, regarding caps lock and similar
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 want multiples of 100. To do this, use:
round (
(Random number between 0 and 1) * 10
) * 100
Are there any ways to include numbers like 1,2,3,4,5...997,998,999,1000?
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?
Random(0,1) isn't in increments of .1, so if you multiply it by 1000 it is not in multiples of 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
Thanks for help Klemen