How do I make a block with random drop?

Started by ataby_himawari on Sat, 08/01/2020 - 18:04

Topic category: Help with MCreator software

Last seen on 22:26, 3. Aug 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a block with random drop?
Sat, 08/01/2020 - 18:04

I created a "Random Ore", which when break, drop Iron, Diamond, Gold, Emerald, Coal, and other ores randomly. I tried using loot table, but I don't know how to apply the loot table for the Random Ore.

Last seen on 09:16, 10. Aug 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Easiest way to do this is to…
Sat, 08/01/2020 - 18:35

Easiest way to do this is to use a global procedure: [When block broken].

Check if the block is yours, and then use the template for random numbers to drop an item.

Last seen on 22:26, 3. Aug 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry, I'm new to procedures…
Sat, 08/01/2020 - 20:26

Sorry, I'm new to procedures and MCreator "coding", could you please send a print of what I am actually supposed to do? Like, I want it to drop from 7 types of ores, so I set the "10" in generate number template to "6", and then what??