How do I when destroying a block detect if it was an ore?

Started by Gromelio016 on

Topic category: Help with modding (Java Edition)

Last seen on 17:15, 22. Apr 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I when destroying a block detect if it was an ore?

Hi, could someone help me!

I wanted to check if the block I broke was an ore, but without using too many and

Last seen on 15:34, 1. Mar 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
New procedure with trigger …
Sat, 04/30/2022 - 06:01

New procedure with trigger "when a block is destroy"

If block at x y z = coal or block at x y z = iron ore ect...

It's the only one solution

Last seen on 17:59, 7. Jan 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create a tag, add all ores…
Sat, 04/30/2022 - 09:34

create a tag, add all ores to your tag, check if block broken is that tag

Last seen on 15:34, 1. Mar 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ahhh good idea ! Thanks you…
Sat, 04/30/2022 - 10:24

ahhh

good idea ! Thanks you Sayne !