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

Started by RealDa on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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?

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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

Active 1 month ago
Joined Apr 2020
Points:
788

User statistics:

  • Modifications: 4
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
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.

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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

 

Active 1 month ago
Joined Apr 2020
Points:
788

User statistics:

  • Modifications: 4
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
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?

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

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

so half wont work because its random 0,1

and not 0,2

Active 1 month ago
Joined May 2014
Points:
1036

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 329
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.

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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.

Active 2 years ago
Joined Mar 2021
Points:
627

User statistics:

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

OOOH ok! Thanks!