How to make a 50 percent chance to get an item.

Started by ImmenseFlame on Mon, 11/09/2020 - 17:47

Topic category: Help with MCreator software

Last seen on 03:48, 10. Dec 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a 50 percent chance to get an item.
Mon, 11/09/2020 - 17:47

I don't know how I would do this, but I want to make it so 50 percent of the time, I get a item, but the other 50 percent I don't.

Last seen on 22:07, 17. Jan 2021
Joined Jan 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
BRUH. Read the Helps. But I…
Mon, 11/09/2020 - 17:49

BRUH. Read the Helps.

But I can give you help.

Select the [random 0,1] block.

Do an IF [ [random 0,1] >= 0.50 ] Statement.

The >= must be a Number-Logic (Blue)

inside the IF Statement you need to give you the drop. Meaning: Spawn Item at... in World Procedures.

Last seen on 11:04, 22. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I highly suggest you check…
Tue, 11/10/2020 - 09:24

I highly 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