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

Started by ImmenseFlame on

Topic category: Help with MCreator software

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a 50 percent chance to get an item.

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.

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

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