How do we INCREASE the random(0,1)?

Started by RealDa on

Topic category: Help with modding (Java Edition)

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do we INCREASE the random(0,1)?

I want to turn this

Set Local:Random to Random 0,1

to

Set Local:Random to Random 0,10

 

 

tried to do lucky block

possible?

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and please show a picture of…
Mon, 03/29/2021 - 17:51

and please show a picture of a procedure, i cannot find some of them

Last seen on 01:18, 28. Mar 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so the way Random 0,1…
Mon, 03/29/2021 - 18:03

Okay so the way Random 0,1 works is it will chose a number between 0 and 1, that means all numbers not just even, I.E 0.0001 is a possible number it will choose, so if you trying to make a item spawn at a random chance, then this is exactly what you need.

for example if random 0,1 < or equal to 0.125 would make your item have a 12.5% chance to spawn.

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks for the reply but, i…
Mon, 03/29/2021 - 18:05

thanks for the reply but, i tried that and uhh u have to break the lucky block multiple times so the effect appear

 

Last seen on 01:18, 28. Mar 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay so you want a random…
Mon, 03/29/2021 - 18:24

Okay so you want a random effect/item/etc to happen each time the block is broken correct?

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes but i have more than 1 i…
Mon, 03/29/2021 - 18:52

yes

but i have more than 1

i am at 2 something like that

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so half wont work because…
Mon, 03/29/2021 - 18:53

so half wont work because its random 0,1

and not 0,2

Last seen on 00:30, 24. Aug 2023
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do "Random (0, 1]" and…
Mon, 03/29/2021 - 22:17

Do "Random (0, 1]" and multiply it by however many outcomes you have, i.e. x20 if you have 20 different effects.

You should also use the "Round <>" block to round it to a whole number. This will make assigning each number to an outcome a lot easier.

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the answer dudes…
Tue, 03/30/2021 - 11:59

Thanks for the answer dudes but for the round <>, I didn't quite understand.

Last seen on 15:50, 10. Oct 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OOOH ok! Thanks!
Tue, 03/30/2021 - 12:00

OOOH ok! Thanks!