Is Random Drops a possible thing to make when you break a block?

Started by BlaBlaSillySheep on

Topic category: User side tutorials

Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is Random Drops a possible thing to make when you break a block?

I'm making a lucky block mod and i don't know how to make a random drop appear when the block is broken( so for instance i break the lucky block and a diamond comes out, the next time i break it TNT appears) 

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Short answer: Yes Long…
Thu, 10/03/2019 - 17:07

Short answer: Yes

Long answer: You use the 'random 0,1' procedure block in an if statement to make an effect that has a random chance of triggering. Simply put more of these connected to the if statement via else if, and you have more effects.

I know you already got the…
Fri, 10/04/2019 - 17:29

I know you already got the answer, but still, I 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