How do I make a block with random drop?

Started by ataby_himawari on

Topic category: Help with MCreator software

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a block with random drop?

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.

Joined Aug 2018
Points:

User statistics:

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

Joined Jul 2020
Points:

User statistics:

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