How do I make random drops?

Started by Help_Me_Please on

Topic category: Help with modding (Java Edition)

Last seen on 21:12, 23. Nov 2018
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make random drops?

I am only able to use Random [0,1) and I can't change any numbers in it.

You can multiply it to get a…
Mon, 11/19/2018 - 12:03

You can multiply it to get a bigger range. Check for the example in the template library.

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Rand generates a decimal in…
Fri, 03/13/2020 - 00:13

Rand generates a decimal in between 0 and 1 so to use it you might do  when [ 0.5 > rand0,1 ] and that will be a 50% chance