How do I make random drops?

Started by Help_Me_Please on

Topic category: Help with Minecraft modding (Java Edition)

Active 6 years ago
Joined May 2018
Points:
725

User statistics:

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

Active 6 months ago
Joined Oct 2018
Points:
837

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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