How do I make a block with random drop?

Started by ataby_himawari on

Topic category: Help with MCreator software

Active 4 years ago
Joined Jul 2020
Points:
613

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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.

Active 9 months ago
Joined Aug 2018
Points:
774

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 124
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.

Active 4 years ago
Joined Jul 2020
Points:
613

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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??