How would I make a vanilla block drop custom items?

Started by tazzan on

Topic category: Help with MCreator software

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a vanilla block drop custom items?

I want to make it so whenever you mine an iron ore it drops a certain item. I don't know how to specify in procedures that it should only drop from iron ores. Any help?

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You would use the trigger…
Fri, 11/13/2020 - 07:42

You would use the trigger When Block Destroyed or something, not on computer to look, and like bananarang says, if block = iron ore, spawn your item

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would do that but there is…
Fri, 11/13/2020 - 13:36

I would do that but there is no "if block =" block.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's in the bottom of the…
Fri, 11/13/2020 - 17:35

It's in the bottom of the block category "block at x y z", you put that with an if statement,.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In 2022.1V you can do this: …
Fri, 07/01/2022 - 18:15

In 2022.1V you can do this:

The "is x the same block as x" is in Logic section, and spawn item/gem is in World Management.